Figured out how to freeze backpack weight.
The table is attached, the script will be found below instructions
[INSTRUCTIONS]
1. Change to no backpack, it will remove all items from inventory.
(optional 1) change to whatever backpack you like if you don't care about the penalties
2. Activate 'freeze_weight'.
3. Put everything you own in your backpack
Profit!
NOTE: You will be over the limit when you load a game, or deactivate the cheat.
If you bought new stuff and want to add it to overweight inventory: switch to any backpack and it will remove all items on your backpack.
Then you can change to "No backpack", and activate 'freeze_weight' and add everything back in
[SCRIPT]
freeze_weight AOB script
Version:
Date : 2019-02-08
Author : axyd
This script does blah blah blah
}
[ENABLE]
aobscanmodule(freeze_weight,theHunterCotW_F.exe,F2 42 0F 11 04 3A) // should be unique
alloc(newmem,$1000,"theHunterCotW_F.exe"+10999F5)
label(code)
label(return)
newmem:
mov [rdx+r15],0
jmp return
code:
movsd [rdx+r15],xmm0
jmp return
freeze_weight:
jmp newmem
nop
return:
registersymbol(freeze_weight)
[DISABLE]
freeze_weight:
db F2 42 0F 11 04 3A
unregistersymbol(freeze_weight)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "theHunterCotW_F.exe"+10999F5
"theHunterCotW_F.exe"+10999C9: 48 8B 55 AF - mov rdx,[rbp-51]
"theHunterCotW_F.exe"+10999CD: E8 4E ED FF FF - call theHunterCotW_F.exe+1098720
"theHunterCotW_F.exe"+10999D2: E9 97 04 00 00 - jmp theHunterCotW_F.exe+1099E6E
"theHunterCotW_F.exe"+10999D7: 0F B6 45 AF - movzx eax,byte ptr [rbp-51]
"theHunterCotW_F.exe"+10999DB: 42 88 04 3A - mov [rdx+r15],al
"theHunterCotW_F.exe"+10999DF: E9 91 04 00 00 - jmp theHunterCotW_F.exe+1099E75
"theHunterCotW_F.exe"+10999E4: 8B 45 AF - mov eax,[rbp-51]
"theHunterCotW_F.exe"+10999E7: 42 89 04 3A - mov [rdx+r15],eax
"theHunterCotW_F.exe"+10999EB: E9 85 04 00 00 - jmp theHunterCotW_F.exe+1099E75
"theHunterCotW_F.exe"+10999F0: F2 0F 10 45 AF - movsd xmm0,[rbp-51]
// ---------- INJECTING HERE ----------
"theHunterCotW_F.exe"+10999F5: F2 42 0F 11 04 3A - movsd [rdx+r15],xmm0
// ---------- DONE INJECTING ----------
"theHunterCotW_F.exe"+10999FB: E9 75 04 00 00 - jmp theHunterCotW_F.exe+1099E75
"theHunterCotW_F.exe"+1099A00: 4C 8B 45 AF - mov r8,[rbp-51]
"theHunterCotW_F.exe"+1099A04: 49 8B CF - mov rcx,r15
"theHunterCotW_F.exe"+1099A07: E8 C4 EF FF FF - call theHunterCotW_F.exe+10989D0
"theHunterCotW_F.exe"+1099A0C: E9 5D 04 00 00 - jmp theHunterCotW_F.exe+1099E6E
"theHunterCotW_F.exe"+1099A11: 4D 8B C6 - mov r8,r14
"theHunterCotW_F.exe"+1099A14: BA 32 04 00 00 - mov edx,00000432
"theHunterCotW_F.exe"+1099A19: 48 8D 4D BF - lea rcx,[rbp-41]
"theHunterCotW_F.exe"+1099A1D: E8 6E F6 F9 FF - call theHunterCotW_F.exe+1039090
"theHunterCotW_F.exe"+1099A22: 90 - nop
}
To add script to someone else's table:
1. double click where it says <script> under values on any existing one.
2. delete all the existing text
3. paste the script code
DO NOT CLICK OK
4. click file > assign to current cheat table
5. click file->exit
6. rename the added script to something meaningful like "John's script for blah"
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