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] Addresses are changing in different OS

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

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Sun Nov 04, 2007 7:22 am    Post subject: [Help] Addresses are changing in different OS Reply with quote

I've made so far so good a working and nice Script with Codecave.
The bad thing is that the addresses are different for some computers.

The game starts and loads opengl32.dll (which i am hacking)

My addresses for the script are:

Quote:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
5eda4e1f:
db 8B 44 24 04 83 F8 05 74 10 83 F8 06 74 0B 64 A1 18 00 00 00 E9 BE DA F5 FF 68 71 0B 00 00 E8 06 E0 F5 FF EB E9 90
5ed028f0:
jmp 5eda4e1f


[DISABLE]
//code from here till the end of the code will be used to disable the cheat
5ed028f0:
mov eax, FS:[18]


In different OS i saw it changed to:

Quote:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
5f0d4e1f:
db 8B 44 24 04 83 F8 05 74 10 83 F8 06 74 0B 64 A1 18 00 00 00 E9 BE DA F5 FF 68 71 0B 00 00 E8 06 E0 F5 FF EB E9 90
5f0d28f0:
jmp 5eda4e1f


[DISABLE]
//code from here till the end of the code will be used to disable the cheat
5f0d28f0:
mov eax, FS:[18]


How to make a script which is working for both of us and any other person whom adresses are different from those?

_________________

Back to top
View user's profile Send private message
Tofu
Grandmaster Cheater
Reputation: 0

Joined: 25 Sep 2007
Posts: 620

PostPosted: Sun Nov 04, 2007 10:47 am    Post subject: Reply with quote

Use module addresses.. Search on those..

That would be my bet..

I had to use them on my bioshock scripts..
Worked for me.

_________________
Stuff by me:
Bioshock [AA Script]
TaskManager Fix
Cheetah wrote:
Forum rep is serious business.

Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Sun Nov 04, 2007 11:22 am    Post subject: Reply with quote

Module base like...
Code:
opengl32.dll+OFFSET
or
GetModuleHandle+GetProcAddress
Code:
Return value + OFFSET according to API size.

_________________
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