冰楓論壇

標題: TwMs v258.2 登記找路Thread [打印本頁]

作者: prt    時間: 2024-1-11 16:00
標題: TwMs v258.2 登記找路Thread
  1. //TwMs v258.2 登記找路Thread
  2. [ENABLE]
  3. RegisterSymbol(AutoFindway)
  4. Alloc(AutoFindway,512,MapleStory.exe)
  5. RegisterSymbol(delay)
  6. Alloc(delay,04,MapleStory.exe)
  7. Alloc(timer,04,MapleStory.exe)
  8. Label(do)
  9. CreateThread(AutoFindway)

  10. //換圖毫秒間隔,默認為1000毫秒,十六進制,切勿太低避免掉線問題。
  11. delay:
  12. dd 000003E8

  13. timer:
  14. dd 0

  15. AutoFindway:
  16. call 14472F0A0
  17. mov edx,eax
  18. sub edx,[timer]
  19. cmp edx,[delay]
  20. jl AutoFindway
  21. mov [timer],eax

  22. mov rax,[147131DA8]
  23. mov eax,[rax+000000E8]
  24. cmp eax,1
  25. jne AutoFindway

  26. mov rax,[147132238]
  27. mov eax,[rax+000225C4]
  28. cmp eax,0
  29. je AutoFindway

  30. mov rax,[147132238]
  31. mov eax,[rax+000225C4]
  32. cmp eax,000F423F
  33. je AutoFindway

  34. call do
  35. jmp AutoFindway

  36. do:
  37. mov rcx,[147132238]
  38. lea rcx,[rcx+08]
  39. mov rax,[rcx]
  40. call qword ptr [rax+48]
  41. test rax,rax
  42. je AutoFindway
  43. mov r15,[147132238]
  44. mov ebx,[r15+000225C0]
  45. mov edx,[r15+000225C4]
  46. sub edx,4 //adjust Y
  47. mov r9d,edx // Y座標
  48. mov r8d,ebx // X座標
  49. mov rcx,rax
  50. xor edx,edx
  51. inc edx
  52. call 140CEA540
  53. mov rax,[147132238]
  54. mov [rax+00024254],01
  55. ret

  56. [DISABLE]
  57. AutoFindway:
  58. ret

  59. DeAlloc(AutoFindway)
複製代碼





歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓