Page 1 of 1

Bug on my title packs

Posted: 03 Sep 2019, 16:39
by wraith
Hello everyone
Its rare i get a bug these days on TM, but i am trying to reboot some older title packs i have made, as i am planning to bring back Valley Motorsport player channel, anyway when i load the title packs World of motorsport and Rallycross which i both made, goto make new map "editor" i get this image below" i can skip it if i press the ESC key, but i do not want to use my title packs to build in if there is a problem.

extra info
I got a friend "scavfan" to test it in his download on world of motorsport to edit a map/make new one and he said it works fine.
but as you can see there is something wrong and i have no idea how to fix it, maybe nadeo can help me or someone in the community a way to repair what is wrong ?

Image

Re: Bug on my title packs

Posted: 03 Sep 2019, 17:30
by BigBang1112
Without seeing actual code, I can't be 100% sure, but according to the log, UI.Script.txt file in Scripts/Libs/Trackmania/Ingame/UI directory has a problem that the script reads player data before the player is even loaded.
The easiest way to usually fix this is by adding

Code: Select all

wait(Players.count>0);
just before the Players[0] is used (above the line 1867, in the function IsTrackbuilder()). Though it's not 100% perfect solution in all cases as if this was used in an event, it may create more bugs related to delays and such so I don't guarantee this will work.

However you need to have the title pack unpackaged to do this. If you just have a pack, you have to extract the entire title pack content and construct it again just to fix this.

Maniaplanet 4 probably changed the way things load and that's why this issue occurs.

Re: Bug on my title packs

Posted: 03 Sep 2019, 21:32
by wraith
i have the working title packs still in my folders if thats what you mean, send me pm on discord and i can share more images