How can I send the log output to a file?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
d003232
Posts: 1252
Joined: Wed Jun 03, 2009 4:27 pm

How can I send the log output to a file?

#1 Post by d003232 » Sun Jun 14, 2009 1:52 pm

It is possible to send the log output from the 'RoM script window' to a file? It would be helpful, because while debuging, sometimes the output scrolls so fast that I cant scroll back to read it. In particular the 'haveTarget' function is called so often.
The RoM Bot Online Wiki needs your help!

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: How can I send the log output to a file?

#2 Post by Administrator » Sun Jun 14, 2009 3:42 pm

You can use logMessage("string") to dump debug information to the log file. If needed, you can use Lua's own file functions.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests