View previous topic :: View next topic |
Author |
Message |
kickclock Advanced Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 73
|
Posted: Tue Oct 23, 2018 10:10 am Post subject: [SOLVED] writeIntegerLocal doesn't work ? |
|
|
k1=readIntegerLocal("00400000")
print(k1)
writeIntegerLocal("00400000",0)
k2=readIntegerLocal("00400000")
print(k2)
output is:
9460301
9460301
00400000 doesn't change to 0.
is this a bug?
_________________
Love CE
Last edited by kickclock on Thu Oct 25, 2018 9:08 am; edited 1 time in total |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Tue Oct 23, 2018 10:14 am Post subject: |
|
|
that memory is readonly. You first need to make it writable (open ce itself andbuse fullaccess or use section replacements)
_________________
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 |
|
 |
kickclock Advanced Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 73
|
Posted: Tue Oct 23, 2018 10:34 am Post subject: |
|
|
understand ... is there a fullaccessLocal ? and a globalallocLocal should be great.
_________________
Love CE |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Thu Oct 25, 2018 12:14 am Post subject: |
|
|
no. but perhaps next version. But you can always open ce itself, it's what getCheatEngineProcessID() is for
_________________
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 |
|
 |
kickclock Advanced Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 73
|
Posted: Thu Oct 25, 2018 9:33 am Post subject: |
|
|
i ask this because i got a game use "Xor" to all value , hp mp ...
the xor key value is [age.exe+270990]+5eb94
so i write a new scan type named "4byte_xor" ,that i can find value easy. main code like this
Code: |
...
ConvertRoutine:
[64-bit]
mov eax,[rcx]
rol eax,0B
mov ecx,[age.exe+270990]
xor eax,[ecx+5eb94]
ror eax,19
ret
[/64-bit]
...
|
it error , because it‘s running in ce , not in age.exe.
then i think i can copy xor vuale to ce ,and i write a script like this ,
luacall(writeIntegerLocal("00400400",readInteger('[age.exe+270990]+5eb94')))
and change scan script like this
ConvertRoutine:
[64-bit]
mov eax,[rcx]
rol eax,0B
xor eax,[00400400]
ror eax,19
ret
[/64-bit]
the problem is writeIntegerLocal can't write readonly memory...
it's not a big truble, i can first open ce ,and fullaccess(0x00400000,0x1000)
then open age.exe , writeIntegerLocal("00400400",readInteger('[age.exe+270990]+5eb94'))
just let you know this .
_________________
Love CE |
|
Back to top |
|
 |
|