Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. //v179.4
  2. //Mob Vac Credits to kevintjuh93 and CJ.
  3. define(h1,01055770)//8B AC 24 ? ? ? ? 33 C9 83 C4 ? 83 F8 ? 0F 94 ? 33 F6 55 89 74 ? ? 89 8C ? ? ? ? ? 8B CB E8 (function start)
  4.  
  5. [ENABLE]
  6. alloc(CMob__GenerateMovePath_Hook,64)
  7. label(Return)
  8.  
  9. CMob__GenerateMovePath_Hook:
  10. push eax
  11. mov [esp+C+04],#07 // nAction, 9 for freeze Vellum
  12. mov [esp+C+08],#01 // bLeft
  13. mov [esp+C+10],#00 // bChase
  14. mov [esp+C+14],#23 // nMoveType
  15. mov [esp+C+18],#arg1 // nMoveEndingX
  16. mov [esp+C+1C],#arg2 // nMoveEndingY
  17. mov [esp+C+20],#00 // bMoveLeft
  18. mov [esp+C+24],#00 // bRiseByToss
  19. mov [esp+C+28],#100 // nTossHeightWeight
  20. mov [esp+C+2C],#0 // eSkillID
  21. mov [esp+C+30],#0 // pUserLocal
  22. mov [esp+C+34],#0 // _nRushDistance
  23. mov [esp+C+38],#0 // bAirHit
  24. pop eax
  25. jmp Return
  26.  
  27. h1+7: // CMob::GenerateMovePath
  28. jmp CMob__GenerateMovePath_Hook
  29. db 90
  30. Return:
  31.  
  32. [DISABLE]
  33. h1+7:
  34. db 64 A1 00 00 00 00
  35.  
  36. dealloc(CMob__GenerateMovePath_Hook)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement