MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004411 | Zandronum | [All Projects] Bug | public | 2024-09-06 16:11 | 2025-05-04 01:34 |
Reporter | unknownna | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | feedback | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0004411: PRNG discrepancy between offline and online play, too deterministic online | ||||
Description | There seems to be some strange bug or something with the old random generator online. It seems almost too deterministic, and the same odds can't be selected twice compared to offline. Here's what I noticed when adding bots: The same bots always enter the game alternately online. This doesn't happen offline with the same settings. The first bot you add under certain set conditions is always Linguica or Orion. If you remove him and begin to add and remove bots after him, the bots are always Rigel and Doomcrate alternately. If you disconnect and turn into a spectator and begin to add and remove bots, it will eventually always cycle between Manek, Doomcrate and Cataclysm for the most part, but a single bot can be added many times in a row compared to online. Does this mean that the RNG is forced to use the same numbers alternately over and over again instead of randomizing properly online? It can't select the same number twice, if judging by adding and removing bots. I know the old RNG is desired in its ability to consistently select higher numbers on average, and I personally always use it when playing oldschool wads, but there seems to be a potential issue with it online. | ||||
Steps To Reproduce | 1. zandronum -host -iwad doom2.wad +sv_updatemaster 0 +sv_nomonsters 1 +sv_norespawninvul 1 +compat_oldrandom 1 2. Connect a client to the server and grant it RCON access. 3. Use "rcon addbot". It will add Linguica or Orion. 4. Use "rcon removebot". 5. Use "rcon addbot;rcon removebot;rcon addbot;rcon removebot". It will always add and remove Rigel and Doomcrate every time this command is entered. 6. Use "map map01" to disconnect. Make sure cl_keepserversettings is 1. 7. Use "spectate" to become a spectator to create similar conditions to online play. 8. Use "addbot" to add a bot. 9. Use "removebot" to remove a bot. 10. Repeat step 8 and 9 over a few times and it will eventually cycle between Manek, Cataclysm and Doomcrate, sometimes selecting one bot many times in a row. | ||||
Additional Information | The reason why I'm reporting this is in case the RNG actually is broken and it also affects weapon damage, where clients are forced to use the same numbers over and over again without being able to use the same random number twice. This could lead to situations where clients consistently do lower damage on average if they're unlucky. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() /tracker/file_download.php?file_id=3263&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-09-06 16:11 | unknownna | New Issue | |||
2025-05-04 01:23 | unknownna | File Added: rng_test_01.wad | |||
2025-05-04 01:34 | unknownna | Note Added: 0024538 | |||
2025-05-04 01:34 | unknownna | Status | new => feedback |
Notes | |||||
|
|||||
|
|