Guest Newb Posted September 23, 2005 Posted September 23, 2005 I want it to make it so if I am booted from the game, like i get disconnected It will stop the loop, I am using the While 1 Wend loop... But if it gets disconnected I want it to stop taht loop... this is for Diablo II in case anyone is interested...
Valuater Posted September 23, 2005 Posted September 23, 2005 While WinExists("???") ; the name/ title of the window you want stay in ; do your stuff Wend this will leave the loop if the game title name no longer exists 8)
Guest Newb Posted September 23, 2005 Posted September 23, 2005 problem with that is that the window wont close, itll just get disconnected and the window stays up... but good idea...
BigDod Posted September 23, 2005 Posted September 23, 2005 problem with that is that the window wont close, itll just get disconnected and the window stays up... but good idea...I know nothing about Diablo,Does the game give any indication when you have been disconnected, if it does you may be able to find a way for AutoIt to work with this in your script. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
doomkiller Posted September 24, 2005 Posted September 24, 2005 What you could do is make it search for a certain pixel when like lets say it goes to the screen after it disconnects and choose a pixel that only shows up then and have it exit the loop that way
Guest Newb Posted September 24, 2005 Posted September 24, 2005 How do I do that pixel thing? I am kinda slow when it comes to stuff like this... I just taught myself how to do what I have done so far, and that was in the last 2 days... Anyway thanks for the help please keep posting ideas/code/script/how to do them etc peace and thanks
Guest Newb Posted September 25, 2005 Posted September 25, 2005 anyone know how to do this last pixel thing?
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