Opened 9 years ago

Last modified 9 years ago

#3292 closed defect

OOS on rejoin with new pathfinder — at Initial Version

Reported by: elexis Owned by:
Priority: Release Blocker Milestone: Alpha 19
Component: Core engine Keywords: pathfinding
Cc: Patch:

Description

We played a 2v3 on r16753, i.e. with the new pathfinder committed in r16751.

One player rejoined early and was completely oos (i.e. he saw a different amount of units in my town, and I saw a different amount of units in his town).

Units seem to get stuck and sometimes stop walking for no apparent reason (while being in the walking animation and state). Mabye not related to this bug, since:

The diff only contains one entity that has different values. It is a woman with different waypoints and position:

--- oos_dump_elexis.txt	2015-06-13 01:23:48.092697000 +0200
+++ oos_dump_ffm.txt	2015-06-13 01:23:47.000000000 +0200

Somewhere:
     entity: 5790
-    x: 443.95232
+    x: 443.95234
     z: 1028.04763
     r: 0.8
     clearance: 1
     flags: 21
     group: 5790



Somewhere below that:
 - id: 5790
   Decay:
   Footprint:
   Minimap:
     r: 230
     g: 230
     b: 75
     active: true
-    x: 443.95232
+    x: 443.95234
     z: 1028.04763
   Obstruction:
     active: true
     moving: true
     control group: 5790
     control group 2: 0
     tag: 8652
     flags: 5
   OverlayRenderer:
   Ownership:
     owner: 4
   Position:
     in world: true
-    x: 443.95232
+    x: 443.95234
     y: 0
     z: 1028.04763
     last x: 445.1823
     last y diff: 0
     last z: 1023.95841
     territory: 4
     rot x: 0
     rot y: -0.36324
     rot z: 0
     altitude: 0
     relative: true
     floating: false
     constructionprogress: 0
     anchor: "upright"
     turret parent: 0
   Selectable:
   UnitMotion:
     radius: 0.8
     state: 3
     path state: 3
     pass class: "default"
     ticket: 0
     target entity: 0
     target pos x: 0
     target pos y: 0
     target offset x: 0
     target offset y: 0
     target min range: 0
     target max range: 0
     speed: 9.5
     moving: true
     facePointAfterMove: true
-    length: 17
+    length: 18
     waypoint x: 344.5
     waypoint z: 1110.5
     waypoint x: 353
     waypoint z: 1110.5
     waypoint x: 360.75
     waypoint z: 1107
     waypoint x: 366.125
     waypoint z: 1103.75
     waypoint x: 371.3125
     waypoint z: 1099.625
     waypoint x: 377.40625
     waypoint z: 1094.0625
-    waypoint x: 384.95313
-    waypoint z: 1086.78125
-    waypoint x: 390.22657
-    waypoint z: 1081.64063
-    waypoint x: 394.86329
-    waypoint z: 1077.07032
-    waypoint x: 399.18165
-    waypoint z: 1072.78516
-    waypoint x: 403.84083
-    waypoint z: 1068.14258
-    waypoint x: 409.67042
-    waypoint z: 1062.3213
-    waypoint x: 416.08521
-    waypoint z: 1055.91065
-    waypoint x: 421.79261
-    waypoint z: 1050.20533
-    waypoint x: 427.64631
-    waypoint z: 1044.35267
-    waypoint x: 434.07316
-    waypoint z: 1037.92634
-    waypoint x: 439.78658
-    waypoint z: 1032.21317
+    waypoint x: 382.95313
+    waypoint z: 1088.78125
+    waypoint x: 387.72657
+    waypoint z: 1084.14063
+    waypoint x: 393.11329
+    waypoint z: 1078.82<032
+    waypoint x: 398.30665
+    waypoint z: 1073.66016
+    waypoint x: 403.40333
+    waypoint z: 1068.58008
+    waypoint x: 409.45167
+    waypoint z: 1062.54004
+    waypoint x: 415.97584
+    waypoint z: 1056.02002
+    waypoint x: 420.23792
+    waypoint z: 1051.76001
+    waypoint x: 426.86896
+    waypoint z: 1045.13001
+    waypoint x: 431.18448
+    waypoint z: 1040.81501
+    waypoint x: 435.84224
+    waypoint z: 1036.15751
+    waypoint x: 440.67112
+    waypoint z: 1031.32876
     length: 0
     length: 0
     expected path ticket: 0
     next step clean: true
     type: 0
     goal x: 342
     goal z: 1110
     goal u x: 0
     goal u z: 0
     goal v x: 0
     goal v z: 0
     goal hw: 0
     goal hh: 0
     maxdist: 0
   Vision:
   VisualActor:
     base actor: "units/celts/female_citizen.xml"
     r: 1
     g: 1
     b: 1

Change History (2)

by elexis, 9 years ago

For now I only received one commands.txt of the rejoined player (ffm). Not sure if its the first or second one. Notice that the hash is wrong in turn 0 already according to the commands.txt file of ffm. We made sure that we are both on the same revision. We also did another test before that that was not oos.

by elexis, 9 years ago

Attachment: commands_fun.txt added

A replayfile that contains the playernames as well, if you want to replay it visually (ignore the oos error message on turn 0). If you replay the commands_elexis.txt file visually, then the oos error will apear at turn 980 (i.e. 8 minutes 10 seconds)!!

Note: See TracTickets for help on using tickets.