| View previous topic :: View next topic |
| Author |
Message |
Spawnova Newbie cheater
Reputation: 0
Joined: 12 Feb 2013 Posts: 22
|
Posted: Tue Dec 23, 2014 7:16 pm Post subject: [Solved] Using pointer with address variable |
|
|
I'm curious if there is a way to set a variable containing an address that I can use in my pointers so that when the base address changes I don't have to manually change all 50+ entries
so BasePointer = "0x01CB53A8"
and all I would have to do is change the BasePointer variable and all entries would update.
If anyone knows how or if it's not possible, please let me know. =)
Last edited by Spawnova on Tue Dec 23, 2014 11:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
aikoncwd Grandmaster Cheater
Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Tue Dec 23, 2014 8:54 pm Post subject: Re: Using pointer with address variable |
|
|
| Spawnova wrote: | I'm curious if there is a way to set a variable containing an address that I can use in my pointers so that when the base address changes I don't have to manually change all 50+ entries
so BasePointer = "0x01CB53A8"
and all I would have to do is change the BasePointer variable and all entries would update.
If anyone knows how or if it's not possible, please let me know. =) |
Ofc, I use globalalloc() method but you can do the same witm registersymbol() here is an example:
| Code: | [ENABLE]
aobscan(INJECT,8B 50 58 FF 70 5C)
alloc(newmem,$1000)
label(code)
label(return)
globalalloc(pBase,4) //add this to create a "variable"
newmem:
code:
mov edx,[eax+58]
mov [pBase],eax //store the value of EAX (basepointer) into my "variable"
push [eax+5C]
jmp return
INJECT:
jmp code
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 8B 50 58 FF 70 5C
unregistersymbol(INJECT)
dealloc(newmem)
|
Then add a manual address (pointer) like this:
Activate the script and the pointer+offset will be filled.
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
| Back to top |
|
 |
Spawnova Newbie cheater
Reputation: 0
Joined: 12 Feb 2013 Posts: 22
|
Posted: Tue Dec 23, 2014 11:15 pm Post subject: |
|
|
| Thanks, I've got everything working now. =)
|
|
| Back to top |
|
 |
123iamking Newbie cheater
Reputation: 0
Joined: 06 Sep 2015 Posts: 12
|
Posted: Sun May 31, 2020 8:39 pm Post subject: Re: Using pointer with address variable |
|
|
| AikonCWD wrote: | | Spawnova wrote: | ...
so BasePointer = "0x01CB53A8"
and all I would have to do is change the BasePointer variable and all entries would update.
|
Ofc, I use globalalloc() method but you can do the same witm
... |
Hi, I don't want to use script, but I want other entries to recognize the BasePointer = "0x01CB53A8".
I see that Cheat Engine already support this feature:
Entry Health = 10.
Entry MaxHealth = 100.
Instead of set Entry Health=100, I can set Entry Health=(MaxHealth)
Cheat Engine recognizes "(MaxHealth)" as value of MaxHealth.
So is there anyway I can make other Entries recognize BasePointer?
|
|
| Back to top |
|
 |
|