debug() not writing to logs in 3.1 beta 4?
debug() not writing to logs in 3.1 beta 4?
I don't know if it's a bug or PEBKAC, but the debug() function no longer seems to be writing to stuff to the logs in WZ 3.1 b4... Anyone else having this problem or am I having another senior moment?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: debug() not writing to logs in 3.1 beta 4?
This is my AI script btw:
I see the console message but nothing goes in to the logs.
I'm looking in the correct WZlog-*.txt file but it's practically empty (see attached).
Code: Select all
function tracebot() {
console("tracebot called "+version); // this gets shown in console
debug("tracebot called "+version); // but this does not go in to logs
var research = enumResearch();
for (var r=0; r<research.length; r++) {
debug("* "+research[r].name); // or this...
}
removeTimer("tracebot");
}
function eventStartLevel() {
setTimer("tracebot",20000);
}
I'm looking in the correct WZlog-*.txt file but it's practically empty (see attached).
- Attachments
-
- WZlog-0222_025731.txt
- (22 Bytes) Downloaded 178 times
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: debug() not writing to logs in 3.1 beta 4?
Also, I noticed that if I delete all the files in the logs folder whilst WZ is running, new logs (both the netplay and the WZlog) don't get created when I start a new game. Something gone fubar with the logging system?
EDIT: I'm on Mac OS X 10.5.8 btw.
EDIT: I'm on Mac OS X 10.5.8 btw.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: debug() not writing to logs in 3.1 beta 4?
Anyone else having this problem?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO