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

Re: In trouble with UASECO.xml

Post by Hexagon »

undef.de wrote: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)
Image
I dont really know what other problems I have.. :cry:
User avatar
askuri
Posts: 285
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: In trouble with UASECO.xml

Post by askuri »

Move everything out of the newinstall folder (one "level" up).
"newinstall" contains everything which is configurable.
I don't really understand, why Xymph began with creating that folder...
User avatar
Hexagon
Posts: 22
Joined: 18 Apr 2015, 20:54
Location: Italy

Re: In trouble with UASECO.xml

Post by Hexagon »

I think I did an error on the UASECO.xml file; I'm sure.
The syntax is correct, but some <></> I'm sure they are wrong.
Check it back, undef.de:

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>
		<login>lucariopriv</login>
		<password>PASSWORD</password> <!-- privacy so I'll dont type it -->
		<ip>127.0.0.1</ip>
		<port>5003</port>
		<timeout>180</timeout>
	</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>
		<host>localhost</host>
		<login>LOGIN</login> <!-- private -->
		<password>PASSWORD</password> <!-- private -->
		<database>tm2_uaseco_server1</database>

		<!-- 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>

	<colors>
		<error>$F00$I</error>
		<welcome>$F00</welcome>
		<server>$FF0</server>
		<highlite>$FFF</highlite>
		<timelite>$BBB</timelite>
		<record>$0F3</record>
		<emotic>$FA0</emotic>
		<music>$D80</music>
		<message>$39F</message>
		<rank>$FF3</rank>
		<vote>$F8F</vote>
		<karma>$FF0</karma>
		<donate>$F0F</donate>
		<admin>$FF0</admin>
		<black>$000</black>
		<grey>$888</grey>
		<login>$00F</login>
		<logina>$0C0</logina>
		<nick>$F00</nick>
		<interact>$FF0$I</interact>
		<dedimsg>$28B</dedimsg>
		<dedirec>$0B3</dedirec>
	</colors>

	<messages>
		<!-- init messages -->
		<startup>{#server}» {#highlite}UASECO/{1}{#server} running on {#highlite}{2}{#server}:{#highlite}{3}{#server}</startup>
		<welcome>{#server}» {#welcome}Welcome {#highlite}{1}{#welcome} to {#highlite}{2}$z$s{br}{#server}» {#welcome}This server uses {#highlite}UASECO/{3}{#welcome} to manage your records.</welcome>
		<warning>$s{#welcome}This is an administrative warning.{br}{br}$gWhatever you wrote is against our server's{br}policy. Not respecting other players, or{br}using offensive language might result in a{br}{#welcome}kick, or ban {#message}the next time.{br}{br}$gThe server administrators.</warning>

		<!-- record misc. messages -->
		<ranking_record2>{#rank}{1}{#message}.{#timelite}{2}{#message}, </ranking_record2>
		<ranking_record>{#rank}{1}{#message}.{#timelite}{2}{#message}[{#timelite}{3}{#message}], </ranking_record>

		<!-- record relation messages -->
		<first_record>{#server}» {#record}The first Local record is: </first_record>
		<last_record>{#server}» {#record}The last Local record is: </last_record>
		<diff_record>{#server}» {#record}Difference between {1}{#record} and {2}{#record} is: {#highlite}{3}</diff_record>
		<summary>{#server}» {#highlite}{1} $z$s{#record}has {#highlite}{2}{#record} Local record{3}, the top {4} being: </summary>
		<sum_entry>{#highlite}{1} {#record}rec{2} #{#rank}{3}{#record}, </sum_entry>

		<!-- ranking messages -->
		<ranking_record_new>{#rank}{1}{#message}.{#highlite}{2}{#message}[{#highlite}{3}{#message}], </ranking_record_new>

		<!-- win messages -->
		<wins>{#server}» {#record}You have already won {#highlite}{1}{#record} race{2}</wins>
		<wins_other>{#server}» {#record}Player {#highlite}{1}{#record} has won {#highlite}{2}{#record} race{3}</wins_other>
		<win_new>{#server}» {#record}Congratulations, you won your {#highlite}{1}{#record}. race!</win_new>
		<win_multi>{#server}» {#record}Congratulations, {#highlite}{1}{#record} won his/her {#highlite}{2}{#record}. race!</win_multi>

		<!-- muting messages -->
		<mute>{#server}» Player {#highlite}{1}$z$s{#server} is muted!</mute>
		<unmute>{#server}» Player {#highlite}{1}$z$s{#server} is unmuted!</unmute>
		<muted>{#server}» {#highlite}{1}{#error} disabled because you are on the global mute list!</muted>

		<!-- playtime/map messages -->
		<playtime>{#server}» Current map {#highlite}{1}{#server} has been played for {#highlite}{2}</playtime>
		<playtime_finish>{#server}» Current map {#highlite}{1}{#server} finished after {#highlite}{2}</playtime_finish>
		<playtime_replay> {#server}({#highlite}{1}{#server} replay{2}, total {#highlite}{3}{#server})</playtime_replay>
		<map>{#server}» Current map {#highlite}{1} {#server}by {#highlite}{2} {#server}Author: {#highlite}{3} {#server}Gold: {#highlite}{4} {#server}Silver: {#highlite}{5} {#server}Bronze: {#highlite}{6} {#server}Cost: {#highlite}{7}</map>
		<current_map>{#server}» Current map {#highlite}{1} {#server}by {#highlite}{2} {#server}Author: {#highlite}{3}</current_map>
		<next_map>{#server}» The next Map will be: {#timelite}[{1}] {#highlite}{2}</next_map>

		<!-- relay messages -->
		<no_relays>{#server}» {#error}No relay servers connected</no_relays>
		<relaymaster>{#server}» This server relays master server: {#highlite}{1}{#server} ({#highlite}{2}{#server})</relaymaster>
		<notonrelay>{#server}» {#error}Command unavailable on relay server</notonrelay>

		<!-- connection messages -->
		<banip_dialog>{#welcome}Your IP was banned from this server.$z</banip_dialog>
		<banip_error>{#welcome}Could not connect:{br}{br}Your IP was banned from this server!</banip_error>
		<client_dialog>{#welcome}Obsolete client version, please $l[http://www.tm-forum.com/viewtopic.php?p=139752#p139752]upgrade$l.$z</client_dialog>
		<client_error>{#welcome}Obsolete client version!{br}Please upgrade to the $l[http://www.tm-forum.com/viewtopic.php?p=139752#p139752]latest version$l.</client_error>
		<connect_dialog>{#welcome}Connection problem, please retry.$z</connect_dialog>
		<connect_error>{#welcome}$sThis is an administrative notice.$z{br}{br}UASECO encountered a very rare player connection{br}problem. Please re-join the server to correct it.{br}Apologies for the inconvenience.{br}{br}$sThe server administrators.</connect_error>

		<!-- miscellaneous messages -->
		<song>{#server}» Map {#highlite}{1} {#server}plays song: {#highlite}{2}</song>
		<mod>{#server}» Map {#highlite}{1} {#server}uses mod: {#highlite}{2} {#server}({#highlite}{3}{#server})</mod>
		<planets>{#server}» Server {#highlite}{1}$z$s {#server}owns {#highlite}{2} {#server}planets!</planets>
		<time>{#server}» {#interact}Current Server Time: {#highlite}$i {1}{#interact} on {#highlite}$i {2}</time>
		<round>{#server}» $n{#message}Round {#highlite}{1}{#message}: </round>
		<no_admin>{#server}» {#error}You have to be in admin list to do that!</no_admin>
	</messages>




	<!--
	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>

	<!--
	If you are not a developer of plugins, please let this settings
	unchanged, otherwise your logfile will grow faster.
	//-->
	<developer_options>
		<debug>false</debug>

		<!-- Show or hide the load status widget while UASECO startup -->
		<show_load_status>true</show_load_status>

		<log_events>
			<!-- Log events like '[Event] Begin Map' -->
			<common>false</common>

			<!--
			Log events like '[EventType] Releasing "onPlayerConnect"',
			without "onMainLoop", "onEverySecond", "onModeScriptCallbackArray"
			and "onModeScriptCallback", but only if a plugin is listening
			for this event.
			//-->
			<registered_types>false</registered_types>

			<!--
			Log ALL events like '[EventType] Releasing "onMainLoop"',
			also if there is no plugin is listening for.
			//-->
			<all_types>false</all_types>
		</log_events>
	</developer_options>
</settings>
Some infos are not typed for privacy.
BE CAREFUL In that path:

Code: Select all

<dedicated_installation>C:\Users\AndreaPhoenixx\Desktop\eXpire\ManiaPlanet_Server\ManiaPlanetServer.exe</dedicated_installation>
I inserted the real path is: C:\Users\AndreaPhoenixx\Desktop\eXpire\ManiaPlanet Server\ManiaPlanetServer.exe
User avatar
askuri
Posts: 285
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: In trouble with UASECO.xml

Post by askuri »

The config was ok.
Move the files to the correct location. Everything in newinstall one folder up.
User avatar
Hexagon
Posts: 22
Joined: 18 Apr 2015, 20:54
Location: Italy

Re: In trouble with UASECO.xml

Post by Hexagon »

askuri wrote:The config was ok.
Move the files to the correct location. Everything in newinstall one folder up.
Wait, wait, all the folder "newinstall" to "UASECO" or "config" to "newinstall"? :teub:
User avatar
Guerro323
Posts: 610
Joined: 14 Jun 2014, 15:51

Re: In trouble with UASECO.xml

Post by Guerro323 »

All files and folders from /newinstall to /UASECO
C'est Grandiose!
Image
User avatar
askuri
Posts: 285
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: In trouble with UASECO.xml

Post by askuri »

uaseco/newinstall/config to uaseco/config
uaseco/newinstall/locales to uaseco/locales
uaseco/newinstall/uaseco.bat to uaseco/uaseco.bat
...
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 »

askuri wrote:I don't really understand, why Xymph began with creating that folder...
He did that to prevent the customized files to be overwritten on an update. :thumbsup:
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.
User avatar
Hexagon
Posts: 22
Joined: 18 Apr 2015, 20:54
Location: Italy

Re: In trouble with UASECO.xml

Post by Hexagon »

Okay, thanks a lot!
Resolved! :1010 :3
User avatar
Xymph
Posts: 1426
Joined: 15 Jun 2010, 20:35
Contact:

Re: In trouble with UASECO.xml

Post by Xymph »

askuri wrote:I don't really understand, why Xymph began with creating that folder...
I didn't, the folder already existed in vanilla ASECO/RASP. And it's used that way for the reason undef mentioned.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest