I've been playing with the idea of creating a runescape bot from scratch using c++.
I know java would be more efficient, but I'm thinking that fact that there are no c++ bots, maybe it would be less detectable if kept private.
I'm posting this here because I figured someone here may be interested, or can offer input.
The method:
Because it is almost impossible to rely on pointers when reversing java, I've resulted to creating byte signatures to find locations in memory. After reading the values needed, I would react accordingly by sending input to the game.
So far I've created a reliable way of finding the players inventory items.
I created a DirectX overlay to show item IDs for a debug or introduction to this project.
With that said, has anyone had any experience trying to do this kind of thing?
Anything I should watch out for, or better methods for finding memory locations?
Screenshot_20191204-112337_Remote Desktop.jpg
*Update*
I've now retrieved player position. This one was a bit harder.
The tile position is stored few milliseconds in the same address as some other garbage.
I had to check if a relative value is a specific number to know if the address currently had the actual tile, or the trash.
The video below has a demonstration of Inventory and position Data on a DirectX Overlay.
The position data doesn't update very fast, but it will work for now.