|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
GradenT Newbie cheater Reputation: 0
Joined: 06 May 2012 Posts: 17
|
Posted: Fri Nov 02, 2012 10:13 am Post subject: How to pass the value of a address in the edit box? |
|
|
Hello forum users!
I can not read the values from the address in the edit box.
Code: | readInteger ("01C8FF0", getProperty (CETrainer_CEEdit1)) |
After this code, I get an error.
How to pass the value of a address in the edit box?
Search in Google does not solve this problem.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Fri Nov 02, 2012 4:37 pm Post subject: |
|
|
You need to either use control_setCaption or set the "Text" property of the editfield
try something like this
Code: |
setProperty (CETrainer_CEEdit1, "Text", readInteger ("01C8FF0"))
|
_________________
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 |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri Nov 02, 2012 5:43 pm Post subject: |
|
|
Great thank you.
Now I can make a teleport hack
(Well i could do it before, but now I can see my coords, so I don't need to guess the value.)
Dark Byte wrote: | You need to either use control_setCaption or set the "Text" property of the editfield
try something like this
Code: |
setProperty (CETrainer_CEEdit1, "Text", readInteger ("01C8FF0"))
|
|
But wait, if I want it to read it constantly?
Like If I change the address, it won't change (only if I press on Execute again).
_________________
|
|
Back to top |
|
|
GradenT Newbie cheater Reputation: 0
Joined: 06 May 2012 Posts: 17
|
Posted: Fri Nov 02, 2012 8:58 pm Post subject: |
|
|
Before you go into the topic, I found a method that solves this problem.
Code: | local value=readInteger("01C8FF0")
control_setCaption(CETrainer_CEEdit1, value) |
Dark Byte, thanks for answering my questions.
I think that your way is easier and better.
P \ s. Nevertheless, I will use Your algorithm, as it is more consistent.
DaSpamer wrote: | Great thank you.
Now I can make a teleport hack
(Well i could do it before, but now I can see my coords, so I don't need to guess the value.)
Dark Byte wrote: | You need to either use control_setCaption or set the "Text" property of the editfield
try something like this
Code: |
setProperty (CETrainer_CEEdit1, "Text", readInteger ("01C8FF0"))
|
|
But wait, if I want it to read it constantly?
Like If I change the address, it won't change (only if I press on Execute again). |
Set the timer for this function.
How to set the timer can not say, because this step has not yet passed.
But in this section of the forum, there are many topics on this topic.
|
|
Back to top |
|
|
|
|
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
|
|