[BUG] [PLAYER] [FIXED] Crash your computer with self-referencing oddtabling!

Started by Nepster, February 09, 2016, 06:32:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nepster

Status: Fixed for next update.




Here is an easy way to crash your computer: :P
Load an arbitrary level in the editor, accidently check the oddtabling option (but leave it at rank 1, level 1), then try to playtest it and have fun!.
The game loads the level, which requires to load the oddtabled level, i.e. itself. So NeoLemmix encounters the oddtabling a second time, loads the level again, and then again, and again... On my computer this only stopped after using up all available memory (which was slightly above 1GB). >:(

Actually I believe one can do this in an even more ingenious way in level packs: Oddtable levels in a circular fashion like A -> B -> C -> A and enjoy!

namida

Fixed for the next update. If self-referencing or circular oddtabling is detected, it will show an error message and stop trying to further oddtable the level.
My 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)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)