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 


Get an address "Value" equal a registered symbol

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

Joined: 02 Nov 2014
Posts: 26

PostPosted: Sun Nov 01, 2015 4:14 pm    Post subject: Get an address "Value" equal a registered symbol Reply with quote

How can I get a known address A in a process equal a value of a registered symbol, address B, in the "Value" column for Address A?

For example, how can I get it to be like this?
Code:

01BEF398 = registered symbol named "common1"

Address B: 01BEF398 = 50

Address A: 038450FC = common1


How can I get 038450FC to mimic the value of the "common1" address? Using the CE GUI, it does not let me assign the values of addresses to equal a symbol name.

Is there a way to do this while maintaining the different addresses?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Nov 01, 2015 4:23 pm    Post subject: Reply with quote

Code:
{$lua}
[ENABLE]
if mytimer == nil then
  mytimer=createTimer(nil, false)
  mytimer.Interval=1
  mytimer.OnTimer=function()
    writeInteger("038450FC", readInteger("common1"))
  end
end
mytimer.Enabled=true
[DISABLE]
mytimer.Enabled=false
Back to top
View user's profile Send private message
tdr2012
Cheater
Reputation: 0

Joined: 02 Nov 2014
Posts: 26

PostPosted: Sun Nov 01, 2015 9:05 pm    Post subject: Reply with quote

Zanzer wrote:
Code:
{$lua}
[ENABLE]
if mytimer == nil then
  mytimer=createTimer(nil, false)
  mytimer.Interval=1
  mytimer.OnTimer=function()
    writeInteger("038450FC", readInteger("common1"))
  end
end
mytimer.Enabled=true
[DISABLE]
mytimer.Enabled=false

Thanks so much. This works really well.
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