Page 1 of 1

Debugging output for macros?

Posted: Fri Sep 09, 2011 1:24 pm
by Lifer4700
Is it possible to get an output of everything the chat parser 'sees' before it processes the roll options?
This would likely be some kind of log file written to the OS.

I really would like to know if my logic is bad, or my syntax...


I think I might have to change my name to Freddy, because JSON and I aren't on speaking terms yet!

Re: Debugging output for macros?

Posted: Fri Sep 09, 2011 1:36 pm
by wolph42
Yup. You need to change the .XML file (search this forum for that) then all output is logged. In addition in the .mtc file in the install dir you remove the c from =javac (or add it not sure) and you'll also get a console where the running code is shown.

Re: Debugging output for macros?

Posted: Fri Sep 09, 2011 4:28 pm
by Lifer4700
Excellent, thanks!

BTW, the command in mt.cfg is javaw, and java gives the console, so removed the "W"

Re: Debugging output for macros?

Posted: Fri Sep 09, 2011 4:51 pm
by wolph42
Lifer4700 wrote:Excellent, thanks!

BTW, the command in mt.cfg is javaw, and java gives the console, so removed the "W"
im glad you were able to reconstruct my rambling to something actual useful :mrgreen: