if you guys are going to use bows for this code make sure an arrow is loaded then activate the code? I have yet to fully test if you can minibowgun in this game
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>1322</ID>
<Description>"Ammo"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="00000000"/>
<GroupHeader>1</GroupHeader>
<CheatEntries>
<CheatEntry>
<ID>1316</ID>
<Description>"Magazine"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : theHunterCotW_F.exe
Version:
Date : 2022-03-02
Author : Algester
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Ammo,theHunterCotW_F.exe,89 54 C8 04 C3 CC) // should be unique
alloc(newmem,$1000,Ammo)
label(code)
label(return)
newmem:
mov edx,[rax+rcx*8+04]
code:
mov [rax+rcx*8+04],edx
ret
jmp return
Ammo:
jmp newmem
return:
registersymbol(Ammo)
[DISABLE]
Ammo:
db 89 54 C8 04 C3
unregistersymbol(Ammo)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: theHunterCotW_F.exe+666C21
theHunterCotW_F.exe+666BF3: 48 8B 81 F8 02 00 00 - mov rax,[rcx+000002F8]
theHunterCotW_F.exe+666BFA: 4D 8B 04 C0 - mov r8,[r8+rax*8]
theHunterCotW_F.exe+666BFE: 41 0F B6 80 A9 00 00 00 - movzx eax,byte ptr [r8+000000A9]
theHunterCotW_F.exe+666C06: 0F B6 C8 - movzx ecx,al
theHunterCotW_F.exe+666C09: 49 8B 81 10 02 00 00 - mov rax,[r9+00000210]
theHunterCotW_F.exe+666C10: 89 54 C8 04 - mov [rax+rcx*8+04],edx
theHunterCotW_F.exe+666C14: C3 - ret
theHunterCotW_F.exe+666C15: 32 C0 - xor al,al
theHunterCotW_F.exe+666C17: 0F B6 C8 - movzx ecx,al
theHunterCotW_F.exe+666C1A: 49 8B 81 10 02 00 00 - mov rax,[r9+00000210]
// ---------- INJECTING HERE ----------
theHunterCotW_F.exe+666C21: 89 54 C8 04 - mov [rax+rcx*8+04],edx
// ---------- DONE INJECTING ----------
theHunterCotW_F.exe+666C25: C3 - ret
theHunterCotW_F.exe+666C26: CC - int 3
theHunterCotW_F.exe+666C27: CC - int 3
theHunterCotW_F.exe+666C28: CC - int 3
theHunterCotW_F.exe+666C29: CC - int 3
theHunterCotW_F.exe+666C2A: CC - int 3
theHunterCotW_F.exe+666C2B: CC - int 3
theHunterCotW_F.exe+666C2C: CC - int 3
theHunterCotW_F.exe+666C2D: CC - int 3
theHunterCotW_F.exe+666C2E: CC - int 3
}
</AssemblerScript>
</CheatEntry>
<CheatEntry>
<ID>1323</ID>
<Description>"Total Ammo"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : theHunterCotW_F.exe
Version:
Date : 2022-03-02
Author : Algester
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Total_Ammo,theHunterCotW_F.exe,41 89 8F C8 10 00 00) // should be unique
alloc(newmem,$1000,Total_Ammo)
label(code)
label(return)
newmem:
mov ecx,[r15+000010C8]
code:
mov [r15+000010C8],ecx
jmp return
Total_Ammo:
jmp newmem
nop 2
return:
registersymbol(Total_Ammo)
[DISABLE]
Total_Ammo:
db 41 89 8F C8 10 00 00
unregistersymbol(Total_Ammo)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: theHunterCotW_F.exe+8CC8BD
theHunterCotW_F.exe+8CC88A: 48 89 6C 24 48 - mov [rsp+48],rbp
theHunterCotW_F.exe+8CC88F: 48 8D A9 A0 02 00 00 - lea rbp,[rcx+000002A0]
theHunterCotW_F.exe+8CC896: 4C 89 7C 24 58 - mov [rsp+58],r15
theHunterCotW_F.exe+8CC89B: 48 98 - cdqe
theHunterCotW_F.exe+8CC89D: 4C 8D 3C 85 00 00 00 00 - lea r15,[rax*4+00000000]
theHunterCotW_F.exe+8CC8A5: 4C 03 FD - add r15,rbp
theHunterCotW_F.exe+8CC8A8: 41 8B 8F C8 10 00 00 - mov ecx,[r15+000010C8]
theHunterCotW_F.exe+8CC8AF: 41 2B C8 - sub ecx,r8d
theHunterCotW_F.exe+8CC8B2: 45 39 87 C8 10 00 00 - cmp [r15+000010C8],r8d
theHunterCotW_F.exe+8CC8B9: 41 0F 42 CC - cmovb ecx,r12d
// ---------- INJECTING HERE ----------
theHunterCotW_F.exe+8CC8BD: 41 89 8F C8 10 00 00 - mov [r15+000010C8],ecx
// ---------- DONE INJECTING ----------
theHunterCotW_F.exe+8CC8C4: 85 C9 - test ecx,ecx
theHunterCotW_F.exe+8CC8C6: 0F 85 9B 00 00 00 - jne theHunterCotW_F.exe+8CC967
theHunterCotW_F.exe+8CC8CC: 48 89 5C 24 40 - mov [rsp+40],rbx
theHunterCotW_F.exe+8CC8D1: 48 8D 9D D8 24 00 00 - lea rbx,[rbp+000024D8]
theHunterCotW_F.exe+8CC8D8: 48 89 74 24 50 - mov [rsp+50],rsi
theHunterCotW_F.exe+8CC8DD: 8D 71 10 - lea esi,[rcx+10]
theHunterCotW_F.exe+8CC8E0: 48 8B D3 - mov rdx,rbx
theHunterCotW_F.exe+8CC8E3: 48 2B D5 - sub rdx,rbp
theHunterCotW_F.exe+8CC8E6: 4A 8B 84 32 98 02 00 00 - mov rax,[rdx+r14+00000298]
theHunterCotW_F.exe+8CC8EE: 4E 8B 84 32 A0 02 00 00 - mov r8,[rdx+r14+000002A0]
}
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
if anyone is willing to DM me pointers on how to get say animal generation up I can most likely get that code updated I'm not acquianted if there are APEX related tools for cheat engine to make things easier