hello,
in order to tell me were something little is going wrong,
i would like to save everything which appears in the debug screeen.
But i really have no idea how i can recall the debug info.
thanks
hello,
in order to tell me were something little is going wrong,
i would like to save everything which appears in the debug screeen.
But i really have no idea how i can recall the debug info.
thanks
You could use addToSRLLog('We did not the find the tree!');
and that will save it in the srl log in the simba folder somewhere![]()
but then i have to add this for every writeLn line, i'm more looking for something that just copies the debug and save it or just save the debug
I think addtosrllog also prints to the debug, try it. make a script, and do addtosrllog('Hello'); If it prints to the debug aswell, just replace every writeln with AddToSRLLog.
Thx Euphemism and Vinyl for the awesome siggy and avatar!
yeah it prints to the debug, but i'm more looking for a command to just copy the entire debug screen and save it instead of replacing all the writeln's by AddToSRLLog
Code:program new; var debugString:array of string; procedure writelnEx(str:String); begin writeln(str); setArrayLength(debugString,length(debugString)+1); debugString[high(debugString)] := str; end; begin writelnEx('hi '); writelnEx('how are you '); writelnEx('doing today '); writeln(debugString); end.
Ah this is of my interests.
Pre-scripting runescape, i would want to make a motion sensor with my webcam using simba.
Then write motion detects to a log file ofcourse.
Activity
Going asian on University College Ghent.
No time for anything atm.
well this just depends on how simplistic u want it to be. if you have a way of viewing your cam's video then all you have to do (for a very very simplistic motion sensor) is use averagePixelShift to see if anything has moved infront of the cam. then use theTime variable and record that
Yeah, that's the plan to start with.
Then I'll look more into skin color or something commonly human.
Maybe thereafter screenshot support etc.
It's just a way to learn pascal really. ^^ Anyways, thanks for letting me know the method i should call to.
(well, in java it would be a method, i don't know about pascal.)
[E] Would i be able to play a sound file with Simba (Like in make the script open File/Sounds/Sound.midi)? Just wondering if it could.
Last edited by satkan; 08-14-2012 at 08:10 PM. Reason: Prettying it up.
Activity
Going asian on University College Ghent.
No time for anything atm.
it's not really what i'm looking for
i do not want to replace the writeln lines, i'm just looking for a way to copy the debug screen, something like print screen, but instead it does not take a bitmap, but a text file
There are currently 1 users browsing this thread. (0 members and 1 guests)