PS. If you make hacks do it on dedicated server,most things work different way than 'host game' handle that
So don't be surprised if values don't work.
I have fully working autochamber on 'host'game (code below)
Basic version of it
All I need is figure out how to control swing on real servers.
create one code injection assign to the current table and see how they work.
autochamber code"
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
alloc(Oeax,4)
registersymbol(Oeax)
label(returnhere)
label(originalcode)
label(exit)
newmem:
originalcode:
mov [Oeax],eax
push Oeax
lea eax,[esp+20]
exit:
jmp returnhere
"mb_warband.exe"+F6C27:
jmp newmem
nop
nop
returnhere:
alloc(newmem1,2048)
label(returnhere1)
label(originalcode1)
label(one)
label(two)
label(three)
label(four)
label(exit1)
newmem1:
cmp [Oeax],0
je one
cmp [Oeax],1
je two
cmp [Oeax],2
je three
cmp [Oeax],3
je four
one:
mov [eax],0
test ecx,ecx
jnge mb_warband.exe+DF7CB
jmp returnhere1
two:
mov [eax],2
test ecx,ecx
jnge mb_warband.exe+DF7CB
jmp returnhere1
three:
mov [eax],1
test ecx,ecx
jnge mb_warband.exe+DF7CB
jmp returnhere1
four:
mov [eax],3
test ecx,ecx
jnge mb_warband.exe+DF7CB
jmp returnhere1
originalcode1:
//mov [eax],ecx
//test ecx,ecx
//jnge gamewb2.com+DF7CB
exit1:
jmp returnhere1
"mb_warband.exe"+DF76A:
jmp newmem
nop
returnhere1:
[DISABLE]
dealloc(newmem)
"mb_warband.exe"+DF76A:
mov [eax],ecx
test ecx,ecx
jnge mb_warband.exe+DF7CB
dealloc(newmem)
"mb_warband.exe"+F6C27:
mov [esi],eax
push esi
lea eax,[esp+20]