Shyke Posted September 6, 2005 Author Share Posted September 6, 2005 Yeah, that did nothing at all. Link to comment Share on other sites More sharing options...
Shyke Posted September 6, 2005 Author Share Posted September 6, 2005 (edited) I just had an idea for the starting process! If someone could modify the code so it checks to see if at X=105, Y=207 and the color is Hex=0xFFFF00 or Dec=16776960 then it is a failure and should close the program and restart it and if it isn't that color at that location than leave it run. I don't know how to do this so could someone please modify the latest code so it works with that? Latest and fastest working code: Dim $t HotKeySet("{ESC}", "Terminate") MsgBox(0, "WoW Server Restarter", "Running WoW server and minimizing..." & @CRLF & "Read read-me for other credits and information!") Call("Start_WoW") While 1 $t = $t + 1 If $t = 5 Then Call("Start_WoW") $t = "" EndIf Sleep(1000) WEnd Func Start_WoW() If Not ProcessExists ("wowemu.exe") Then Run("wowemu.exe", "", @SW_MINIMIZE) EndIf Sleep(1000) EndFunc Func Terminate() Exit 0 EndFunc Edited September 6, 2005 by Shyke Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now