- UID
- 175467
- 帖子
- 24570
- 主題
- 1261
- 精華
- 0
- 積分
- 3034
- 楓幣
- 8222
- 威望
- 2447
- 存款
- 137915
- 贊助金額
- 1500
- 推廣
- 0
- GP
- 6104
- 閱讀權限
- 150
- 在線時間
- 4236 小時
- 註冊時間
- 2017-1-18
- 最後登入
- 2024-12-12
|
本帖最後由 btb 於 2017-10-1 15:17 編輯
//TwMs v201.3 自動喝水 [CRC]
//Author: Doem 2017-04-09
[ENABLE]
RegisterSymbol(HPKey)
RegisterSymbol(MPKey)
RegisterSymbol(HP)
RegisterSymbol(MP)
Alloc(AutoDrinker, 128)
Label(PressHPKey)
Label(PressMPKey)
Label(Return)
Alloc(HPKey,04)
Alloc(MPKey,04)
Alloc(HP,04)
Alloc(MP,04)
//-----------------------
HP:
DD 00000BB8 //3000
MP:
DD 000002BC //700
//-----------------------
HPKey:
DD 01470000 //Home
MPKey:
DD 014F0000 //End
//-----------------------
AutoDrinker:
PUSHAD
MOV EAX,[03070D1C]
CMP EAX,00000000
JE Return
MOV EBX,[EAX+18E0]
MOV EAX,[EAX+18E8]
MOV ECX,[HP]
MOV EDX,[MP]
CMP [EBX+1CC],ECX
JB PressHPKey
CMP [EAX+1CC],EDX
JB PressMPKey
JMP Return
PressHPKey:
mov ecx,[0306566C]
PUSH 0000002D
PUSH [HPKey]
CALL 01BEE590
JMP Return
PressMPKey:
mov ecx,[0306566C]
PUSH 0000002D
PUSH [MPKey]
CALL 01BEE590
Return:
POPAD
call 01D3FDC0
JMP 01E6D3B6+5
01E6D3B6:
JMP AutoDrinker
[DISABLE]
01E6D3B6:
call 01D3FDC0
DeAlloc(HP)
DeAlloc(MP)
DeAlloc(HPKey)
DeAlloc(MPKey)
DeAlloc(AutoDrinker)
UnRegisterSymbol(HP)
UnRegisterSymbol(MP)
UnRegisterSymbol(HPKey)
UnRegisterSymbol(MPKey)
|
|