Laps mode server instability

Moderator: English Moderator

Spammiej
Posts: 37
Joined: 09 Aug 2011, 20:07

Laps mode server instability

Post by Spammiej »

19 months ago I found the issue where playing laps mode with a massive amount of players results in very bad server behaviour. Today I decided to give it another go and see if the latest updates to the dedicated have done something for this mode. Long story short, I think it has become even worse than it already was... In previous forum post which dates back to June 2018 I've mentioned the notorious lap 12 problem. Today I had the same server problem occuring in lap 12...

Down here is a list of findings that happened to a lot of players after lap 12;

Some of the clips have me or others acting pretty strange. I was in a emotional rollercoaster of things braking down and I needed to find my laughter somehow sorry.

1. Cars shrinking, cars jumping & high pitched engine sound (This particular engine was custom made so it was higher compared to other cars) https://clips.twitch.tv/SilkySuperBaconDoritosChip
2. VRAM went skyrocketing (client side)
3. Cars were visible even when having them turned off. Scoreboard was showing them as Team Display (Red and Blue colors) https://gyazo.com/a5d84d3c65a2ed2f1f396d8acbdd35fd
4. People got reset to the start lap 1 https://clips.twitch.tv/PolishedDaintyBatMau5
5. People were forced into spectate
6. People got a desktop crash (See attachments)
7. People received a Maniascript error https://gyazo.com/93152a35d35cee347ecf63601ac6ecb0 this resulted into huge FPS drops to about 20~ I myself got this error also https://clips.twitch.tv/FrozenFurtiveHyenaOpieOP
8. Timer froze and checkpoints would not count
9. Lost complete control over the car, not able to steer etc
10. Speed and distance were set to 0 no matter how fast you drive

I am kinda at a loss for words but what would be needed for you guys to figure out the rootcause of these issues? It's just that it's been going on for 19 months and I am getting sad...

Complete VOD from start to finish: https://www.twitch.tv/videos/429703478
Old topic where this problem was discussed: viewtopic.php?t=42355

Thanks for reading...
Attachments
Quantum LogCrash_000000007B44C03C.txt
(51.96 KiB) Downloaded 91 times
Hazard LogCrash_00000001401419B2.txt
(55.51 KiB) Downloaded 97 times
Dunste LogCrash_000000014084A720.txt
(53.39 KiB) Downloaded 83 times
Drimken LogCrash_000000014084A720.txt
(51.05 KiB) Downloaded 91 times
Blacdarg LogCrash_000000014084A720.txt
(55.35 KiB) Downloaded 91 times
Last edited by Spammiej on 25 May 2019, 18:47, edited 2 times in total.
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Laps mode server instability

Post by Nerpson »

What is this laps game mode? Is this the official one that you can find here? Or are you sure you had the scripts up-to-date? The MS error screen shows us a weird code not even respecting the code conventions established by Nadeo.
ImageImageImageImage
Spammiej
Posts: 37
Joined: 09 Aug 2011, 20:07

Re: Laps mode server instability

Post by Spammiej »

Nerpson wrote: 25 May 2019, 17:20 What is this laps game mode? Is this the official one that you can find here? Or are you sure you had the scripts up-to-date? The MS error screen shows us a weird code not even respecting the code conventions established by Nadeo.
Yes it is indeed the official laps mode
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Laps mode server instability

Post by Nerpson »

Were you using server plugins? Apparently yes according to the video. The error screen must have been triggered by them. One of them is doing heavy work on every waypoint and seem not to be optimized for 12 laps with this amount of players. The CTDs are not normal in all cases and must have been triggered by something more serious.
Last edited by Nerpson on 25 May 2019, 18:36, edited 1 time in total.
ImageImageImageImage
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Laps mode server instability

Post by toffe »

@Nerpson
The server had a lighter version of PyPlanet running. Lighter means that for example the most performance impacting apps were not activated. The few widgets that were active are not that heavy and are well optimized.
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Laps mode server instability

Post by Nerpson »

Ok, do you recognize one of your plugins in the error screen then?
ImageImageImageImage
Spammiej
Posts: 37
Joined: 09 Aug 2011, 20:07

Re: Laps mode server instability

Post by Spammiej »

I appreciate your help, however in the past 19 months we've done multiple test editions where we have disabled all plugins which result in the same server issues. Focussing on this main error does not remove the fact that cars get small and all of the other above, this problem is way deeper then just this small error message you are focussing on.

To add something to this, the current plugins used during this race also are being used for the riolu's XD race which runs flawless
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Laps mode server instability

Post by undef.de »

Maybe it is a good idea to test if the controller cause this problems or the gamemode only.
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
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Laps mode server instability

Post by Miss »

So what this looks like to me (what you're describing, all these issues) is some player class objects (likely CGamePlayerInfo being overwritten randomly. This can have many different causes, and is 100% an engine bug, not a gamemode bug. (Although it could definitely be triggered by something specific to the laps mode script..)

Is this reproducable reliably for you? If so, Nadeo could connect to your server and find out what's writing to those objects and fix the problem from there.

Edit: It's a wild guess of course.. there's a lot of different things that could be happening but it's definitely something going wrong with player info objects.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: Laps mode server instability

Post by w1lla »

i wonder why the existkeys don't use a ! especially for those player objects so i think Miss is true on that part and it might solve probably 25% of the issues.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Post Reply

Return to “MP4.1 REPORTS / BUGS / INFORMATION”

Who is online

Users browsing this forum: No registered users and 1 guest