crono686 wrote: ↑Wed Aug 04, 2021 12:25 am
...
Hi, the first one doesn't enable. It says that the error is in line 24 which is this line:
i2aobScanModule(aobXpHook, gamedll_x64_rwdi.dll, 48xxxxxx8Bxxxx89xxxx48xxxxxx0FB7xxxxxxxxxx89)
Thank you very much for going to such lengths to try to help. I never expected this much help. I am now very interested in why it doesn't work for me and i am prepared to laugh at myself if it is something very stupid on my part.
Yeah I really don't get why this one doesn't work, there are 12 scripts calling that same function before it errors on the xp hook.
Well if the second one works then create a folder in the same directory as the cheat table and name it "ceaFiles". Then create a file in that folder and name it "XpHook.CEA" then paste this script in and save. See if the table works then.
Code: Select all
{
Process : DyingLightGame.exe - (x64)
Module : gamedll_x64_rwdi.dll
Game Title : DyingLightGame
Game File Version : 1.43.0.0
Game Version : 1.43.0.0
CE Version : 7.2
Script Version : 1.0.1
Date : 06/13/21
Author : ShyTwig16
Name : XpHook
Xp Hook
}
{$STRICT}
define(address, gamedll_x64_rwdi.dll+407092)
define(bytes, 8B 48 68 89 4B 50)
////
//// ------------------------------ ENABLE ------------------------------
[ENABLE]
aobScanModule(aobXpHook, gamedll_x64_rwdi.dll, 48xxxxxx8Bxxxx89xxxx48xxxxxx0FB7xxxxxxxxxx89)
// i2aobScanModule(aobXpHook, gamedll_x64_rwdi.dll, 48xxxxxx8Bxxxx89xxxx48xxxxxx0FB7xxxxxxxxxx89)
define(injXpHook, aobXpHook+4)
assert(injXpHook, bytes)
// i2assert(injXpHook, bytes)
registerSymbol(injXpHook)
alloc(memXpHook, 0x400, injXpHook)
label(ptrXpHook)
registerSymbol(ptrXpHook)
label(n_code)
label(o_code)
label(exit)
label(return)
memXpHook:
ptrXpHook:
dq 0
align 10 CC
n_code:
mov [ptrXpHook],rax
o_code:
mov ecx,[rax+68]
mov [rbx+50],ecx
exit:
jmp return
////
//// ---------- Injection Point ----------
injXpHook:
jmp n_code
nop
return:
////
//// ------------------------------ DISABLE ------------------------------
[DISABLE]
////
//// ---------- Injection Point ----------
injXpHook:
db bytes
unregisterSymbol(injXpHook)
unregisterSymbol(ptrXpHook)
dealloc(memXpHook)
{
//// Injection Point: gamedll_x64_rwdi.dll+407092 - 000007FECA3D7092
//// AOB address: 000007FECA3D708E - gamedll_x64_rwdi.dll+40708E
//// Process: DyingLightGame.exe - 000000013F930000
//// Module: gamedll_x64_rwdi.dll - 000007FEC9FD0000
//// Module Size: 000000000203D000
gamedll_x64_rwdi.dll+407049: 89 4B 74 - mov [rbx+74],ecx
gamedll_x64_rwdi.dll+40704C: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+407050: 8B 48 08 - mov ecx,[rax+08]
gamedll_x64_rwdi.dll+407053: 89 4B 44 - mov [rbx+44],ecx
gamedll_x64_rwdi.dll+407056: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+40705A: 0FB7 48 34 - movzx ecx,word ptr [rax+34]
gamedll_x64_rwdi.dll+40705E: 89 4B 78 - mov [rbx+78],ecx
gamedll_x64_rwdi.dll+407061: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+407065: 8B 48 28 - mov ecx,[rax+28]
gamedll_x64_rwdi.dll+407068: 89 4B 48 - mov [rbx+48],ecx
gamedll_x64_rwdi.dll+40706B: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+40706F: 0FB7 48 54 - movzx ecx,word ptr [rax+54]
gamedll_x64_rwdi.dll+407073: 89 4B 7C - mov [rbx+7C],ecx
gamedll_x64_rwdi.dll+407076: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+40707A: 8B 48 48 - mov ecx,[rax+48]
gamedll_x64_rwdi.dll+40707D: 89 4B 4C - mov [rbx+4C],ecx
gamedll_x64_rwdi.dll+407080: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+407084: 0FB7 48 74 - movzx ecx,word ptr [rax+74]
gamedll_x64_rwdi.dll+407088: 89 8B 80000000 - mov [rbx+00000080],ecx
gamedll_x64_rwdi.dll+40708E: 48 8B 42 40 - mov rax,[rdx+40] <<<--- AOB Starts Here
//// INJECTING START ----------------------------------------------------------
gamedll_x64_rwdi.dll+407092: 8B 48 68 - mov ecx,[rax+68]
gamedll_x64_rwdi.dll+407095: 89 4B 50 - mov [rbx+50],ecx
//// INJECTING END ----------------------------------------------------------
gamedll_x64_rwdi.dll+407098: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+40709C: 0FB7 88 94000000 - movzx ecx,word ptr [rax+00000094]
gamedll_x64_rwdi.dll+4070A3: 89 8B 84000000 - mov [rbx+00000084],ecx
gamedll_x64_rwdi.dll+4070A9: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+4070AD: 8B 88 88000000 - mov ecx,[rax+00000088]
gamedll_x64_rwdi.dll+4070B3: 89 4B 54 - mov [rbx+54],ecx
gamedll_x64_rwdi.dll+4070B6: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+4070BA: 0FB7 88 B4000000 - movzx ecx,word ptr [rax+000000B4]
gamedll_x64_rwdi.dll+4070C1: 89 8B 88000000 - mov [rbx+00000088],ecx
gamedll_x64_rwdi.dll+4070C7: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+4070CB: 8B 88 A8000000 - mov ecx,[rax+000000A8]
gamedll_x64_rwdi.dll+4070D1: 89 4B 58 - mov [rbx+58],ecx
gamedll_x64_rwdi.dll+4070D4: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+4070D8: 0FB7 88 D4000000 - movzx ecx,word ptr [rax+000000D4]
gamedll_x64_rwdi.dll+4070DF: 89 8B 8C000000 - mov [rbx+0000008C],ecx
gamedll_x64_rwdi.dll+4070E5: 48 8B 42 40 - mov rax,[rdx+40]
gamedll_x64_rwdi.dll+4070E9: 8B 88 C8000000 - mov ecx,[rax+000000C8]
gamedll_x64_rwdi.dll+4070EF: 89 4B 5C - mov [rbx+5C],ecx
gamedll_x64_rwdi.dll+4070F2: 48 8B 42 40 - mov rax,[rdx+40]
//// Template: I2CEA_AOBFullInjection
//// Generated with: I2 Cheat Engine Auto Assembler Script Template Generator
//// Code Happy, Code Freely, Be Awesome.
}