RandomityGuy / MBHaxe

A Haxe port of Marble Blast Gold, Platinum and Ultra with 99% identical physics and cross platform multiplayer, runs on Windows, Mac, Web and Android!
MIT License
71 stars 8 forks source link

Occasional game freeze upon restarting on gem hunt #43

Open dflat2 opened 3 months ago

dflat2 commented 3 months ago

How to reproduce:

It seems to happen only in gem hunt.

RandomityGuy commented 3 months ago

Related to master server connectivity.

dflat2 commented 3 months ago

I forgot to say that it happens in single player gem hunt, so I don't think it's related to server connectivity. Were you able to reproduce it?

RandomityGuy commented 3 months ago

Ok replicated the bug. Turns out one of multiplayer bugs relating to player spawns got carried over. Game keeps track of spawn points that are occupied so players don't spawn on each other. But that variable doesn't get reset on restart causing this bug. Basically game ran out of all the possible spawn points to spawn the marble at since it doesn't reset.