SuddenGunfire Posted March 28, 2010 Posted March 28, 2010 For some reason my bot only hits 1 time out of like 15 and it's quite laggy. HotKeySet("{F8}","OpenGame") HotKeySet("{F9}","ShootOnOff") HotKeySet("{F10}","ExitApp") Tooltip("F8 = Open game, F9 = Shoot, F10 = Exit bot", 0, 0) Dim $shoot = False Func OpenGame() _IECreate("http://www.camperstrike.co.uk/play.php") EndFunc Func ShootOnOff() If $shoot = False Then $shoot = True ToolTip("Shooting",0,0) Else $shoot = False Tooltip("F8 = Open game, F9 = Shoot, F10 = Exit bot", 0, 0) EndIf EndFunc Func ExitApp() Exit EndFunc While True If $shoot = True Then Dim $cordinates = PixelSearch( 0, 0, @DesktopWidth, @DesktopHeight, 0xFF0000) If Not @error Then MouseClick( "left", $cordinates[0], $cordinates[1], 1, 0) EndIf EndIf Sleep(500) WEnd any help?
jchd Posted March 29, 2010 Posted March 29, 2010 You won't get much help here. As the announcement says on top of he forum list, we don't support making bots for games that prohibit them in their TOS. Please go elsewhere. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
Bert Posted March 29, 2010 Posted March 29, 2010 It only applies if the site has a TOS against using a bot. That site has no TOS as far as I can find. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Bert Posted March 29, 2010 Posted March 29, 2010 The big problem you have is the sleep(500). Make it sleep(10) The Vollatran project My blog: http://www.vollysinterestingshit.com/
jchd Posted March 29, 2010 Posted March 29, 2010 Check their forums and you'll find that they explicitely prohibit bots. That's understandable given the monthly prizes they offer. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
FinalVersion Posted March 29, 2010 Posted March 29, 2010 Announcement also says "Play it safe, don't discuss game bots here.". [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
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