Author Topic: Autoreplay: Solve-then-replay shouldn't save identical replays  (Read 1586 times)

0 Members and 1 Guest are viewing this topic.

Offline Simon

  • Administrator
  • Posts: 3876
    • View Profile
    • Lix
NL 12.3.0

1. Activate the option to save auto replays of solutions (on by default).
2. Play and solve a level.
3. In the postview screen, click left for the next map.
4. In the preview screen, press arrow-left to return to the map from step 2.
5. Click to enter the map.
6. This replays the solution from 2.
7. In the postview screen, click left for the next map.
8. In the preview screen, hit ESC several times to exit NL.

Look in the replay-autosave dir. The newest 2 replays are identical text files.

Expected: Game doesn't save a replay if this has already been saved.

Bonus report of what works: This bug does not hit when (step 2: playing the map manually) is replaced with (step 2': load an already-saved solving replay and let it run to the end). The game doesn't save any files at all during 1-2'-3-4-5-6-7-8. This is good.

-- Simon

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: Autoreplay: Solve-then-replay shouldn't save identical replays
« Reply #1 on: September 27, 2019, 04:07:40 AM »
Fixed in commit 80ebca4.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)