Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Question]Mouse vac, in general?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Jokke91
Advanced Cheater
Reputation: 0

Joined: 09 Feb 2008
Posts: 62
Location: Finland

PostPosted: Wed Jan 21, 2009 12:32 pm    Post subject: [Question]Mouse vac, in general? Reply with quote

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 Confused )

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 Wink
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Wed Jan 21, 2009 4:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites