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 with pointers (maybe noob)...

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

Joined: 22 Sep 2012
Posts: 1

PostPosted: Sat Sep 22, 2012 11:34 am    Post subject: Help with pointers (maybe noob)... Reply with quote

Hello everybody.

I hope that this is not too noob...

I'm trying to cheat on the game Seven Kingdom Ancient Adversaries (the new freeware version). For those who don't know it, is a good RTS.

I found that there are 3 kinds of objects in the game: Units, Towns and Firms (every other structure, like factories, mines, forts, and so on).

For each kind of object, I found in static memory a byte which is the number of the object selected, and an address which points at the array of pointers for that kind of structure. Every kind of object is a different kind of record.

So, if I want to heal a unit, for example, I select it, pause the game, go to CE, and add in the cheat table an address pointer which have the static pointer for the array of units, an offset of 4*(the number of selected unit), and another offset of 58 (which is the float of the hit points of the unit in the unit record).

After that, if I want to heal another one, I must select it, go to CE, and shift the first offset to the number of this other unit...

As in combats there are many units and structures involved, selecting one by one, going back and forth to CE, calculate new offset is about a pain!

Now for the question: can I input an expression for the offset in a pointer, like (address of number of selected unit) * 4, or I need to use a script (lua or assembler), and how could refer to the result in the cheat table, to set a value and so use a hot key in the game?

Thank everybody in advance for any suggestion.

And thank for CE!
Back to top
View user's profile Send private message
chi89333
How do I cheat?
Reputation: 0

Joined: 28 Aug 2014
Posts: 5

PostPosted: Wed Feb 10, 2016 9:50 am    Post subject: Reply with quote

Hi

Noob

here do u have the gold offset address for 7k aa
so i cheat in single player mode
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