冰楓論壇
標題:
TwMs v257.1 登記找路Thread
[打印本頁]
作者:
prt
時間:
2023-11-29 13:28
標題:
TwMs v257.1 登記找路Thread
//TwMs v257.1 登記找路Thread
[ENABLE]
RegisterSymbol(AutoFindway)
Alloc(AutoFindway,512,MapleStory.exe)
RegisterSymbol(delay)
Alloc(delay,04,MapleStory.exe)
Alloc(timer,04,MapleStory.exe)
Label(do)
CreateThread(AutoFindway)
//換圖毫秒間隔,默認為1000毫秒,十六進制,切勿太低避免掉線問題。
delay:
dd 000003E8
timer:
dd 0
AutoFindway:
call 1444C12F0
mov edx,eax
sub edx,[timer]
cmp edx,[delay]
jl AutoFindway
mov [timer],eax
mov rax,[146E037D8]
mov eax,[rax+000000D0]
cmp eax,1
jne AutoFindway
mov rax,[146E03C38]
mov eax,[rax+00020274]
cmp eax,0
je AutoFindway
mov rax,[146E03C38]
mov eax,[rax+00020274]
cmp eax,000F423F
je AutoFindway
call do
jmp AutoFindway
do:
mov rcx,[146E03C38]
lea rcx,[rcx+08]
mov rax,[rcx]
call qword ptr [rax+48]
test rax,rax
je AutoFindway
mov r15,[146E03C38]
mov ebx,[r15+00020270]
mov edx,[r15+00020274]
sub edx,4 //adjust Y
mov r9d,edx // Y座標
mov r8d,ebx // X座標
mov rcx,rax
xor edx,edx
inc edx
call 140C66BD0
mov rax,[146E03C38]
mov [rax+00021E88],01
ret
[DISABLE]
AutoFindway:
ret
DeAlloc(AutoFindway)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓