Riremito

TeleportFunction

Jun 24th, 2015
918
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Enable]
  2. //JMS v339.0
  3. Alloc(Teleport, 128)
  4. CreateThread(Teleport)
  5.  
  6. Teleport:
  7. mov esi,[01D42324]//CharacterBase?
  8. push 00
  9. push 00
  10. push [esi+52C4]//CharPID
  11. call 0153A720//56 8B 74 24 ?? 8D 96 ?? ?? ?? ?? 33 C9 E8 ?? ?? ?? ?? 8D 96 ?? ?? ?? ?? 33 C9 89 86
  12. ret
  13.  
  14. //you can get CharPID Offset easily by setting break point at the 0153A720(Real Teleport Function) and use portal or teleport skills
  15. //this function is not only for character, maple also calls it when the mob died
  16.  
  17. [Disable]
  18.  
  19. DeAlloc(Teleport)
Advertisement
Add Comment
Please, Sign In to add comment