Processmonitor/terminator
Posted: Wed May 01, 2013 9:24 am
As I mentioned in thehttp://solarstrike.net/phpBB3/viewtopic ... eb2f0df75b thread I use a process monitor to make sure crashed clients are removed.
I.E. it runs as a separate MM process, when it detects a "Crash Report" window it terminates the proces (client), this enables the error handler in RoM to catch the error and respawn a client/MM window as described in the above thread.
The userfunction_processMonitor goes into the normal place, the crashmonitor.lua is put in the micromacro/scripts directory.
To start process monitoring use "StartProcessMonitor()" in your scripts onLoad, note that one once monitor will be run for all scripts executing. As an alternative uncomment the "--StartProcessMonitor()" in bottom of userfunction_processMonitor to always have monitor starting when your botting.
Regards,
DX
I.E. it runs as a separate MM process, when it detects a "Crash Report" window it terminates the proces (client), this enables the error handler in RoM to catch the error and respawn a client/MM window as described in the above thread.
The userfunction_processMonitor goes into the normal place, the crashmonitor.lua is put in the micromacro/scripts directory.
To start process monitoring use "StartProcessMonitor()" in your scripts onLoad, note that one once monitor will be run for all scripts executing. As an alternative uncomment the "--StartProcessMonitor()" in bottom of userfunction_processMonitor to always have monitor starting when your botting.
Regards,
DX