Sign in to follow this  
Followers 0
SuddenGunfire

My Bot

6 posts in this topic

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?

Share this post


Link to post
Share on other sites



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 here
RegExp tutorial: enough to get started
PCRE 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)

Share this post


Link to post
Share on other sites

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 here
RegExp tutorial: enough to get started
PCRE 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)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0