- UID
- 75389
- 帖子
- 658
- 主題
- 88
- 精華
- 0
- 積分
- 365
- 楓幣
- 3619
- 威望
- 248
- 存款
- 500
- 贊助金額
- 0
- 推廣
- 0
- GP
- 6
- 閱讀權限
- 30
- 在線時間
- 2347 小時
- 註冊時間
- 2014-8-5
- 最後登入
- 2024-12-3
|
本帖最後由 xmax 於 2017-8-27 16:22 編輯
- //TwMs v200.1 自動喝水 [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 000003E8 //1000
- MP:
- DD 00002710 //10000
- //-----------------------
- HPKey:
- DD 01520000
- MPKey:
- DD 01530000
- //-----------------------
- AutoDrinker:
- PUSHAD
- MOV EAX,[02F871B4]
- CMP EAX,00000000
- JE Return
- MOV EBX,[EAX+18d0] //HP
- MOV EAX,[EAX+18d8] //MP
- MOV ECX,[HP]
- MOV EDX,[MP]
- CMP [EBX+1CC],ECX
- JB PressHPKey
- CMP [EAX+1CC],EDX
- JB PressMPKey
- JMP Return
- PressHPKey:
- mov ecx,[02F7BDF8] //
- PUSH 0000002D
- PUSH [HPKey]
- CALL 01B4BDD0 //
- JMP Return
- PressMPKey:
- mov ecx,[02F7BDF8] //
- PUSH 0000002D
- PUSH [MPKey]
- CALL 01B4BDD0 //
- Return:
- POPAD
- call 01C917E0
- JMP 01DB53D6+5
- 01DB53D6:
- JMP AutoDrinker
- [DISABLE]
- 01DB53D6:
- call 01C917E0
- //
- DeAlloc(HP)
- DeAlloc(MP)
- DeAlloc(HPKey)
- DeAlloc(MPKey)
- DeAlloc(AutoDrinker)
- UnRegisterSymbol(HP)
- UnRegisterSymbol(MP)
- UnRegisterSymbol(HPKey)
- UnRegisterSymbol(MPKey)
複製代碼 |
|