pcdestroyer Posted January 15, 2005 Share Posted January 15, 2005 Hi all I finally released the new version of my Pindle Bot .You can find it http://www.autoitscript.com/fileman/users/public/PcDeStRoYeR/ppb-v1.1.zipHere is the ChangeLog01/14/05 v1.1 Added: configurable delays. red portal configurable coordinates. teleport ( the last teleport) configurable coordinates. Potion Drinking.( heal life) Chicken Life. randomized mouse clicks. picks up body if you died on last round. drinks a potion in the beginning of the run if your life is below the healing life. InGameMsgs - shows messages over ur head when in gameEnjoy ! Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 15, 2005 Share Posted January 15, 2005 Hi all I finally released the new version of my Pindle Bot .You can find it http://www.autoitscript.com/fileman/users/public/PcDeStRoYeR/ppb-v1.1.zipHere is the ChangeLog01/14/05 v1.1 Added: configurable delays. red portal configurable coordinates. teleport ( the last teleport) configurable coordinates. Potion Drinking.( heal life) Chicken Life. randomized mouse clicks. picks up body if you died on last round. drinks a potion in the beginning of the run if your life is below the healing life. InGameMsgs - shows messages over ur head when in gameEnjoy ! <{POST_SNAPBACK}> Hello i have test it wörks great he drink good),but i like JhJ More) faster good job pcdestroyer:P Link to comment Share on other sites More sharing options...
pcdestroyer Posted January 15, 2005 Author Share Posted January 15, 2005 Hello i have test it wörks great he drink good),but i like JhJ More) faster good job pcdestroyer:P<{POST_SNAPBACK}>thnx Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 15, 2005 Share Posted January 15, 2005 thnx <{POST_SNAPBACK}> np Link to comment Share on other sites More sharing options...
Insolence Posted January 15, 2005 Share Posted January 15, 2005 (edited) Does it heal at Malah? Minimized running option? EDIT: Eww! expandcollapse popupIf (StringLen($slotToUse) = 0) Then $slotToUse = InputBox("PcDeStRoYeR's Pindle Bot", "Use which configured slot?", "slot1") If (@error = 1) then quitbot() endif endif IniWrite("pindlebot.ini", "Global", "SlotToUse", $slotToUse) $account = IniRead("pindlebot.ini", $slotToUse, "Account", "") If (StringLen($account) = 0) Then $account = InputBox("PcDeStRoYeR's Pindle Bot", "Please type in your account name.", "") If (@error = 1) then quitbot() endif endif $password = IniRead("pindlebot.ini", $slotToUse, "Password", "") If (StringLen($password) = 0) Then $password = InputBox("PcDeStRoYeR's Pindle Bot", "Please type in your password.", "", "*") If (@error = 1) then quitbot() endif endif $charPosition = IniRead("pindlebot.ini", $slotToUse, "CharPosition", "") If (StringLen($charPosition) = 0) Then $charPosition = InputBox("PcDeStRoYeR's Pindle Bot", "What is your character position ?", "") If (@error = 1) then quitbot() endif endif $difficulty = IniRead("pindlebot.ini", $slotToUse, "Difficulty", "3") If (StringLen($difficulty) = 0) Then $difficulty = InputBox("PcDeStRoYeR's Pindle Bot", "Please choose your difficulty. ( 1 = normal, 2 = nightmare, 3 = hell)?", "3") If (@error = 1) then quitbot() endif endif $d2path = IniRead("pindlebot.ini", "Global", "D2Path", "C:\Program Files\Diablo II") If (StringLen($d2path) = 0) Then $d2path = InputBox("PcDeStRoYeR's Pindle Bot", "What is your Diablo II directory?(ex.: C:\Program Files\Diablo II)", "C:\Program Files\Diablo II") If (@error = 1) then quitbot() endif endif $d2exe = IniRead("pindlebot.ini", "Global", "D2Exe", "Diablo II.exe") If (StringLen($d2exe) = 0) Then $d2exe = InputBox("PcDeStRoYeR's Pindle Bot", "What is your Diablo II .exe file?(ex.:Diablo II.exe)", "Diablo II.exe") If (@error = 1) then quitbot() endif endif You could change that to something like: Select Case $Var = "" Case $Var2 = "" ; Do same action for both here EndSelect And break that down into about 1/10th the amount of lines. Edited January 15, 2005 by Insolence "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
pcdestroyer Posted January 15, 2005 Author Share Posted January 15, 2005 .. dont really know what u'r talking about Link to comment Share on other sites More sharing options...
Insolence Posted January 15, 2005 Share Posted January 15, 2005 You check each one, then do the same exact thing after each one... read the helpfile for Select. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Valik Posted January 15, 2005 Share Posted January 15, 2005 You check each one, then do the same exact thing after each one... read the helpfile for Select.<{POST_SNAPBACK}>I assume you are thinking fall-through exists. If that is the case, then tell me what happens with this script, then tell me who needs to brush up on the helpfile.Test(1) Test(2) Func Test($var) Select Case $var = 1 Case $var = 2 MsgBox(4096, "", Look, I'm a message.") EndSelect EndFunc Link to comment Share on other sites More sharing options...
Insolence Posted January 15, 2005 Share Posted January 15, 2005 (edited) EDIT: They would both do the same message? EDIT: Apparently AutoIT doesn't have that option, could've sworn it did... still it was just the general idea. I said 'something like' because it was just one approach. BTW I fixed an error in your code, and made it do what I wanted: Test(1) Test(2) Func Test($var) Select Case $var = 2 OR $Var = 1 MsgBox(4096, "", "Look, I'm a message.") EndSelect EndFunc OR operator works just fine for this, with some line breaks it'd work just the same. Edited January 15, 2005 by Insolence "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
pcdestroyer Posted January 16, 2005 Author Share Posted January 16, 2005 and what was the error ?? Link to comment Share on other sites More sharing options...
Insolence Posted January 17, 2005 Share Posted January 17, 2005 The error in Valiks code? MsgBox(4096, "", Look, I'm a message.") ^ needs a " before look "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. 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