Blockland Forums > Modification Help
Remote Console Monitoring
cucumberdude:
Hey
I'm working on a complete control panel type thing (similar to the one that Zack0Wack0 has) and I need to figure out how to monitor the torque console (note: I'm willing to use something other than TS if necessary).
I've tried packaging echo() and redirecting stdio but neither worked, and console.log cannot be accessed while Blockland is running.
I know this can be done - Kalphiter for one has managed - and if anyone has ideas, please share :)
cucumberdude:
Tried accessing the console.log file from within blockland thru FileObject - no luck :/
MegaScientifical:
--- Quote from: cucumberdude on July 11, 2011, 06:30:19 PM ---Tried accessing the console.log file from within blockland thru FileObject - no luck :/
--- End quote ---
Because Blockland keeps it open, so you can't read what is still being written.
Kalphiter:
You can't.
I use an outside program written in Java to read the output of Blockland.
cucumberdude:
--- Quote from: Kalphiter on July 11, 2011, 06:36:47 PM ---You can't.
I use an outside program written in Java to read the output of Blockland.
--- End quote ---
--- Quote from: cucumberdude on July 11, 2011, 05:26:46 PM --- (note: I'm willing to use something other than TS if necessary).
I've tried redirecting stdio but [it didn't] work
--- End quote ---
I know java - any chance you could post the code or just give me a push in the right direction?