simon20594 發表於 2018-7-10 18:58:58

TwMS 208.3 ICS 人物左右走+紅點斷線

//TwMS 208.3 ICS 人物左右走+紅點斷線

Alloc(AutoLRICSEntry, 64)
Label(ICSReturn)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRMain, 128)
Label(GoLeft)
Label(GoRight)
RegisterSymbol(AutoLRRange)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)
//-----------------------------------------------
AutoLRRange:
DD A        //距離 16進制 A=10
//-----------------------------------------------
AutoLRICSEntry:
Cmp   , 009682FE               
Jne   ICSReturn
Mov   , AutoLRMain
ICSReturn:
Jmp   GetFocus
//-------------------
AutoLRMain:
//不要紅點停止請刪除以下
Push Ebx
mov ebx,
Mov Ebx,
Cmp Ebx,         3 //紅點人數:1人(自己也要算+1)
Pop Ebx
Jge GetFocus
//不要紅點停止請刪除以上
Cmp   , 0
Je 009682FE               
Push  Eax
Inc   
Mov   Eax,
Cmp   Eax,
Jge   GoLeft
Add   Eax,
Cmp   Eax,
Jge   GoRight
Mov   , 1
Jmp   GoLeft

GoLeft:
Mov   , FFFFFFFF
Pop   Eax
Jmp   00968B2A               

GoRight:
Mov   , 00000001
Pop   Eax
Jmp   00968B2A               
//-----------------------------------------------
038E0600:
DD AutoLRICSEntry

038E0600:               
DD GetFocus

Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)

yuan950555 發表於 2018-7-10 19:05:55

你紅點裡面那個 怎麼找的
我是找不出來不敢更新

simon20594 發表於 2018-7-10 19:10:10

yuan950555 發表於 2018-7-10 19:05 static/image/common/back.gif
你紅點裡面那個 怎麼找的
我是找不出來不敢更新

請參考
https://bingfong.com/forum.php?mod=viewthread&tid=585353&extra=page=1%26filter=typeid%26typeid=17%26typeid=17

yuan950555 發表於 2018-7-10 19:22:20

.... 對齁

a0612009 發表於 2018-7-11 00:43:53

大大你好,請問我只要紅點停止,不需要人物左右走的話,只需要這樣就行了嗎

//不要紅點停止請刪除以下
Push Ebx
mov ebx,
Mov Ebx,
Cmp Ebx,         3 //紅點人數:1人(自己也要算+1)
Pop Ebx
Jge GetFocus
//不要紅點停止請刪除以上
頁: [1]
查看完整版本: TwMS 208.3 ICS 人物左右走+紅點斷線