Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Bot Development >> Logging
(Message started by: lightvector on Apr 30th, 2008, 11:34pm)

Title: Logging
Post by lightvector on Apr 30th, 2008, 11:34pm
Does anyone know why this isn't working?

In my getMove program, I'm having trouble making it output an offline log file for itself (for outputting debug info for games it plays online, including any search errors, etc.). I can get it to open a file and output debug information when I run it manually, but when run through the bot script, the call to open the file in the code always fails.

I'm guessing there's some issue of permissions, or something else going on relating to the fact that the program is being called through a perl script.

For reference, I'm running Vista on my laptop right now.

Does anyone know a way I can fix this, or work around it?



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.