Debugging script compile errors?

Moderator: Moderator

Post Reply
Message
Author
Orrus
Low Yeek
Posts: 6
Joined: Fri Jan 11, 2013 5:00 am

Debugging script compile errors?

#1 Post by Orrus »

Hi,

When a LUA script compile / syntax error shows up, the game seems to completely hang during loading. It becomes completely unresponsive with no error messages. Is there a way to debug these errors? To find the line #, file, or script func the error occurred in?

Thanks :D
-Orrus

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Debugging script compile errors?

#2 Post by darkgod »

Sure, run the game with the --flush-stdout parameter and when the error happens check the bottom of the te4_log.txt file
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Orrus
Low Yeek
Posts: 6
Joined: Fri Jan 11, 2013 5:00 am

Re: Debugging script compile errors?

#3 Post by Orrus »

Thanks! The more output the better.

Post Reply