Map Hack Help

07/03/2009 06:05 sachamo512#1
This is my script. I tried going to 0,5, and 5,5. Neither one works. Any idea why?

Quote:
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(change_teleport)

005540F3:
jmp newmem
nop
nop
returnhere:

newmem:
originalcode:
movzx ebx,word ptr [eax]

cmp bx,0483 // check for Python Castle -> Tomb of the Black Dragon
je change_teleport

cmp bx,4E20 // check for Braiken Castle -> Draco Desert
je change_teleport

cmp bx,2B8C // check for North Morte -> Acquirai Ruins
je change_teleport

cmp bx,048D // check for tomb of the black dragon -> Cursed Mazed
je change_teleport

jmp exit

change_teleport:
mov word ptr [eax+00000106],0005
mov word ptr [eax+0000010C],0005

exit:
movzx ebx,word ptr [eax+00000104]
jmp returnhere

[DISABLE]

dealloc(newmem)
005542C3:
movzx ebx,word ptr [eax+00000104]
07/03/2009 06:59 fuckdie#2
The offsets r
00550963 not 005540F3