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 


Auto assembler locations.

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

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Sat Sep 25, 2010 8:57 pm    Post subject: Auto assembler locations. Reply with quote

Making a wallhack for the quake engine with auto assembler. It works by hooking open gl functions and such and is looking pretty good. There is just one annoyance though. On my computer the address for the functions i'm hooking are always the same, even after restarting the whole computer, but on my netbook, (and probably other computers) the addresses are always different every time I restart the game. I know where a pointer to the functions are, so my question is, is it possible to get the auto assembler to read the pointer and inject there instead of having to find and change the addresses in the script every single time yourself?

EDIT: Also if anyone can tell me what I need to do in a gldrawelements hook to make the model draw completely 1 colour, that would help too.


Last edited by Teh1337Bix on Sat Sep 25, 2010 9:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
noko_112
Grandmaster Cheater
Reputation: 0

Joined: 09 Jun 2009
Posts: 585

PostPosted: Sat Sep 25, 2010 9:14 pm    Post subject: Reply with quote

Sure its possible, do you know how the aobscan() works?

One other thing, is the pointer a static address? (named like : *processname*+xxxxxxxx)
Back to top
View user's profile Send private message
Teh1337Bix
Cheater
Reputation: 3

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Sat Sep 25, 2010 9:25 pm    Post subject: Reply with quote

Yeah the pointer never changes location since the code actually calls the opengl functions with call [pointer]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25953
Location: The netherlands

PostPosted: Sat Sep 25, 2010 10:00 pm    Post subject: Reply with quote

have you tried to modulename+offset method for addresses to hook? (ctrl+m to show that)
Or even the functionname you are hooking ? (ce can make use of functionnames in dll's as long as they are exported)

e.g: my ut2k4 aimbot made use of the apawn::postrender function that was exported

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Teh1337Bix
Cheater
Reputation: 3

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Sun Sep 26, 2010 7:51 am    Post subject: Reply with quote

I fixed it by putting glbindtexture and gldrawelements (the functions i'm hooking) at the assemble location instead of an address.
Back to top
View user's profile Send private message
Teh1337Bix
Cheater
Reputation: 3

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Sun Sep 26, 2010 11:45 pm    Post subject: Reply with quote

Oh BTW can anyone help me with the edit I put in the OP?
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