toboi How do I cheat?
Reputation: 0
Joined: 04 Jul 2023 Posts: 2 Location: Midgard
|
Posted: Tue Jul 04, 2023 3:25 pm Post subject: Reading values that passes through an instruction in C++ |
|
|
I'm making a bot for an old MMORPG (private server), and I want to find the coordinate of the selected enemy (it's a tab-target MMORPG). I was able to find the selected enemy's HP/Name but I couldn't find the X or Y position in the addresses near the HP/Name addresses. I was able to find my own X, Y position with just Pointers. What I noticed was that the positions of the mobs are "read" in an instruction whose AOB is "D9 80 10 08 00 00 53", and these are the results I get:
Pointer of My X Position (The float value is divided by 20 = 1050 / 20 = 52,5) = it's only shown in Integer in the game:
(Idk why I can't post images/urls)
1.png Image
Print of the game showing my Position:
2.png Image
When I right-click it and click "Find out what access...":
3.png Image
When I click "Show Disassembler" and then "Find out what address this instruction access":
The address "32B45828" is "My X Position" as shown above in the first printscreen:
4.png Image
But idk what to do from here. I tried to Auto Assemble AOB Injection in this instruction, and as far as I can tell, this instruction only reads the X position of the mobs in the game screen (the Y value is offset +4).
I'm writing this bot in C++, I want to be able to read all the mobs coordinates (in the screen) in my bot (read all those values that are passing through this instruction in the print above and store them in an vector of floats (maybe?), so I can make an "auto pick items" with the mobs coordinates, making the char walk to the mob and pick the loot.
Do you guys have any suggestions on how to make this?
Again, it's a private server.
Thanks in advance!
Description: |
|
Filesize: |
86.91 KB |
Viewed: |
1214 Time(s) |

|
Description: |
|
Filesize: |
44.63 KB |
Viewed: |
1213 Time(s) |

|
Description: |
|
Filesize: |
3.34 KB |
Viewed: |
1213 Time(s) |

|
Last edited by toboi on Wed Jul 05, 2023 2:54 pm; edited 2 times in total |
|