冰楓論壇
標題:
TwMs v258.2 登記找路Thread
[打印本頁]
作者:
prt
時間:
2024-1-11 16:00
標題:
TwMs v258.2 登記找路Thread
//TwMs v258.2 登記找路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 14472F0A0
mov edx,eax
sub edx,[timer]
cmp edx,[delay]
jl AutoFindway
mov [timer],eax
mov rax,[147131DA8]
mov eax,[rax+000000E8]
cmp eax,1
jne AutoFindway
mov rax,[147132238]
mov eax,[rax+000225C4]
cmp eax,0
je AutoFindway
mov rax,[147132238]
mov eax,[rax+000225C4]
cmp eax,000F423F
je AutoFindway
call do
jmp AutoFindway
do:
mov rcx,[147132238]
lea rcx,[rcx+08]
mov rax,[rcx]
call qword ptr [rax+48]
test rax,rax
je AutoFindway
mov r15,[147132238]
mov ebx,[r15+000225C0]
mov edx,[r15+000225C4]
sub edx,4 //adjust Y
mov r9d,edx // Y座標
mov r8d,ebx // X座標
mov rcx,rax
xor edx,edx
inc edx
call 140CEA540
mov rax,[147132238]
mov [rax+00024254],01
ret
[DISABLE]
AutoFindway:
ret
DeAlloc(AutoFindway)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓