Anything Cheat Engine related, bugs, suggestions, helping others, etc..
mlengka93
Noobzor
Posts: 9 Joined: Mon Nov 25, 2019 4:55 pm
Reputation: 0
Post
by mlengka93 » Sun Nov 14, 2021 6:33 am
So, here is my Starting script to get Base Pointer
Code: Select all
[ENABLE]
aobscan(memorystart,D0 FF BD 27 21 68 A0 00 03 00 A3 30 01 00 05 24)
label(memoryS)
registersymbol(memoryS)
memorystart:
memoryS:
[DISABLE]
unregistersymbol(memoryS)
Is it possible to add another script to edit multiple address (recursive) in AA? something like this
Code: Select all
newmem:
cmp [counter],#23
jle code
jmp return
code:
cmp [counter],#23
jg return
add [recursive],4 //add 4 each write
mov [memoryS+recursive],#99
add [counter],#1
jle newmem
jmp return
counter:
dd 1
return:
and is it possible to grab memoryS address from first script to other?
TheByteSize
Expert Cheater
Posts: 293 Joined: Sat Mar 04, 2017 7:28 am
Reputation: 236
Post
by TheByteSize » Fri Nov 19, 2021 7:53 pm
Yes, you can. When you register a Symbol, it become a Global variable that you can access from any other scripts as long as it's initialized aka registered. Here is example.
Code: Select all
label(initialize)
label(loop)
label(exit)
initialize:
push eax
push ebx
xor eax,eax
xor ebx,ebx
mov eax, [memoryS]
loop:
mov [eax+ebx*4],#99
inc ebx
cmp ebx,#23
jl loop
exit:
pop ebx
pop eax
Last edited by
TheByteSize on Mon Nov 29, 2021 7:07 pm, edited 4 times in total.
GreenHouse
Expert Cheater
Posts: 852 Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 896
Post
by GreenHouse » Fri Nov 19, 2021 9:17 pm
You're better off by pushing registers for counters and all of that. Pointers are a bad idea and will make it more complicated to write.
Users browsing this forum: No registered users