lua debugger notepad
» Settlers Map Source Forums » Siedler DEdK Script Forum » lua debugger notepad
Pages: 1
polaster64
|
#1 21-02-2018 23:14 Posts: 184 |
lua debugger notepad
Hello. Where can I get a compiler that will show me the mistakes in the map script?
Because I found one online but it doesnt show where the mistake is exactly.
mcb
|
#2 22-02-2018 00:30 Posts: 1472 |
Just add -debugscript as command line argument for S5.
Or use the LuaDebugger for S5: http://www.siedler-maps.de/forum/Mapping/Lua-Debugger-fr-S5-S6-18833.htm
polaster64
|
#3 22-02-2018 09:55 Posts: 184 |
Posted by mcb:
Just add -debugscript as command line argument for S5.
Or use the LuaDebugger for S5: http://www.siedler-maps.de/forum/Mapping/Lua-Debugger-fr-S5-S6-18833.htm
where exactly should I put it in the script? at the very beggining?
mcb
|
#4 22-02-2018 14:21 Posts: 1472 |
The -debugscript does not belong int the script itself. You have to add it to the link on your desktop. (right click->properties)
When S5 then finds an error, you get a error popup with a description of what went wrong.
Pages: 1