To update the unlimited ammo (no reload) for Steam v 1.1.3, replace OP's Unlimited Ammo script with the following:
Right-click the script->Change script, erase all existing & paste in the below:
Code: Select all
[ENABLE]
aobscanmodule(ammo,$process,48 8B ?? 98 ?? ?? ?? 48 89 ?? ?? ?? 4C ?? ?? ?? ?? 44 8B ?? E8 ?? ?? ?? ?? 41 80 ?? 44 02 00 00 00)
alloc(newmem,$1000,ammo)
label(ammoBkp)
label(return)
newmem:
test edx,edx
jns @f
xor edx,edx
ammoBkp:
readmem(ammo,7)
jmp return
ammo:
jmp newmem
nop 2
return:
registersymbol(ammo)
registersymbol(ammoBkp)
[DISABLE]
ammo:
readmem(ammoBkp,7)
unregistersymbol(ammo)
unregistersymbol(ammoBkp)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: Stalker2-Win64-Shipping.exe+25CDFDE
Stalker2-Win64-Shipping.exe+25CDFC1: 8B 41 40 - mov eax,[rcx+40]
Stalker2-Win64-Shipping.exe+25CDFC4: 44 3B C0 - cmp r8d,eax
Stalker2-Win64-Shipping.exe+25CDFC7: 41 0F 4C C0 - cmovl eax,r8d
Stalker2-Win64-Shipping.exe+25CDFCB: 89 41 44 - mov [rcx+44],eax
Stalker2-Win64-Shipping.exe+25CDFCE: C3 - ret
Stalker2-Win64-Shipping.exe+25CDFCF: CC - int 3
Stalker2-Win64-Shipping.exe+25CDFD0: 41 56 - push r14
Stalker2-Win64-Shipping.exe+25CDFD2: 48 83 EC 30 - sub rsp,30
Stalker2-Win64-Shipping.exe+25CDFD6: 48 89 5C 24 40 - mov [rsp+40],rbx
Stalker2-Win64-Shipping.exe+25CDFDB: 4C 8B F1 - mov r14,rcx
// ---------- INJECTING HERE ----------
Stalker2-Win64-Shipping.exe+25CDFDE: 48 8B 89 98 00 00 00 - mov rcx,[rcx+00000098]
// ---------- DONE INJECTING ----------
Stalker2-Win64-Shipping.exe+25CDFE5: 48 89 7C 24 28 - mov [rsp+28],rdi
Stalker2-Win64-Shipping.exe+25CDFEA: 4C 89 7C 24 20 - mov [rsp+20],r15
Stalker2-Win64-Shipping.exe+25CDFEF: 44 8B FA - mov r15d,edx
Stalker2-Win64-Shipping.exe+25CDFF2: E8 29 71 FF FF - call Stalker2-Win64-Shipping.exe+25C5120
Stalker2-Win64-Shipping.exe+25CDFF7: 41 80 BE 44 02 00 00 00 - cmp byte ptr [r14+00000244],00
Stalker2-Win64-Shipping.exe+25CDFFF: 48 8B D8 - mov rbx,rax
Stalker2-Win64-Shipping.exe+25CE002: 74 1A - je Stalker2-Win64-Shipping.exe+25CE01E
Stalker2-Win64-Shipping.exe+25CE004: 41 8B 8E 40 02 00 00 - mov ecx,[r14+00000240]
Stalker2-Win64-Shipping.exe+25CE00B: E8 30 D0 DA FF - call Stalker2-Win64-Shipping.exe+237B040
Stalker2-Win64-Shipping.exe+25CE010: 48 8D 88 D8 00 00 00 - lea rcx,[rax+000000D8]
}