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 


property offset of mono feature

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 958

PostPosted: Thu Aug 13, 2015 6:37 pm    Post subject: property offset of mono feature Reply with quote

Hi,
I've make an aa script with mono feature to obtain offsets of properties from a class, here the part of the working script:

Code:
_stm+20:
readmem(stm+03,6)
push dword ptr [eax+CharacterBattleScript.MaxStamina+4]
pop  dword ptr [eax+CharacterBattleScript.Stamina+4]
jmp stm+09


eax should be equivalent of this.
The additional offset '+4' is necessary for the correct execution.

Why is so?

thank you~

ADDED 64bit version, this time it need an offset+8 adjustment? Why?


btw, both 32 or 64 bit has this part of code called at common aa section (before [ENABLE])
Code:
getmonostruct(CharacterBattleScript)
define(stm,"CharacterBattleScript:UpdateStatusStamina")



cemonoofs.jpg
 Description:
mono offset
 Filesize:  79.27 KB
 Viewed:  4819 Time(s)

cemonoofs.jpg



_________________
- Retarded.
Back to top
View user's profile Send private message
Stacktrace
Expert Cheater
Reputation: 1

Joined: 04 Jul 2015
Posts: 105

PostPosted: Thu Aug 20, 2015 7:17 am    Post subject: what game is that? Reply with quote

what game is that?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Aug 20, 2015 7:57 am    Post subject: Reply with quote

Is this with your fix or without ?

(for i=2, #sortedindex do -> for i=1, #sortedindex do )

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

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

Joined: 01 Oct 2008
Posts: 958

PostPosted: Thu Aug 20, 2015 9:56 am    Post subject: Reply with quote

@Tender
The game is "Celestian Tales: Old North" http://forum.cheatengine.org/viewtopic.php?t=583423

@Dark Byte
It is without. This post before I post the related at beta forum.

_________________
- Retarded.
Back to top
View user's profile Send private message
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