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 


AA recalculate values

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

Joined: 29 Oct 2015
Posts: 35

PostPosted: Fri Feb 17, 2017 2:59 pm    Post subject: AA recalculate values Reply with quote

Hello everyone,
Lately i encountered a problem which i can not solve. Here's the issue :
My base player address always stored at some offset from game exe, lets say for example : game.exe+134 and the value is 0EBD28C0
when i enable the AA script and check the new allocated address with my code i can the value and all works good.
Now when i load new map or start new game the address at game.exe+134 changes but its still points to my base player (lets say to 145C6E00). Problem is, that when i look at my code now i still see the old value, 0EBD28C0 as if it was hard-coded. Obviously the cheat fails since old value is irrelevant anymore. If i disable the script and enable back then the value is recalculated again and holds the correct one. So it seems that addresses calculated at script enable time and not at run time. How can load new values without re-enable the script ?
Thanks,
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Fri Feb 17, 2017 4:41 pm    Post subject: Reply with quote

Just post your CT file here. It would be much easier to help you.
_________________
Back to top
View user's profile Send private message MSN Messenger
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Fri Feb 17, 2017 6:02 pm    Post subject: Reply with quote

Managed to solve this in another way. Digging deeper into the values of the registers i found one of them holds base address as well and there i was able to tell AI and human apart.
BTW i think (not tested though), my original approach could be solved by loading the address of the game exe first and then add the offsets.

Thanks for trying to help, very appreciated !
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