In trouble with UASECO.xml [solved]

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

User avatar
Hexagon
Posts: 22
Joined: 18 Apr 2015, 20:54
Location: Italy

In trouble with UASECO.xml [solved]

Post by Hexagon »

Hey there, I'm trying to update my server from XA2 to UA, but I'm in trouble with UASECO.xml file.
Nowhere it is write how to complete it. :roflol:
I DELETED THE PART ARE (probably) USELESS, JUST TO HAVE A SHORT VERSION TO MAKE SEE IT TO YOU. :!:
By the way, that's my UASECO.xml file;

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<settings>
	<!--
	Setup for connection to the dedicated server, make sure this is
	the same as you have set in "UserData/Config/dedicated_cfg.txt"
	//-->
	<dedicated_server>
	</dedicated_server>

	<masteradmins>
		<!-- /ip:port in tmlogin only useful when joining server over LAN -->
		<!-- ipaddress can be specified to guard each login against       -->
		<!-- unauthorized use of admin commands from other IP addresses   -->
		<tmlogin>andreaseppi_virgilio.it2</tmlogin> <ipaddress></ipaddress>
	</masteradmins>

	<!--
	MySQL Server Settings for mysqli connection
	//-->
	<mysql>
		<!-- The ServerLogin is a good prefix to identify, but you should write it lower case and remove all underscore (max. 64 chars, incl. the default names like "maphistory") -->
		<table_prefix>lucariopriv</table_prefix>
	</mysql>

	<!--
	Set to contact (email, ICQ, etc) to show in /server command, leave empty to skip entry
	//-->
	<admin_contact>andreaseppi@outlook.it</admin_contact>

	<!--
	To protect all "/admin" commands you should setup a unlock password
	//-->
	<lock_password>agoodpassword</lock_password>

	<!--
	Set to 'false' to log passwords in the logfile
	//-->
	<mask_password>true</mask_password>

	<!--
	We supports the "stripling" script for controlling the dedicated Server and UASECO,
	here you can setup the path where the XML-File will be stored.
	//-->
	<stripling_path>cache\stripling.xml</stripling_path>

	<!--
	Full path in where the "ManiaPlanetServer" or "ManiaPlanetServer.exe" is located,
	required for the checking routine of the dedicated server scripts.
	E.g.: /home/user/bin/GameServer/
	//-->
	<dedicated_installation>C:\Users\AndreaPhoenixx\Desktop\eXpire\ManiaPlanet_Server\ManiaPlanetServer.exe</dedicated_installation>

	<!--
	Maplist used by the dedicated server, typical located in
	"UserData/Maps/MatchSettings/"
	//-->
	<default_maplist>tm2_autosave1.txt</default_maplist>
	<writemaplist_random>true</writemaplist_random>

	<!--
	Specifies how large the Map(List) history buffer is.
	//-->
	<max_history_entries>30</max_history_entries>

	<!--
	Setup a path into the image from each Map will be stored.
	//-->
	<mapimages_path>Cache\Mapimages</mapimages_path>

	<auto_admin_addip>true</auto_admin_addip>
	<adminops_file>config\adminops.xml</adminops_file>
	<bannedips_file>config\bannedips.xml</bannedips_file>

	<!--
	Will be stored into "UserData/Config/" folder of the dedicated server.
	-->
	<blacklist_file>tm2_blacklist1.txt</blacklist_file>
	<guestlist_file>tm2_guestlist1.txt</guestlist_file>

	<log_all_chat>true</log_all_chat>
	<chatpmlog_times>true</chatpmlog_times>

	<!--
	2 = in message window, 1 = in chat, 0 = none
	//-->
	<show_playtime>1</show_playtime>

	<!--
	2 = in message window, 1 = in chat, 0 = none
	//-->
	<show_curmap>0</show_curmap>

	<lists_colornicks>true</lists_colornicks>
	<lists_colormaps>true</lists_colormaps>
	<global_win_multiple>50</global_win_multiple>

	<admin_client_version></admin_client_version>
	<player_client_version></player_client_version>

	<afk_force_spec>true</afk_force_spec>
	<clickable_lists>true</clickable_lists>
	<show_rec_logins>true</show_rec_logins>

	<!--
	True = in message window, False = in chat
	//-->
	<rounds_in_window>false</rounds_in_window>

	<!--
	Timeout of the message window in seconds
	//-->
	<window_timeout>6</window_timeout>

	<!--
	Setup a timeout to make sure that UASECO or a Plugin does not hang,
	for more details see: http://www.php.net/manual/en/function.set-time-limit.php
	//-->
	<script_timeout>120</script_timeout>

	<!--
	Setup the PHP "memory_limit" for UASECO, e.g.:
		"-1"	= no limit
		"256M"	= max. 256 MB (minimum)
		"1G"	= max. 1024 MB
	If the value is "-1" in the php.ini or as exe parameter, then this setting will be ignored!

	For more details see: http://www.php.net/manual/en/ini.core.php#ini.memory-limit and
	http://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
	//-->
	<memory_limit>256M</memory_limit>

</settings>
And thats what uaseco.bat says when I start it:

Code: Select all

[2016-05-31 19:23:49] ###############################################################################
[2016-05-31 19:23:49] Initializing UASECO...
[2016-05-31 19:23:49] [Config] Load settings [config/UASECO.xml]
[UASECO Fatal Error] Could not read/parse config file [config/UASECO.xml]! on line 778 in file C:\Users\AndreaPhoenixx\Desktop\eXpire\UASECO\uaseco.php
Premere un tasto per continuare . . .
Any ideas? How can I resolve it?
Thanks in advance, Lucario / Hexagon. :teub:
TheBigG.
Posts: 401
Joined: 11 Jun 2011, 16:11

Re: In trouble with UASECO.xml

Post by TheBigG. »

you probably removed somewhere a <>/ at line 778 or entered something wrong and that is causing your problem. if you cant find it start with a clean config from scratch.
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: In trouble with UASECO.xml

Post by TMarc »

778 is the line in the php, not in the XML ;)
It would be interesting to see what this is in the PHP.

The problem is... in the part you have left for us to check, there is apparently no XML error.
Does it run with that? :?

See yourself, and use a web based XML validator, e.g. http://www.w3schools.com/xml/xml_validator.asp
TheBigG.
Posts: 401
Joined: 11 Jun 2011, 16:11

Re: In trouble with UASECO.xml

Post by TheBigG. »

oh you are right, did read to fast over it. than start the config from scratch
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
User avatar
Hexagon
Posts: 22
Joined: 18 Apr 2015, 20:54
Location: Italy

Re: In trouble with UASECO.xml

Post by Hexagon »

TMarc wrote:778 is the line in the php, not in the XML ;)
It would be interesting to see what this is in the PHP.

The problem is... in the part you have left for us to check, there is apparently no XML error.
Does it run with that? :?

See yourself, and use a web based XML validator, e.g. http://www.w3schools.com/xml/xml_validator.asp
I checked the XML file; all correct, no errors. :shock:
That is the uaseco.php file, cant type all there, over character limits, so I uploaded it on Dropbox:
http://dl.dropbox.com/s/8olqr4mzmz3cy20/uaseco.php :teub:
Last edited by Hexagon on 01 Jun 2016, 15:07, edited 1 time in total.
User avatar
askuri
Posts: 156
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: In trouble with UASECO.xml

Post by askuri »

Yep indeed, there are no syntax errors.

Anyway, between XAseco and UASECO is a lot of change, also in the main config file. Download a fresh uaseco.xml and change it line by line. Then you will find your mistake.
User avatar
Hexagon
Posts: 22
Joined: 18 Apr 2015, 20:54
Location: Italy

Re: In trouble with UASECO.xml

Post by Hexagon »

askuri wrote:Yep indeed, there are no syntax errors.

Anyway, between XAseco and UASECO is a lot of change, also in the main config file. Download a fresh uaseco.xml and change it line by line. Then you will find your mistake.
Well, I started with the uaseco.xml, I just typed the informations needed.
Hum... Let's check all things in the server. :?
User avatar
askuri
Posts: 156
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: In trouble with UASECO.xml

Post by askuri »

Maybe you saved in wrong character set. Try to save with UTF-8 without BOM.
hackie
Posts: 1168
Joined: 19 Jul 2012, 22:43

Re: In trouble with UASECO.xml

Post by hackie »

I think there is nothing wrong with Uaseco , runs fine here.

Did you copy the files into the right place ?
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: In trouble with UASECO.xml

Post by undef.de »

If the syntax of UASECO.xml is correct, then:
  • save it without UTF8-BOM (as askuri already said)
  • check if the file really is in the config folder (as hackie already said)
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest