Scorekeeper Posted October 11, 2005 Share Posted October 11, 2005 (edited) I am creating a program that will give me shortcuts to bots that i have made. But when the bot loads up.. its fine. But it freezes and will not go anything when i press any button. Can anyone help. Hers is the code: code has been romoved Thanks in advance. This is the first time it has happened to me and i do not understand why. If you found the source of error could you please let me know. Edited October 11, 2005 by Scorekeeper Fou-Lu - Bof4 "...Wouldst thou fight a god?" Link to comment Share on other sites More sharing options...
/dev/null Posted October 11, 2005 Share Posted October 11, 2005 I am creating a program that will give me shortcuts to bots that i have made.But when the bot loads up.. its fine. But it freezes and will not go anything when i press any button....This is the first time it has happened to me and i do not understand why.If you found the source of error could you please let me know.here are some ideas. If you want to use GUI event mode, you'll have to tell AutoIT. See: AutoITSetOption() and "GUIOnEventMode". Your idle loop sets "$exitFlag = 1", but then it is not used anywhre In your functions you call "Run("Log Bot 5.0.exe",....", without specifying the full path to the executable. You will need the full path if the *.exe are in a different path that your AutoIT script. See help file: Run(). You should also check the error codes of Run()! Also help file. have a look at your pause() function! Probaly search the forum for some ideas here.CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Scorekeeper Posted October 11, 2005 Author Share Posted October 11, 2005 even before i implimented the pause it still froze up. I also have tried to use the full path in the run but it still froze. Also i have $exitFlag = 1 there for a reoson but have not implimented that part of the script yet. ill try some things and post back. Thanks Anyway. ScoreKeeper Fou-Lu - Bof4 "...Wouldst thou fight a god?" Link to comment Share on other sites More sharing options...
/dev/null Posted October 11, 2005 Share Posted October 11, 2005 even before i implimented the pause it still froze up.AutoITSetOption() and "GUIOnEventMode". !!!CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Scorekeeper Posted October 11, 2005 Author Share Posted October 11, 2005 Turns out i was missing opt("GUIOnEventMode", 1) . Thanks Kurt. much apreciated. ScoreKeeper. Fou-Lu - Bof4 "...Wouldst thou fight a god?" 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