Script to make it so that it never increments it.
Code: Select all
{ Game : re2.exe
Version: 1.0
Date : 2019-01-29
Author : gir489
Never increment chest stat.
}
[ENABLE]
aobscanmodule(IncrementChestUsageStat,re2.exe,01 68 18 E9 8C 00 00 00) // should be unique
registersymbol(IncrementChestUsageStat)
IncrementChestUsageStat:
db 90 90 90
[DISABLE]
IncrementChestUsageStat:
add [rax+18],ebp
unregistersymbol(IncrementChestUsageStat)
{
// ORIGINAL CODE - INJECTION POINT: "re2.exe"+CAC939E
"re2.exe"+CAC9372: 74 05 - je re2.exe+CAC9379
"re2.exe"+CAC9374: E8 57 F1 2E F5 - call re2.exe+1DB84D0
"re2.exe"+CAC9379: 48 8B 43 50 - mov rax,[rbx+50]
"re2.exe"+CAC937D: 48 83 78 18 00 - cmp qword ptr [rax+18],00
"re2.exe"+CAC9382: 0F 85 52 01 00 00 - jne re2.exe+CAC94DA
"re2.exe"+CAC9388: 8B 74 24 50 - mov esi,[rsp+50]
"re2.exe"+CAC938C: E9 A1 00 00 00 - jmp re2.exe+CAC9432
"re2.exe"+CAC9391: 48 8B 47 70 - mov rax,[rdi+70]
"re2.exe"+CAC9395: 48 85 C0 - test rax,rax
"re2.exe"+CAC9398: 0F 84 5A FF FF FF - je re2.exe+CAC92F8
// ---------- INJECTING HERE ----------
"re2.exe"+CAC939E: 01 68 18 - add [rax+18],ebp
"re2.exe"+CAC93A1: E9 8C 00 00 00 - jmp re2.exe+CAC9432
// ---------- DONE INJECTING ----------
"re2.exe"+CAC93A6: 48 8B 47 70 - mov rax,[rdi+70]
"re2.exe"+CAC93AA: 48 85 C0 - test rax,rax
"re2.exe"+CAC93AD: 0F 84 45 FF FF FF - je re2.exe+CAC92F8
"re2.exe"+CAC93B3: 01 68 1C - add [rax+1C],ebp
"re2.exe"+CAC93B6: EB 7A - jmp re2.exe+CAC9432
"re2.exe"+CAC93B8: 48 89 FA - mov rdx,rdi
"re2.exe"+CAC93BB: 48 89 D9 - mov rcx,rbx
"re2.exe"+CAC93BE: E8 0D 1D 8D F4 - call re2.exe+139B0D0
"re2.exe"+CAC93C3: 41 89 C0 - mov r8d,eax
"re2.exe"+CAC93C6: 48 8B 43 50 - mov rax,[rbx+50]
}
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1