[RELEASE]Fixed Wall Hack Script

01/18/2010 06:59 sachamo512#1
I don't know if anybody else has this issue, but I did, and I fixed the wall hack script. When I tried to turn off wall hack and then re-load to a new map, my game would crash. This script allows you to turn wall hack on or off without crashing.

My Script: (doesn't put walls back, but lets you stop using wall hack if you're going to DF or something)
Quote:
[ENABLE]
alloc(Wall,64)
label(ReturnWall)

00768533: //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)
00768533:
lea edi,[esp+00000088]
Bottomy's Script (allows turn-off, and puts walls back to original):
Quote:
[ENABLE]
alloc(Wall,64)
label(ReturnWall)

00768533: //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)

00768533: //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
01/18/2010 07:02 ejamious#2
this was the only thing I had problems with turning off, thanks a mill :D
01/18/2010 11:39 darksoulsx#3
wow this thing dcs me when i turn it off..
01/18/2010 12:37 ejamious#4
Quote:
Originally Posted by darksoulsx View Post
wow this thing dcs me when i turn it off..
Explain what you did and maybe we can find the problem, because it works just fine for me...
01/18/2010 14:37 Vaidas B#5
Quote:
Originally Posted by darksoulsx View Post
wow this thing dcs me when i turn it off..
Dont worry, all of his posts are saying that something has a problem.
01/18/2010 18:48 skabed#6
and what did you actually edit? the offset?
01/18/2010 21:25 sachamo512#7
I just edited one line in the code, not the offset or anything like that

@DarkSoul, did you update the offset? This is for my launcher, so you may need a different offset if you use a different launcher
01/19/2010 15:37 skabed#8
Quote:
Originally Posted by sachamo512 View Post
I just edited one line in the code, not the offset or anything like that

@DarkSoul, did you update the offset? This is for my launcher, so you may need a different offset if you use a different launcher
And which line of code did you edit? Cose it's exactly the same as the one i had since i started hacking
01/19/2010 15:41 sachamo512#9
all it took was to fix the last line. It didn't fit right with the original code, so when you disabled the script, it changed web_image.mac to something weird that the game didn't understand, which resulted in the crash. So I just fixed it so that it changed everything back to the real .mac
01/19/2010 15:49 skabed#10
Ok, finally i saw it xD.
You changed the
Code:
lea edi,ss:[esp+00000088]
from the original to
Code:
lea edi,[esp+00000088]
01/19/2010 16:17 sachamo512#11
that's right. the ss: was what caused the crash
01/19/2010 19:40 fliptrickdragon#12
This works really good for me, I always crashed when I turned it off, but I could turn it on in game just fine. Now I tried this one, and I don't crash....very good job man. you got my thanks/\.
01/19/2010 20:00 efei3278#13
Hey, i just have the issue that i cant turn it off, even after i turn off CE. I have this problem with the 'crash' version of wallhack and this version too.

any ideas?
01/19/2010 20:05 skabed#14
You must change maps for turning it off.
01/20/2010 03:42 byford9#15
Quote:
Originally Posted by skabed View Post
You must change maps for turning it off.
I know this is a lil off topic but, is there a way to turn off skill hacks? Cus I get bored of doing dungeons sometimes and want to pk, but I have to restart to get the skills hacks off x.x.