Debugging output for macros?

Progress reports and musings from the developers on the current gaming tools.

Moderators: dorpond, trevor, Azhrei

Post Reply
User avatar
Lifer4700
Cave Troll
Posts: 48
Joined: Thu Aug 25, 2011 3:17 pm

Debugging output for macros?

Post 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!
I should change my profile name to Freddy because JSON and I don't quite get along yet.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Debugging output for macros?

Post 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.

User avatar
Lifer4700
Cave Troll
Posts: 48
Joined: Thu Aug 25, 2011 3:17 pm

Re: Debugging output for macros?

Post by Lifer4700 »

Excellent, thanks!

BTW, the command in mt.cfg is javaw, and java gives the console, so removed the "W"
I should change my profile name to Freddy because JSON and I don't quite get along yet.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Debugging output for macros?

Post 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:

Post Reply

Return to “Developer Notes”