Script for Python to Tomb

03/07/2009 18:49 Ultimate2moonsPlaya#1
Anyoen got the script for going from python to tomb I already have the adresses/
03/07/2009 19:38 badass123#2
Quote:
Originally Posted by Ultimate2moonsPlaya View Post
Anyoen got the script for going from python to tomb I already have the adresses/
Code:
cmp bx,0483 // check for python castle -> tomb of the black dragon
je change_teleport
0:5 python
03/07/2009 20:01 Ultimate2moonsPlaya#3
I need a full script the one I have is not working for some reason.
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(change_teleport)

005E2747:
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

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)
005E2747:
movzx ebx,word ptr [eax+00000104]
03/07/2009 22:08 -8gX#4
005540F3
is the memory address you need to have; change it in the enable and disable sections and it should work fine.
03/09/2009 08:09 jmiller#5
Quote:
Originally Posted by -8gX View Post
005540F3
is the memory address you need to have; change it in the enable and disable sections and it should work fine.
i change it but game crash.