rjcobourn Posted February 8, 2015 Share Posted February 8, 2015 (edited) Here is my Autoit v3 code: HotKeySet("{ESC}", "Terminate") HotKeySet("!s", "Start") HotKeySet("!c", "whenToTp") Global $color Global $point Func Terminate() Exit 1 EndFunc Func whenToTp() $point = MouseGetPos() $color = PixelGetColor($point[0], $point[1]) MsgBox(0, "Position found", "Position found") EndFunc 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 send("r") EndIf Sleep(100) Wend EndFunc While 1 sleep(100) WEnd 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 February 8, 2015 by rjcobourn Link to comment Share on other sites More sharing options...
Michiel Posted February 9, 2015 Share Posted February 9, 2015 (edited) 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 February 9, 2015 by Michiel Link to comment Share on other sites More sharing options...
rjcobourn Posted February 9, 2015 Author Share Posted February 9, 2015 I expected a program designed to imitate keystrokes to support botting, my fault. Link to comment Share on other sites More sharing options...
Recommended Posts