Xardas wrote:Yep already have the Notepad++ now. It´s pretty good. Which script do you mean when you say Startup lua script?
It will either be in dungeon.lua, or init.lua —or in one of the scripts included by init.lua. Since they are all empty by default, it would only be one those if you've edited it.
Adding objects to the map in the editor, adds script-code to dungeon.lua when the project is saved. It is very common to have the game not load if the added script-code references objects that have errors. When this happens, the problem is not in dungeon.lua, but the solution to getting the editor to load again
is; and that is to remove those entries from dungeon.lua. While the problem itself could be anything added to any of the scripts, it's commonly a flaw in an object definition (or sudden lack of a definition) in the user edited (items, objects, or monsters) lua scripts.