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 


Variable as a Pointer Offset

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

Joined: 19 Apr 2015
Posts: 3

PostPosted: Sun Apr 19, 2015 12:36 am    Post subject: Variable as a Pointer Offset Reply with quote

First time posting Very Happy

So my idea is.

We have a pointer [P->XXXXXXXX]

So what im trying to do is, when i double click the pointer on the table(lower part of CE), the "Change Address Window" comes up, and there is the pointer with the offsets. --> Image attached.

Its part of a Player structure.
Is there a way to use a variable, instead of the "10" marked on the image??
In this case, its based on the inventory slot, c = 1, 10 = 2, 14 = 3...

So what im ask for??

A way to set a variable, when i change that variable value, my Offsets get this value.



Offset.png
 Description:
 Filesize:  26.55 KB
 Viewed:  5710 Time(s)

Offset.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Apr 19, 2015 4:56 am    Post subject: Reply with quote

where would you get the variable from? (how would you input it)
for now you'll have to use lua and a timer to update that offset

_________________
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
Naragatto
How do I cheat?
Reputation: 0

Joined: 19 Apr 2015
Posts: 3

PostPosted: Sun Apr 19, 2015 9:08 am    Post subject: Reply with quote

Dark Byte wrote:
where would you get the variable from? (how would you input it)


No idea, tried for 4~ hours after posting this and gave up.


Dark Byte wrote:
for now you'll have to use lua and a timer to update that offset

No need for it i think, i will have to do it manually.

PS: As a suggestion, it would be Perfect if we could set something like my first post.
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 Discussions 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