Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#5186 closed defect (fixed)

OOS after rejoin - territory differences on square maps

Reported by: temple Owned by: temple
Priority: Must Have Milestone: Alpha 23
Component: UI & Simulation Keywords:
Cc: Patch: Phab:D1555

Description (last modified by temple)

fpre and Palaiologos shared oos logs that were similar to the KunstRaucher ones in #5162 (territory of some trees and grasses was different), but I was able to reproduce theirs with rejointest after recreating the map in atlas. I think the attached is for turn 10.

Attachments (1)

latium.zip (1.7 MB ) - added by temple 6 years ago.

Download all attachments as: .zip

Change History (13)

by temple, 6 years ago

Attachment: latium.zip added

comment:1 by temple, 6 years ago

Milestone: BacklogAlpha 24
Priority: Must HaveRelease Blocker

comment:2 by temple, 6 years ago

After some investigation with elexis, we found Phab:rP21675 responsible. In particular, on square maps (like latium) starting players see territories that ignore passability concerns, while rejoining players see territories that adjust for hills, etc. That's why the rejoining players have the trees in gaia territory rather than player territory.

(However, I haven't yet digested the code to explain why it fails only on square maps. The KunstRaucher replay from #5162 is a similar oos and on the circular mainland map, but we couldn't reproduce it with rejointest.)

Last edited 6 years ago by elexis (previous) (diff)

comment:3 by temple, 6 years ago

Description: modified (diff)

comment:4 by elexis, 6 years ago

Is this a self-correcting OOS and thus primarily occurs within the first 20 turns?

comment:5 by temple, 6 years ago

No, the cost grid remains all 1's (ignores terrain) throughout the game for the initial players while rejoiners have territories adjusted for terrain.

comment:6 by temple, 6 years ago

Patch: Phab:D1555

comment:7 by elexis, 6 years ago

Milestone: Alpha 24Alpha 23

comment:8 by temple, 6 years ago

Owner: set to temple
Resolution: fixed
Status: newclosed

In 21835:

Always call SetPassabilityCircular -- Fix OOS after rejoin on square maps

Differential Revision: https://code.wildfiregames.com/D1555
Reviewed by: elexis
Fixes: #5186

comment:9 by elexis, 6 years ago

Summary: OOS after rejoin - territory differencesOOS after rejoin - territory differences on square maps

comment:10 by smiley, 5 years ago

Milestone: Alpha 23Alpha 24
Priority: Release BlockerMust Have
Resolution: fixed
Status: closedreopened

21835 was a hotfix which did not fix the bug.

comment:11 by elexis, 5 years ago

Milestone: Alpha 24Alpha 23
Resolution: fixed
Status: reopenedclosed

I'd prefer to keep the resolved OOS tickets on this milestone, if it's just for finding it historically.

Please always post the task when opening a ticket, I guess you refer to https://code.wildfiregames.com/rP21675#30839 (and set the upcoming milestone only if you know someone who will work on it then).

comment:12 by smiley, 5 years ago

More or less. Also the fact that if SetPassabilityCircular is called with false as square maps should, the game would still go oos. Would it not? I think I read something wrong.

Last edited 5 years ago by smiley (previous) (diff)
Note: See TracTickets for help on using tickets.