Page 1 of 1

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

Posted: 11 Feb 2019, 04:52
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.

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

Posted: 11 Feb 2019, 09:34
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>

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

Posted: 11 Feb 2019, 15:46
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>).

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

Posted: 13 Feb 2019, 12:12
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.

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

Posted: 13 Feb 2019, 13:44
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.

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

Posted: 13 Feb 2019, 14:41
by danodude
Awesome, works great. Thanks again. :thumbsup: