Quote:
Originally Posted by kssbikini
Also. I don't know yet, how to retrieve information / memory, to cast skills or press target button.
|
Before moving to x,y u need to start there, dont know what type of game u are playing but asumming you can click somewhere and your player will follow a path to clicked location, when you click somewhere there is a lot going on for example:
MouseClickPressed - get click position x,y
- check click against hud
- if true handle event / break
-check click in scene.
-if true convert to world coordinates, makePath(creates a path to follow from your actual coordinate to target location), encode move path, encript, send packet
This is just an example.
Where to start? Open wireshark and log game packets check what protocol they use for communication (try clicking somewhere and check what u got, repeat and see, port 443? ssl mitmproxy is the best option )
Don't want to mess with packets, search for mouse state, first scan unkown initial value, (you need to ser hotkey for changed value and unchanged value scan) click mouse down scan changed, release scan changed, move around / use skills scan unchanged, repeat until get a few values, now pick one and check what addresses accesess this value, you should watch the window populate with assembly instructions, try clicking mouse down and check if a new address appear, move it without releasing and check too, finally release and check hopefully u will get some to start following, if not its not the right address..
So how do you call a movement function?
Its already inside the game loop
(
handleInput(); -> if(mouseReleased(){ change this flag and x,y params to call this function
Do sth
})
handleNetwork();
update();
Render ();
)
Is not easy, but try hard and u will make it work
Editor:sorry for my bad english but its late and i wrote with my phone