View previous topic :: View next topic |
Author |
Message |
etioplmld Advanced Cheater
Reputation: 0
Joined: 09 Feb 2021 Posts: 76
|
Posted: Fri Sep 09, 2022 10:34 am Post subject: for unicode string Compare |
|
|
alloc(stin,
alloc(gravity,
registersymbol(stin)
registersymbol(gravity)
stin:
dw 'DEFAULT_GRAVITY_MAXVEL', 0
newmem:
{$luacode cpst=stin addin=rsi gravity=scout}
srsg = readString(readPointer(addin+0x10) +0x14,64,true)
if srsg == cpst then
scout = addin
end
------------------------
After many tries it can be compiled,Although it is wrong。
|
|
Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 510
|
Posted: Fri Sep 09, 2022 12:14 pm Post subject: |
|
|
scout is undefined
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Fri Sep 09, 2022 12:27 pm Post subject: |
|
|
the luacode line only supports localname=register notations, no localname=symbol
_________________
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 |
|
 |
etioplmld Advanced Cheater
Reputation: 0
Joined: 09 Feb 2021 Posts: 76
|
Posted: Fri Sep 09, 2022 8:38 pm Post subject: |
|
|
alloc something cant use in {$luacode}so try Another way to export a pointer
start address :getAddress('gamename.exe')
end address :
getAddress('gamename.exe')+getModuleSize('gamename.exe')
san for codecaves
get a address 13F33AD70
more errors
Code: |
alloc(stin,8)
registersymbol(stin)
fullacces(13F33AD70,8)
stin:
dw 'DEFAULT_GRAVITY_MAXVEL', 0
newmem:
{$luacode cpst=stin addin=rsi }
srsg = readString(readPointer(addin+0x10)+0x14,64,true) //error
if srsg == cpst then
writeQword(13F33AD70,addin) //error
end
{$asm}
|
|
|
Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 510
|
Posted: Sat Sep 10, 2022 12:10 am Post subject: |
|
|
like Dark Byte said, luacode doesn't define symbols or memory allocation, only registers
|
|
Back to top |
|
 |
|