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 


Need of assistance :D Offset a quick one

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

Joined: 13 Sep 2013
Posts: 222

PostPosted: Sat May 24, 2014 4:46 pm    Post subject: Need of assistance :D Offset a quick one Reply with quote

mov eax,[rcx+rax*4+0000009C]
RCX = 1B9AF898
RAX = 05F5CB7C

what would the offset of this be? its not 9c i can tell you that

which one is base addresse rcx or rax

or is there another way to point to the address of [rcx+rax*4+0000009C]
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat May 24, 2014 5:14 pm    Post subject: Reply with quote

For this code, the offset is "dynamic". It's rax*4+0000009C. The exact offset is depending on rax.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Sat May 24, 2014 5:19 pm    Post subject: Reply with quote

Thx Geri Very Happy
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat May 24, 2014 5:25 pm    Post subject: Reply with quote

This code is probably accessing to a bunch of addresses. In some games, if items or ammo for weapons are stored in a single structure, you can find codes like this to access to all items or all ammo values with one code. Such dynamic offsets can be used to access to an array of bytes and pick an item from a list instead of using 9 code with 9 different offsets to access to 9 items.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
NanoByte
Expert Cheater
Reputation: 1

Joined: 13 Sep 2013
Posts: 222

PostPosted: Sat May 24, 2014 6:06 pm    Post subject: Reply with quote

Yeah i gave up on this and went in another direction. its always a good thing to learn new stuff though, thanks mate Very Happy
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