🛈 Announcement
Greetings! Trackmania forums are now archived and accessible in read-only mode, please go to the new platform to discuss the game.
  1. #1
    W1llaSmurf's Avatar Trackmania Turbo Moderator
    Join Date
    Jun 2015
    Posts
    90

    [Local Play] Create a Server Double maps Error

    Hi,

    When creating a local server and accidentally adding 1 map twice through a maplist/MatchSettings and just starting the server gives a maniascript compile error with the following:

    Matchsettings:

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <playlist>
    	<gameinfos>
    		<script_name>Modes\TrackMania\TM_Champion_Online.Script.txt</script_name>
    		<comment></comment>
    	</gameinfos>
    
    	<filter>
    		<random_map_order>0</random_map_order>
    	</filter>
    
    	<startindex>0</startindex>
    	<map>
    		<file>My Maps\TurnNJump.Map.Gbx</file>
    	</map>
    	<map>
    		<file>My Maps\TurnNJump.Map.Gbx</file>
    	</map>
    </playlist>
    Maniascript compile error:
    Code:
    [BuildInfo]
    Environment: production
    APIBaseUrl: https://live-services.trackmania.nadeo.live
    Commit: a95cbcdd4e6c47cc2de6023f38ad25ee284811b1
    Date: 2020/07/07 16:51
    TitleVersion: 202007071651
    ExeVersion: 2020-07-07_20_18
    
    [LOG]35303> [Log] Logs are disabled in the "production" environment.
    ERROR [1, 1] Script runtime error in layer Page_LocalServer
    ERROR [10844, 3] The procedure CreateServer failed to complete : 
    	Map already added.
    	Page_LocalServer::CreateLocalServer() [10844, 3]
    	Page_LocalServer::Select() [10981, 42]
    	Page_LocalServer::Main() [11167, 38]
    Best would be to see a DialogMessage.

    After doing CTRL+G the Game restarts and a message is shown recovery restart...

    The game will restart without beginning a new process.

  2. #2
    W1llaSmurf's Avatar Trackmania Turbo Moderator
    Join Date
    Jun 2015
    Posts
    90
    Fixed.

  3. #3
    Ubi-Milky's Avatar Ubisoft Support Staff
    Join Date
    Jun 2020
    Posts
    2,467
    Hello w1lla, thanks for posting can I just check, you mention this issue is fixed for you, have you tried adding the same map to the playlist twice a second time to see if the maniascript error pops up on your screen again?

  4. #4
    W1llaSmurf's Avatar Trackmania Turbo Moderator
    Join Date
    Jun 2015
    Posts
    90
    Nope doens't seem to be fixed. Thought it was.

    Code:

    Code:
    [LOG]89353> [Log] Logs are disabled in the "production" environment.
    ERROR [1, 1] Script runtime error in layer Page_LocalServer
    ERROR [12915, 132] The procedure CreateServer failed to complete : 
    	Incompatible map type: TrackMania\TM_Royal is not among [TrackMania\TM_Race, TrackMania\TM_Race, ...]
    	Page_LocalServer::ComponentTMNextMenuTitleControl_CreateServer() [12915, 132]
    	Page_LocalServer::CreateLocalServer() [14200, 3]
    	Page_LocalServer::Select() [14406, 37]
    	Page_LocalServer::Main() [14731, 38]

  5. #5
    Ubi-Thrupney's Avatar Ubisoft Support Staff
    Join Date
    Mar 2021
    Posts
    595
    Thanks for the update, w1lla - I've ran this up the flagpole now, so we can have a closer look