冰楓論壇

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

作者: btb    時間: 2024-5-29 21:02
標題: TwMs v261.3 登記找路Thread
//TwMs v261.3 登記找路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 144998E60
mov edx,eax
sub edx,[timer]
cmp edx,[delay]
jl AutoFindway
mov [timer],eax

mov rax,[14755A000]
mov eax,[rax+000000E8]
cmp eax,1
jne AutoFindway

mov rax,[14755A4D8]
mov eax,[rax+000076CC]
cmp eax,0
je AutoFindway

mov rax,[14755A4D8]
mov eax,[rax+000076CC]
cmp eax,000F423F
je AutoFindway

call do
jmp AutoFindway

do:
mov rcx,[14755A4D8]
lea rcx,[rcx+08]
mov rax,[rcx]
call qword ptr [rax+48]
test rax,rax
je AutoFindway
mov r15,[14755A4D8]
mov ebx,[r15+000076C8]
mov edx,[r15+000076CC]
sub edx,4 //adjust Y
mov r9d,edx // Y座標
mov r8d,ebx // X座標
mov rcx,rax
xor edx,edx
inc edx
call 140E334C0
mov rax,[14755A4D8]
mov [rax+000093E4],01
ret

[DISABLE]
AutoFindway:
ret

DeAlloc(AutoFindway)







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