SolvedAHK script auto-aim

Posts 1–8 of 8 · Page 1 of 1
AHK script auto-aim
so basically, I don't know how to script in AHK but would be nice if someone could make a script for auto-aim (before anyone asks: why not just use 059.... I need it for a pserver).
thanks in advanced
You cannot combine AHK with RotMG. In short, AHK has no way of doing object/image recognition, the script would have no way of knowing what to shoot and what not to.
i know that, but perhaps someone here has got a really smart way?
Let me rephrase: there is no available "back-end" for the game through AHK. Meaning that AHK cannot communicate with the game except at the physical level.

The only way, which is incredibly inefficient, is to use AHK's FindClick() function and manually take pictures of every object in the game and then write mouse movements. Even if someone did this, AHK is not specifically designed for image recognition, real-time mouse movements, or really anything complex, so I doubt the script would even work.

There is a reason why you can minimize the 059 client and still have your character auto-aim at enemies. There would absolutely no way for AHK to so something like this; AHK simulates clicks, mouse movements, keyboard strokes, etc. that are on your screen.

You can use JPEXS to decompile the 059 client and just see how complex auto-aim is (I'm not a CS major). There is no way for AHK to do this.
Where can I find the class of the auto aim? What's it called/pass me the ctrl+f words

- - - Updated - - -

Quote Originally Posted by SirFapsWayTooMuch View Post
Let me rephrase: there is no available "back-end" for the game through AHK. Meaning that AHK cannot communicate with the game except at the physical level.

The only way, which is incredibly inefficient, is to use AHK's FindClick() function and manually take pictures of every object in the game and then write mouse movements. Even if someone did this, AHK is not specifically designed for image recognition, real-time mouse movements, or really anything complex, so I doubt the script would even work.

There is a reason why you can minimize the 059 client and still have your character auto-aim at enemies. There would absolutely no way for AHK to so something like this; AHK simulates clicks, mouse movements, keyboard strokes, etc. that are on your screen.

You can use JPEXS to decompile the 059 client and just see how complex auto-aim is (I'm not a CS major). There is no way for AHK to do this.
Where can I find the class of the auto aim? What's it called/pass me the ctrl+f words
When in JPEXS, go to Tools > Text Search > Search in P-Code > type "attemptAutoAim" > OK

It should be located in the "Player" folder (Player/attemptAutoAim).

Although you will have to look at a few other functions that are in the AutoAim section to understand it.
Ok, Thank you very much. any mod can close this now, but dont delete it... need it for future testing and referencing
//closed as solved
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us