lua debugger notepad

» Siedler Map Source Forum » Siedler DEdK Script Forum » lua debugger notepad

Seiten: 1

polaster64
#1
21.02.2018 23:14
Beiträge: 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
Beiträge: 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
Beiträge: 184

Zitat von 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
Beiträge: 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.

Seiten: 1

SiteEngine v1.5.0 by nevermind, ©2005-2007
Design by SpiderFive (www.siedler-games.de) - English translation by juja

Impressum