 
- UID
- 21539
- 帖子
- 3031
- 主題
- 1555
- 精華
- 0
- 積分
- 3666
- 楓幣
- 2887
- 威望
- 3523
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 343
- 閱讀權限
- 90
- 在線時間
- 2854 小時
- 註冊時間
- 2013-1-30
- 最後登入
- 2025-3-14
|
//TwMs v222.1 CRC Auto HP/MP
[Enable]
alloc(HP,4)
alloc(MP,4)
alloc(CheckHP,128)
alloc(CheckMP,128)
alloc(PressKey,128)
label(HPReturn)
label(MPReturn)
define(HP_Value,#1000) //Define HP Trigger Here (Do not remove # tag)
define(MP_Value,#600) //Define MP Trigger Here (Do not remove # tag)
define(HealthKey,01520000) //HP Key--Insert
define(ManaKey,01510000) //MP Key--PgDown
HP:
dd HP_Value
MP:
dd MP_Value
CheckHP:
db 89 83 04 cb 00 00
cmp esi,[HP]
jg HPReturn
pushad
mov edx,HealthKey
call PressKey
popad
jmp HPReturn
CheckMP:
db 89 9f 14 02 00 00
cmp esi,[MP]
jg MPReturn
pushad
mov edx,ManaKey
call PressKey
popad
jmp MPReturn
025A2419:
jmp CheckHP
db 90
HPReturn:
0233EB62:
jmp CheckMP
db 90
MPReturn:
PressKey:
mov esi,[03DCF228]
mov ecx,[esi+A4]
push edx
push 00
call 02994920
ret
[disable]
025A2419:
db 89 83 04 cb 00 00
0233EB62:
db 89 9f 14 02 00 00
dealloc(HP)
dealloc(MP)
dealloc(CheckHP)
dealloc(CheckMP)
dealloc(UseHP)
dealloc(UseMP)
dealloc(PressKey)
|
|