02-20-2012, 08:17 PM
Hey guys i try to create for me (And other PPL)
a Server restarter because my Connector Crashs every 2 Hours or 5 Hours, so i try this code :
While 1
While ProcessExists("lcsm.exe") ----> Here can be Connector.exe too.
Sleep(100)
WEnd
Sleep(30)
Run( "lcsm")
Do
Sleep(100)
Until ProcessExists("lcsm.exe")
WEnd
But the Problem is, that the Connector only Crash and then i dont press the "Programm Close" button it dont terminate the Process..
I tried to Include ProcessClose but i did always something wrong^^
I hope someone can include into the code that if Connector.exe not Responding then run lcsm.exe ^^

