MantisBT - Zandronum
View Issue Details
0003434Zandronum[All Projects] Bugpublic2018-06-04 10:192018-06-18 22:43
0003434: Online clients reset their Random() seed on map start
Whenever a client goes through a map change, it seems to have its seed for random functions reset to whatever it was when starting the current instance of Zandronum. It doesn't matter whether it's a map exit, or the "map" command, or reconnecting; it always resets. Restarting Zandronum creates a new seed, but then it just resets to that every time it does a map change.
1) Start up a server with randtest.wad and connect to it.
2) Read the list of numbers labeled "CLIENT".
3) Join the game, and exit.
4) Read the list of numbers again, and notice it didn't change.
5) Change the map to whatever you want, any way you want - the client numbers never change.
No tags attached.
? randtest.wad (5,703) 2018-06-04 10:19
Issue History
2018-06-04 10:19throwawayNew Issue
2018-06-04 10:19throwawayFile Added: randtest.wad
2018-06-17 19:06Torr SamahoNote Added: 0019271
2018-06-17 19:07Torr SamahoStatusnew => feedback
2018-06-18 22:43throwawayNote Added: 0019276
2018-06-18 22:43throwawayStatusfeedback => new

Torr Samaho   
2018-06-17 19:06   
Was this any different in Zandronum 2.x?
2018-06-18 22:43   
The bug exists in Zandronum 2.x as well.