Kalas wrote: ↑Sun Mar 18, 2018 5:05 am
Will do but in 2 weeks, heading back to the army.
Thanks.
Kalas wrote: ↑Sun Mar 18, 2018 5:05 am
About the durability and super attack, I tested it and it worked fine. Zombies and even containers die/break instantly, I even turned on speedhack to test the durability.. At least 2 minutes just smashing zombies.
I redownloaded your table and tried different weapons and ammo types still does not work for me, but i notice that the attack and the durability values in the pointer section change when i switch it on/off (so the address its ok?) but in the game only the visual % work and the real attack still decrease over time because of the weapon degradation also the silencer will worn out as a sign of durability decreasing.
So im not telling you the script is broken but meaby is working only for you or few... meaby there is something on my side that interferes with this i dont know.
if you have time please check this script from the v1.6.1 table by thedown1, is outdated because of the new game patch but meaby you can just use it as reference and update your table and if you notice there are 2 scripts one for the "durability visual part" and one for the "real durability" these were working for me before the patch.
{ Game : mgv.exe
Version:
Date : 2018-02-23
Author : MBR
no repair weapons do not break
}
define(address,"mgv.exe"+10425DE)
define(bytes,89 48 04 80 48 64 04)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,"mgv.exe"+10425DE)
label(code)
label(return)
newmem:
code:
nop
nop
nop
or byte ptr [rax+64],04
jmp return
address:
jmp newmem
nop
nop
return:
[DISABLE]
address:
db bytes
// mov [rax+04],ecx
// or byte ptr [rax+64],04
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "mgv.exe"+10425DE
"mgv.exe"+10425C7: 74 1C - je mgv.exe+10425E5
"mgv.exe"+10425C9: 8B 50 04 - mov edx,[rax+04]
"mgv.exe"+10425CC: 41 3B D0 - cmp edx,r8d
"mgv.exe"+10425CF: 76 07 - jna mgv.exe+10425D8
"mgv.exe"+10425D1: 8B CA - mov ecx,edx
"mgv.exe"+10425D3: 41 2B C8 - sub ecx,r8d
"mgv.exe"+10425D6: EB 02 - jmp mgv.exe+10425DA
"mgv.exe"+10425D8: 33 C9 - xor ecx,ecx
"mgv.exe"+10425DA: 3B D1 - cmp edx,ecx
"mgv.exe"+10425DC: 74 07 - je mgv.exe+10425E5
// ---------- INJECTING HERE ----------
"mgv.exe"+10425DE: 89 48 04 - mov [rax+04],ecx
"mgv.exe"+10425E1: 80 48 64 04 - or byte ptr [rax+64],04
// ---------- DONE INJECTING ----------
"mgv.exe"+10425E5: F3 C3 - repe ret
"mgv.exe"+10425E7: CC - int 3
"mgv.exe"+10425E8: CC - int 3
"mgv.exe"+10425E9: CC - int 3
"mgv.exe"+10425EA: CC - int 3
"mgv.exe"+10425EB: CC - int 3
"mgv.exe"+10425EC: CC - int 3
"mgv.exe"+10425ED: CC - int 3
"mgv.exe"+10425EE: CC - int 3
"mgv.exe"+10425EF: CC - int 3
}
{ Game : mgv.exe
Version:
Date : 2018-02-23
Author : Thedown1
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Durability,mgv.exe,89 44 D1 28 C3) // should be unique
alloc(newmem,$1000,"mgv.exe"+1268ED2)
label(code)
label(return)
newmem:
code:
mov [rcx+rdx*8+28],9999
ret
jmp return
Durability:
jmp newmem
return:
registersymbol(Durability)
[DISABLE]
Durability:
db 89 44 D1 28 C3
unregistersymbol(Durability)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "mgv.exe"+1268ED2
"mgv.exe"+1268EAF: C3 - ret
"mgv.exe"+1268EB0: 48 C1 EA 10 - shr rdx,10
"mgv.exe"+1268EB4: 0F B7 C2 - movzx eax,dx
"mgv.exe"+1268EB7: 48 8D 14 C0 - lea rdx,[rax+rax*8]
"mgv.exe"+1268EBB: 48 8B 81 20 01 00 00 - mov rax,[rcx+00000120]
"mgv.exe"+1268EC2: 48 8B 48 28 - mov rcx,[rax+28]
"mgv.exe"+1268EC6: 8B 44 D1 28 - mov eax,[rcx+rdx*8+28]
"mgv.exe"+1268ECA: 41 3B C0 - cmp eax,r8d
"mgv.exe"+1268ECD: 76 08 - jna mgv.exe+1268ED7
"mgv.exe"+1268ECF: 41 2B C0 - sub eax,r8d
// ---------- INJECTING HERE ----------
"mgv.exe"+1268ED2: 89 44 D1 28 - mov [rcx+rdx*8+28],eax
"mgv.exe"+1268ED6: C3 - ret
// ---------- DONE INJECTING ----------
"mgv.exe"+1268ED7: 33 C0 - xor eax,eax
"mgv.exe"+1268ED9: 89 44 D1 28 - mov [rcx+rdx*8+28],eax
"mgv.exe"+1268EDD: F3 C3 - repe ret
"mgv.exe"+1268EDF: CC - int 3
"mgv.exe"+1268EE0: 40 55 - push rbp
"mgv.exe"+1268EE2: 56 - push rsi
"mgv.exe"+1268EE3: 57 - push rdi
"mgv.exe"+1268EE4: 48 83 EC 20 - sub rsp,20
"mgv.exe"+1268EE8: 49 8B F8 - mov rdi,r8
"mgv.exe"+1268EEB: 48 8B F2 - mov rsi,rdx
}