 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Jokke91 Advanced Cheater
Reputation: 0
Joined: 09 Feb 2008 Posts: 62 Location: Finland
|
Posted: Wed Jan 21, 2009 12:32 pm Post subject: [Question]Mouse vac, in general? |
|
|
Hi.
I would like to know how to create a mouse vac in trainer or CT, generally.
So if anyone could explain the basics on how it's done, or point me to some guide.
What I'm guessing: (Don't laugh at me if I get something really wrong )
Get the address of character/object,
and do a pointer scan what points to those addresses,
then change the mouse position to write into that address?
If the above was right, it doesn't mean that I can really perform it,
so tips are welcome.
Thanks
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Wed Jan 21, 2009 4:34 pm Post subject: |
|
|
if it is an object that is constantly moving then find address of its coordinates, then find what writes to it. since that code is accessed all the time you can set a codecave at that point and fill a POINT structure (let's call it pt) with GetCursorPos. you may have to do some mapping to map it to the right place on the screen if it is not a full screen game. then set the x/y to the pt.x/pt.y.
if it is not constantly moving and you want it to be constantly vacced to where your mouse is, find address and constantly write to it and optionally disable any other code that changes the values at those addresses. first option is much 'cleaner' though since all other code that is 'supposed' to be executed will be executed as well.
otherwise if you feel like a good bit of debugging debug the function, and manipulate it directly but since you sound like a beginner i would go for this when you get a bit more experienced.
|
|
| Back to top |
|
 |
|
|
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
|
|