- UID
- 175467
- 帖子
- 24613
- 主題
- 1263
- 精華
- 0
- 積分
- 3048
- 楓幣
- 8969
- 威望
- 2458
- 存款
- 137915
- 贊助金額
- 1500
- 推廣
- 0
- GP
- 6121
- 閱讀權限
- 150
- 在線時間
- 4294 小時
- 註冊時間
- 2017-1-18
- 最後登入
- 2024-12-27
|
//TwMs v209.1 CRC 人物移動加速
//Author:kkmomo
//Modify: neilwaker
//Update:zeach01
[Enable]
Alloc(CharSpeedUp, 256)
Alloc(Speed, 04)
Alloc(FakeTime, 04)
RegisterSymbol(Speed)
Label(SpeedChk)
Label(Normal)
Label(SetFakeTime)
Label(InitFakeTime)
Speed:
DD 05
FakeTime:
DD 00
//-----------------------
CharSpeedUp:
push esi
mov esi,[Speed]
SpeedChk:
test esi,esi
je Normal
dec esi
push esi
push ecx
call 0094C110
pop ecx
pop esi
jmp SpeedChk
Normal:
pop esi
jmp 020265CE
//-----------------------
SetFakeTime:
cmp [FakeTime],00
je InitFakeTime
mov eax,[FakeTime]
add eax,000001FE
InitFakeTime:
mov [FakeTime],eax
jnl 03ECFBB5
//-----------------------
020265C9:
jmp CharSpeedUp
03ECFB82:
jmp SetFakeTime
//-----------------------
[Disable]
020265C9:
call 0094C110
03ECFB82:
jnl 03ECFBB5
DeAlloc(CharSpeedUp)
DeAlloc(FakeTime)
DeAlloc(Speed)
UnRegisterSymbol(Speed)
|
|