Posted: Sat Apr 26, 2008 4:35 pm Post subject: Code Injection question
Well I was trying out step 7 on the tutorial and I was wondering if I could use code injection for like vacs? I know if it were possible, it'd be complicated. I'm just going to try it out on Pinball and more games later on. _________________
Yes it can be done. It's not overly-complicated. Here is one possible way to do it. Find the ball x/y coordinates in memory (remember top is a lower value of y than bottom and x is lower value at the left than at the right). Find what writes to these instructions and overwrite it with a jump to a codecave. A normal vac is easy, eg. move the ball to a certain x/y. If you want a bit more of a challenge, try making a mouse vac
Write back if you get stuck since this is something I've already done.
Well thats what you have to find your self mate.
This is how a vac is done scanning for coords of mobs. And then changing the coords of the mob to yours.
So how is asking for the x and y of something going to help you out?
Reread Slugsnacks instructions on how to get the x and y of the ball.
Your going to have to scan for them with unknown and decreased and increased scans till you find it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum