Disciples Posted June 15, 2009 Share Posted June 15, 2009 (edited) I'm making a bot for a game. and it seems like half the time it works, half the time it doesn't? Does that happen to anyone else? Like the first few times it would work, then it would just start messing up? E: btw im still kinda new to it Edited June 15, 2009 by Disciples Link to comment Share on other sites More sharing options...
BrettF Posted June 15, 2009 Share Posted June 15, 2009 Most likely your scripting is... Post your code Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
herewasplato Posted June 15, 2009 Share Posted June 15, 2009 I'm making a bot for a game. and it seems like half the time it works, half the time it doesn't?Does that happen to anyone else? Like the first few times it would work, then it would just start messing up?E: btw im still kinda new to itMaybe you should change your topic title to:My script isn't consistent.However, different games use different means to prevent bots from working. Maybe you should just play the game as a human. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Disciples Posted June 15, 2009 Author Share Posted June 15, 2009 expandcollapse popup;Hdin bot for GUBERS ;You have to start in the X at the bottom right ;it teles to spot, and hammers for 130 seconds ;then, teles around area and spams hammers ;to clear strays HotKeySet("{f3}","start") HotKeySet("{f4}","stop") HotKeySet("{f5}","_Exit") ; start= start ; stop = pause (doesn't work too well) ;_Exit = exit Global $ON = False While 1 While $ON = True Send ("{f2}") ;f2 = tele sleep(1000) MouseClick ("right",252,235) sleep(100) MouseClick ("right",210,235) sleep(100) MouseClick ("right",282,239) sleep(100) MouseClick ("right",435,309) sleep(100) ;tele up spot to trap merc MouseClick ("left",845,487) sleep(500) MouseClick ("left",602,282) sleep(500) MouseClick ("left",249, 383) sleep(500) MouseClick ("left",264,620) sleep(500) MouseClick ("left",513,654) sleep(1000) ;walk to spot after merc is trapped Send ("{w}") sleep(2000) Send ("{f8}") sleep(2000) MouseClick("right") sleep(1000) Send ("{f7}") sleep(100) MouseClick("right") sleep(1000) Send ("{w}") Sleep(100) Send ("{f1}") sleep(100) Send ("{Enter}") Send ("Ready") Send ("{Enter}") MouseMove(957,642) sleep(100) Send("{ShiftDown}") sleep(100) MouseDown("left") Sleep("130000") MouseUp("left") Send("{ShiftUp}") sleep(100) ;spin for 130 seconds Send ("{f2}") MouseClick("right",362,431) sleep(1000) Send("{ShiftDown}") sleep(1000) Mousedown("left") sleep("2000") MouseUp("left") Send(" {ShiftUp}") MouseClick("right",893,615) Send("{ShiftDown}") sleep(1000) Mousedown("left") sleep("2000") MouseUp("left") Send(" {ShiftUp}") MouseClick("right",805,267) Send("{ShiftDown}") sleep(1000) Mousedown("left") sleep("2000") MouseUp("left") Send(" {ShiftUp}") MouseClick ("right",434,378) Send("{ShiftDown}") sleep(1000) Mousedown("left") sleep("2000") MouseUp("left") Send(" {ShiftUp}") MouseClick ("right",460,464) Send("{ShiftDown}") sleep(1000) Mousedown("left") sleep("2000") MouseUp("left") Send(" {ShiftUp}") sleep(1000) ; after 130 seconds are done, teles around and clears strays MouseClick ("right",984,616) sleep(250) MouseClick ("right",987,593) sleep(250) MouseClick("right",968,658) sleep(250) MouseClick("right",958,519) sleep(250) MouseClick("right",767,330) sleep(250) MouseClick("left",568,406) sleep(100) Send ("{f6}") sleep(100) MouseClick("right") ;tele back to reset sleep(19000) ; stay for 20 seconds, then repeats. WEnd WEnd Func start() $ON = True EndFunc Func stop() $ON = False EndFunc Func _Exit() $ON = False Exit Endfunc Link to comment Share on other sites More sharing options...
Disciples Posted June 16, 2009 Author Share Posted June 16, 2009 Hmmm. I seem to get it. I just spaced out some of the stuff 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