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 


[Help] Code shifting .dll

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
v78z
How do I cheat?
Reputation: 0

Joined: 17 May 2018
Posts: 5

PostPosted: Thu May 17, 2018 6:04 pm    Post subject: [Help] Code shifting .dll Reply with quote

Hi all,

I started cheat engine a few days ago by following the tutorials, in short, i want to do my own trainer but i encounter a difficulty. I found the static address, but it looks like this:

Code:
"XnaNative.dll" + 0001626C


I looked on the forum similar problem (code shifting) but i have trouble understanding how to get a "normal". The address of "XnaNative.dll" changes all the time, how can i find its real address?

PS: I found the solution on one of the topic, but the link of the program no longer exists (codeloc by spookie)

Thanks for the help
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu May 17, 2018 6:40 pm    Post subject: Reply with quote

I think GetModuleHandle is what you need to get the module address.
_________________
Back to top
View user's profile Send private message Visit poster's website
v78z
How do I cheat?
Reputation: 0

Joined: 17 May 2018
Posts: 5

PostPosted: Thu May 17, 2018 7:57 pm    Post subject: Reply with quote

TheyCallMeTim13 wrote:
I think GetModuleHandle is what you need to get the module address.


I hoped to have an answer using CE cuz my programming skills are quite limited. I found the equivalent of GetModuleHandle for C#, if someone have an accessible solution for a newbie i take ^^
In any case thank you for help i will study this Smile
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu May 17, 2018 8:29 pm    Post subject: Reply with quote

In CE just use the Lua function getAddress.
_________________
Back to top
View user's profile Send private message Visit poster's website
kantoboy69
Advanced Cheater
Reputation: 2

Joined: 31 Mar 2010
Posts: 71
Location: Manila

PostPosted: Thu May 17, 2018 11:15 pm    Post subject: Reply with quote

Try ctrl-m in memory view (to toggle show module addresses) to turn it off. Close CE then run it again. Open memory view and you see normal static address in ce.

or

Right-click in memory viewer (the memory dump part), click goto address paste "XnaNative.dll" + 0001626C then right click the top left dump and add click add this address to list then you get your static address

_________________
Cheater always prosper Hitler
Back to top
View user's profile Send private message
v78z
How do I cheat?
Reputation: 0

Joined: 17 May 2018
Posts: 5

PostPosted: Sat May 19, 2018 4:52 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
In CE just use the Lua function getAddress.


it works but it gives me the dynamic address, the address changes when i reboot the game

kantoboy69 wrote:
Try ctrl-m in memory view (to toggle show module addresses) to turn it off. Close CE then run it again. Open memory view and you see normal static address in ce.

or

Right-click in memory viewer (the memory dump part), click goto address paste "XnaNative.dll" + 0001626C then right click the top left dump and add click add this address to list then you get your static address


Same thing it works but i get the dynamic address. there may be something i'm doing wrong :/
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sat May 19, 2018 5:20 am    Post subject: Reply with quote

That's how it works in most new games.

Look into pointers.

_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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