Opened 7 years ago
Closed 7 years ago
#4596 closed defect (fixed)
OOS on rejoin on Extinct Volcano
Reported by: | elexis | Owned by: | Itms |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 22 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: | Phab:D675 |
Description
In this r19667 game, I rejoined fatherbushidos game on Extinct Volcano and got an OOS on rejoin.
Attachments (2)
Change History (8)
by , 7 years ago
comment:1 by , 7 years ago
by , 7 years ago
Attachment: | rejointest.7z added |
---|
Reproduced on turn 37 on an equivalent patched scenario map
comment:3 by , 7 years ago
Reproduce using Serialization-Rejoin-test:
- Put this scenario map equivalent into the maps directory
- Apply the attached patch that makes the water rise immediately
- Extract the replay and run
pyrogenesis -mod=public -replay="..." -rejointest=36
comment:4 by , 7 years ago
Patch: | Phab:D638 → Phab:D675 |
---|
Thanks for the data used for reproducing :)
Here is a patch. More insight about what happened here: the previous hacky code discarded the obstruction changes caused by the entities deleted during the water rise.
Note:
See TracTickets
for help on using tickets.
Diff above contains different waypoints:
We can reproduce the bug by rejoining if there is a moving ship on rising water. Might want to set
debugWaterRise
to true in the script. Probably should create a scenario equivalent so that we can run therejointest
to prove the correctness of a potential fix.Also we can notice that the renderer doesn't show the current water height until updating it again, while the ships remain in the correct position.