冰楓論壇

標題: TwMS v252.3 登記找路Thread [打印本頁]

作者: prt    時間: 2023-5-17 01:14
標題: TwMS v252.3 登記找路Thread
  1. //TwMS v252.3 登記找路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 14407BD90
  17. mov edx,eax
  18. sub edx,[timer]
  19. cmp edx,[delay]
  20. jl AutoFindway
  21. mov [timer],eax

  22. mov rax,[146734008]
  23. mov eax,[rax+00000220]
  24. cmp eax,1
  25. jne AutoFindway

  26. mov rax,[146734340]
  27. mov eax,[rax+0001FBC8]
  28. cmp eax,0
  29. je AutoFindway

  30. mov rax,[146734340]
  31. mov eax,[rax+0001FBC8]
  32. cmp eax,000F423F
  33. je AutoFindway

  34. call do
  35. jmp AutoFindway

  36. do:
  37. mov rcx,[146734340]
  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,[146734340]
  44. mov ebx,[r15+0001FBC8]
  45. mov edx,[r15+0001FBCC]
  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 140B71160
  53. mov rax,[146734340]
  54. mov [rax+000213E0],01
  55. ret

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

  59. DeAlloc(AutoFindway)
複製代碼

作者: qwe179317930    時間: 2023-5-23 09:03
會斷線




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