Error when loading levels with multiple styles [EDITOR] [BUG]

Started by Nepster, September 26, 2016, 04:01:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nepster

Using the Editor V1.47n möbius and I have problems loading levels that use objects of more than one style, getting "list-out-of-bounds" errors. I have yet to test whether the same behavior occurs with terrain pieces.
Here some results of tests:
- The first style in my list is L2-beach, the second one is L2-cave. If I first place the beach exit, then the cave exit and then save the level, I can load it again. If I first place the cave exit, then the beach exit, loading the level again gives the error.
- The same behavior occurs when the Dirt style is the first style in the list and the Fire style comes second. Then "first Dirt, then Fire" loads fine, but "first Fire, then Dirt" does not.
- Now I add some styles before that, i.e. all the L2 styles come at the beginning of the style list, then Dirt and then Fire. Then I cannot save any level with a Dirt and a Fire exit, that can be loaded again. Even the test level, that loaded fine when only Dirt and Fire were present, does no longer load properly when other styles come first.

namida

Workaround: Before trying to open the level, change the graphic set (on the blank level that's there when you start the editor) to every graphic set the level uses once each. After this, you should be able to open the level.

Will work on a fix.
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)

namida

Fixed for next update.

To avoid having to do the workaround, until a stable update is released, here's an experimental that includes the fix: https://www.dropbox.com/s/oh2gbh6u720hibv/NeoLemmixEditor.exe?dl=1
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)