Jump to content
Sign in to follow this  

Help Debugging bot script for flash game

Recommended Posts

Here is my Autoit v3 code:

HotKeySet("{ESC}", "Terminate")
HotKeySet("!s", "Start")
HotKeySet("!c", "whenToTp")
Global $color
Global $point
Func Terminate()
   Exit 1
Func whenToTp()
   $point = MouseGetPos()
   $color = PixelGetColor($point[0], $point[1])
   MsgBox(0, "Position found", "Position found")
Func Start()
   $point = MouseGetPos()
   $color = PixelGetColor($point[0], $point[1])
   MsgBox(0, "Position found", "Position found" & $point)
   While true
 if $color Not == PixelGetColor($point[0], $point[1]) Then
While 1
It is designed to get you to get you safe (click the r key) when you are on low hp.  You set the point and it will press r when it below that.  It is not working and it compiles correctly but does not work.
ps. The game is Realm Of The Mad God
UPDATE: don't mind the whitespace it is correct in the editor
Edited by rjcobourn

Share this post

Link to post
Share on other sites

Have you read the forum rules?
Forum rules


1. Do not ask for help with AutoIt scripts, post links to, or start discussion topics on the following subjects:

  • Malware of any form - trojan, virus, keylogger, spam tool, "joke/spoof" script, etc.
  • Bypassing of security measures - log-in and security dialogs, CAPTCHAs, anti-bot agents, software activation, etc.
  • Automation of software/sites contrary to their EULA (see Reporting bullet below).
  • Launching, automation or script interaction with games or game servers, regardless of the game.
  • Running or injecting any code (in any form) intended to alter the original functionality of another process.
  • Decompilation of AutoIt scripts or details of decompiler software.
Edited by Michiel

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Create New...