ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Debugging script compile errors?
http://forums.te4.org/viewtopic.php?f=45&t=36281
Page 1 of 1

Author:  Orrus [ Fri Jan 11, 2013 5:08 am ]
Post subject:  Debugging script compile errors?

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

Author:  darkgod [ Fri Jan 11, 2013 8:43 am ]
Post subject:  Re: Debugging script compile errors?

Sure, run the game with the --flush-stdout parameter and when the error happens check the bottom of the te4_log.txt file

Author:  Orrus [ Thu Jan 17, 2013 3:05 pm ]
Post subject:  Re: Debugging script compile errors?

Thanks! The more output the better.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/