Last Chao Server Restarter..
#1

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 ^^

#2
I dont know how to write it but you ccan tray, with command, remove lscm.exe from task meneger. when it ar down.. or "programm close" it Enother exe in task meneger) , Its my opinion but i sel dont know how to to thes)



Forum Jump:


Users browsing this thread: 1 Guest(s)