Quote:
Originally Posted by chillmastor
okay guys I'm pretty sure that this wallhack must be wrong
could somebody post a working one pls?
|
[ENABLE]
alloc(Wall,64)
label(ReturnWall)
00796D8E: //8D BC 24 88 00 00 00
jmp Wall
nop
nop
ReturnWall:
Wall:
lea edi,ss:[esp+00000088]
cmp [eax+00000402],5f626577
je ReturnWall
mov [eax+00000402],5f626577
mov [eax+00000406],67616d69
mov [eax+0000040a],616d2e65
mov [eax+0000040e],00000063
jmp ReturnWall
[DISABLE]
dealloc(Wall)
alloc(NormalWall,64)
label(ReturnWall)
label(WriteMac)
00796D8E: //8D BC 24 88 00 00 00
jmp NormalWall
nop
nop
ReturnWall:
NormalWall:
mov di, word ptr [eax+202]
cmp word ptr [eax+402],di
lea edi,[esp+00000088]
je ReturnWall
pushad
sub ecx,ecx
cmp byte ptr [eax],11 //Avalon id
jnz WriteMac
mov byte ptr [eax+ecx+402],41
inc ecx
WriteMac:
mov dl, byte ptr [eax+ecx+202] //value for .mol
mov byte ptr [eax+ecx+402],dl
inc ecx
cmp byte ptr [eax+ecx+202],6d
jnz WriteMac
mov dword ptr [eax+ecx+402],0063616d
popad
jmp ReturnWall