Lemmings Forums

NeoLemmix => NeoLemmix Main => Archived Bugs & Suggestions => Topic started by: Nepster on October 01, 2016, 09:42:22 AM

Title: [FIXED] Lemmings may survive nuking [BUG] [PLAYER]
Post by: Nepster on October 01, 2016, 09:42:22 AM
Sometimes some lemmings may survive nuking. I currently don't know what causes this bug or even how to reproduce it. Here my current knowledge:
- Every time I encountered this bug, I did some heavy frame-stepping during the count-down.
- This behavior cannot be caught in replays. If you encounter this behavior and save a replay, everything works as intended upon loading the replay.

Note: This happened when testing the non-released experimental new-formats version of NeoLemmix. I don't know whether this occurs as well in the V1.47 versions.
Title: Re: Lemmings may survive nuking [BUG] [PLAYER]
Post by: namida on October 01, 2016, 10:14:22 AM
I have been able to reproduce this on new-formats branch, but not on V1.47n-D (and thus presumably not on any other backwards-compatible branch either).
Title: Re: Lemmings may survive nuking [BUG] [PLAYER]
Post by: namida on October 07, 2016, 02:08:41 PM
Confirmed this is still occuring in commit 69C4598 (latest at the time of this message).

It would appear to be somehow related to save states, as I can only get it to occur when an internal save state would be made during the countdown starting.

EDIT: Can also confirm that it is occuring on the backwards-compatible branch, now that I have a rough idea of the timing to trigger it (still none on the exact causes).

EDIT: It would appear it's triggered much more easily than we thought - simply trigger the nuke such that the assigning of bomber-countdowns crosses a 10sec mark on the timer (as this is when savestates are made), then perform a backwards frameskip such that both the start and end points of the skip are after said 10sec mark. From what I can tell, this consistently reproduces the bug with only a single frameskip. The lemming that would've begun counting down on exactly the frame of the savestate, and all later lemmings, will not get countdowns.
Title: Re: Lemmings may survive nuking [BUG] [PLAYER]
Post by: namida on October 07, 2016, 02:22:13 PM
Found the cause! :D It should be fixed in commit BD770DE.