LIOBOSS wrote: ↑Thu May 08, 2025 9:59 am
Towers-Win64-Shipping-v1.2.CT
Towers-WinGDK-Shipping-v1.2.CT
Any reason why you have two tables?
Like, is there anything different between the two game version than the process name itself?
Bc if just the process name is different then use in your scripts
$process instead of the direct process name.
process is a global lua variable that holds the name of the attached process.
Now for attaching to a process using
openProcess as you do, you do not need to provide the full process name.
So you could just do
openProcess("Towers-") or
openProcess("-Shipping.exe").
Also in ALL of your scripts you use
INJECT as injection name.
This will cause quite a few trouble as that gets registered as symbol and there can only be one symbol with that name.
So using the same name over and over again across many scripts will cause conflicts between them.
Make sure to always use unique names for symbols or global variables.
For your
3) Activate me ! ... to enable POINTERS. script (same goes for your other pointer scripts),
there is no need to allocat two memory pages, one is more than enough.
Also, you can not allocate less than a whole memory page, so providing any number below 0x1000 will still default to 0x1000.
The correct way of writing it would be:
Code: Select all
[ENABLE]
aobScanModule(hpHook,$process,48 8B 07 48 8B D9 48 8B)
alloc(newmem,$1000,hpHook)
label(code)
label(return)
newmem:
mov [hp],rdi
code:
mov rax,[rdi]
mov rbx,rcx
jmp return
hp:
dq 0
hpHook:
jmp newmem
nop
return:
registerSymbol(hpHook)
registerSymbol(hp)
[DISABLE]
hpHook:
db 48 8B 07 48 8B D9
unregisterSymbol(*)
deAlloc(*)