Jump to content
Moopler
  • 0

Question

Hey Guys how to update a script like this since it has no addys ?

[enable]
label(pet_teleport_restore)
registersymbol(pet_teleport_restore)
 
alloc(pet_teleport_hook,128)
label(pet_teleport_return)
 
aobscan(pet_teleport_aob,8B 50 04 8B 00 ? ? 8D 4D)
aobscan(vecctrl_set_position_aob,8B ? 24 ? 8B 41 ? 8B 40 ? 56 8D 71 ? 8B 4C 24 10)
 
pet_teleport_aob:
pet_teleport_restore:
jmp pet_teleport_hook
pet_teleport_return:
 
pet_teleport_hook:
push esi
mov esi,eax
mov edx,[eax+04]
mov eax,[eax]
pushad
 
lea ecx,[edi+4]
mov ebx,[edi+4]
mov ebx,[ebx+20]
call ebx
 
push [esi+04]
push [esi]
push 00
mov ecx,eax
call vecctrl_set_position_aob
 
popad
pop esi
jmp pet_teleport_return
 
[disable]
pet_teleport_restore:
mov edx,[eax+04]
mov eax,[eax]
 
unregistersymbol(pet_teleport_restore)
 

dealloc(pet_teleport_hook)

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 1

didn't know. Thanks. sorry for the post razz. u can delete it.

 

I think it's a better solution if you would mark hippo's reply as a best answer.

KCWkbX8.png

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×