How to permanently save maps added from MX on a restart?

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

Post Reply
User avatar
danodude
Posts: 176
Joined: 01 Dec 2011, 12:25
Location: Western Australia

How to permanently save maps added from MX on a restart?

Post by danodude »

Hi all, just set up a server with UASECO. It's running great but I do have a issue.

Maps added by /admin add <mx ID> will disappear if I need to restart the server, they will not stay in the map list. I have noticed that they are downloaded (they exist in the UserData/Maps/MX/ directory of the server), but the track list will go back to the default number of tracks that were manually specified in the GameData/Maps/MatchSettings/maplist.txt file.

I'm sure I've missed a simple setting somewhere that will fix this, any help is much appreciated. :thumbsup:

Edit:

To clarify: this is upon a full restart of both UASECO and the Maniaplanet server.
RelaxedRacer
Posts: 61
Joined: 08 Feb 2011, 02:30

Re: How to permanently save maps added from MX on a restart?

Post by RelaxedRacer »

Hi, I think its these settings in UASECO/config/uaseco.xml

Code: Select all

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

	<!-- If you use an external tool (e.g. "AdminServ") to add maps to the dedicated server, then have to set this to 'true', otherwise set this to 'false'. -->
	<automatic_refresh_maplist>false</automatic_refresh_maplist>
TMNF Server Link: tmtp://#join=racing_room_speed
TMMP Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
TMGL Server Link: uplay://launch/5595/0/#join=n0AEQqlwQkGDQIke4YeZNw@Trackmania
Discord YouTube Twitch
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: How to permanently save maps added from MX on a restart?

Post by undef.de »

RelaxedRacer wrote: 11 Feb 2019, 09:34 I think its these settings in UASECO/config/uaseco.xml
No, that's not. 8-)

You have to write "/admin writemaplist" after you added a map and you want to save it into the maplist.

Alternate method is to autosave the maplist everytime you added a map, just edit config/rasp.xml:

Code: Select all

	<!--
	Set to filename to enable autosaving matchsettings upon every map switch,
	e.g. 'autosave_matchsettings.txt'.
	Gets stored at "UserData/Maps/MatchSettings/" directory.
	//-->
	<autosave_matchsettings></autosave_matchsettings>
Just add your current filename (look at "config/UASECO.xml" at <default_maplist>).
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
danodude
Posts: 176
Joined: 01 Dec 2011, 12:25
Location: Western Australia

Re: How to permanently save maps added from MX on a restart?

Post by danodude »

Thanks to both of you, works great. :thumbsup:

Bit off topic, but where is the server map time set? I've tried adjusting it in \GameServer\GameData\Scripts\Modes\TrackMania\TimeAttack.Script.txt, by changing the setting S_TimeLimit, but the server still plays maps for 5 minutes. Is there somewhere that UASECO overrides this setting?

Thanks.
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: How to permanently save maps added from MX on a restart?

Post by undef.de »

danodude wrote: 13 Feb 2019, 12:12 Is there somewhere that UASECO overrides this setting?
Yes, there is. Take a look into config/modescript_settings.xml, there you can setup all the fine stuff.
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
danodude
Posts: 176
Joined: 01 Dec 2011, 12:25
Location: Western Australia

Re: How to permanently save maps added from MX on a restart?

Post by danodude »

Awesome, works great. Thanks again. :thumbsup:
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest