Opened 3 years ago
Closed 3 years ago
#6261 closed defect (fixed)
Random map Ngorongoro does not generate deterministically
Reported by: | Feldfeld | Owned by: | wraitii |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 25 |
Component: | Core engine | Keywords: | |
Cc: | Patch: | Phab:D4203 |
Description
Step to reproduce: generate Ngorongoro in Atlas, seed 9404, change to 2 players and map size normal. Generate a few times. At some point the whole map (with base locations as well) will be different. I think it can also happen to have 2 generations with the same base locations but with different animal/resource placement on the map (meaning the randomness would "desync" at a later time)
I looked at Ngorongoro js source and didn't find anything odd. I tried to generate 2 different but similar maps (heightmaps or with playerPlacementRandom for bases), and didn't manage to reproduce on these.
Attachments (1)
Change History (7)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
I can also reproduce the problem on the Ngorongoro
map. In the screenshot below, I first tested it with 6 players on A24 without any problems. With the latest SVN I noticed that the location of the player bases in the replay is different from the active player.
The next step is to find the commit number that caused the problem.
by , 3 years ago
Attachment: | 6261_ticket_screenshot.jpg added |
---|
comment:3 by , 3 years ago
Patch: | → Phab:D4203 |
---|
comment:4 by , 3 years ago
Milestone: | Alpha 26 → Alpha 25 |
---|
comment:5 by , 3 years ago
Owner: | set to |
---|
I tried in a24 release and the bug didn't happen. Maybe remove that map temporarily and leave it as a mod if the bug only happens in this map. (maybe this undeterministic nature would easily trigger multiplayer OOS?)
One way to find the issue, if nothing better is found, could be to binary search through the diffs until the one that introduced the bug is found.