btb 發表於 2023-3-30 21:37:32

TwMs v251.1 人物左右走+攻擊

//TwMs v251.1 人物左右走+攻擊

Alloc(AutoLRICSEntry,128,148241D80)
Alloc(AutoLRRange,08,148241D80)
Alloc(AutoLRMain,256,148241D80)
Alloc(AutoLRValue,08,148241D80)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)


AutoLRRange:
DQ A  //16進制 A=10 設置0為不左右走

AutoLRICSEntry:
push rax
mov rax,140BF7493
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp , 0
je 140BF7493
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft

GoLeft:
xor r14l,r14l
mov ,FFFFFFFF

//自動攻擊 案C  可以改其他按鍵
mov r8, 002E0000  //C  改Ctrl 用 001D0030下一行用 mov edx,11
mov edx,43
mov rcx,
call 143F9E060
//自動攻擊
jmp 140BF74B5


GoRight:
xor r14l,r14l
mov ,1

jmp 140BF74B5

148241D80:
DQ AutoLRICSEntry


148241D80:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)


harrytuasas 發表於 2023-3-30 23:10:25

先謝謝你提供那麼好的數據 但想請問不想自動攻擊的話怎麼修改呢?

btb 發表於 2023-3-30 23:24:41

harrytuasas 發表於 2023-3-30 23:10 static/image/common/back.gif
先謝謝你提供那麼好的數據 但想請問不想自動攻擊的話怎麼修改呢?

把這幾行全部刪掉
//自動攻擊 案C  可以改其他按鍵
mov r8, 002E0000  //C  改Ctrl 用 001D0030下一行用 mov edx,11
mov edx,43
mov rcx,
call 143F9E060
//自動攻擊

harrytuasas 發表於 2023-4-5 18:37:19

我把自動攻擊部分刪除後 跑出這條 請問如何解結呢?
//TwMs v251.1 人物左右走+攻擊

Alloc(AutoLRICSEntry,128,148241D80)
Alloc(AutoLRRange,08,148241D80)
Alloc(AutoLRMain,256,148241D80)
Alloc(AutoLRValue,08,148241D80)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)


AutoLRRange:
DQ A  //16進制 A=10 設置0為不左右走

AutoLRICSEntry:
push rax
mov rax,140BF7493
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp , 0
je 140BF7493
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft

GoLeft:
xor r14l,r14l
mov ,FFFFFFFF

btb 發表於 2023-4-5 19:19:25

harrytuasas 發表於 2023-4-5 18:37 static/image/common/back.gif
我把自動攻擊部分刪除後 跑出這條 請問如何解結呢?
//TwMs v251.1 人物左右走+攻擊



????你下面的也刪了數據不完整
頁: [1]
查看完整版本: TwMs v251.1 人物左右走+攻擊