乂Boyue乂 發表於 2017-2-15 03:58:47

TwMS v196.2_ICS_人物左右走

//TwMS v196.2_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

AutoLRICSEntry:
Cmp   , 012F4F9A //3b 45 ?? 0f 85 ?? ?? ?? ?? 8b 0d ?? ?? ?? ?? e8 ?? ?? ?? ?? 85 c0 0f 84 ?? ?? ?? ?? 39 35
Jne   ICSReturn
Mov   , AutoLRMain

ICSReturn:
Jmp   GetFocus

AutoLRMain:
Cmp   , 0
Je    012F4F9A //add1
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   012F5517 //add1 + 5 > getoffset

GoRight:
Mov   , 00000001
Pop   Eax
Jmp   012F5517 //add1 + 5 > getoffset

02157888: //add1 - 4 > read
DD AutoLRICSEntry


02157888:
DD GetFocus

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

KAI_99999 發表於 2017-2-16 11:21:37

請問 人物左右走 人物移動亮 走左邊 會比走右邊多一點(左右走中心點 一直往左偏移的意思)
要怎麼改善?
頁: [1]
查看完整版本: TwMS v196.2_ICS_人物左右走