Possible bug with Pivot (Flying Colors module)

In the Flying Colors module the ship pieces rotate using Pivot. (Each ship is two hexes long and they sometimes need to pivot around the front hex, sometimes the back hex.) When playing back a log, piece movements are tracked correctly until the first time the piece pivots. From that point on, the piece’s moves are not tracked.

I fiddled around with the module a bit and it seems like using Rotate instead of Pivot fixes the problem, but this will not work for the rotations that are not around the center point.

Repro steps:

  1. Start a game on the Flying Colors module
  2. Put a 2-hex ship on the map
  3. Begin logging
  4. Move the ship forward by dragging it to the adjacent hex
  5. Turn the ship using the context menu (Move > Starboard Turn, e.g.)
  6. Move the ship forward again
  7. End log
  8. Close game
  9. Load the log file
  10. Step through the log

Expected results:
Ship movement is tracked before and after the pivot

Actual results:
Ship movement is tracked correctly until the ship pivots, then all further movement does not play back correctly

Notes:
Vassal 3.3.2
Flying Colors 2.3.1
macOS 10.15.6

Thus spake forjay:

In the Flying Colors module the ship pieces rotate using Pivot. (Each
ship is two hexes long and they sometimes need to pivot around the front
hex, sometimes the back hex.) When playing back a log, piece movements
are tracked correctly until the first time the piece pivots. From that
point on, the piece’s moves are not tracked.

I fiddled around with the module a bit and it seems like using Rotate
instead of Pivot fixes the problem, but this will not work for the
rotations that are not around the center point.

Repro steps:

  1. Start a game on the Flying Colors module
  2. Put a 2-hex ship on the map
  3. Begin logging
  4. Move the ship forward by dragging it to the adjacent hex
  5. Turn the ship using the context menu (Move > Starboard Turn, e.g.)
  6. Move the ship forward again
  7. End log
  8. Close game
  9. Load the log file
  10. Step through the log

Expected results:
Ship movement is tracked before and after the pivot

Actual results:
Ship movement is tracked correctly until the ship pivots, then all
further movement does not play back correctly

Notes:
Vassal 3.3.2
Flying Colors 2.3.1
macOS 10.15.6

Can you reproduce this in 3.4.2?


J.

I believe it is fixed in 3.4.2. Glad to see that!