- UID
- 119417
- 帖子
- 10984
- 主題
- 4308
- 精華
- 0
- 積分
- 5381
- 楓幣
- 13976
- 威望
- 5284
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 713
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1947 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-12-1
|
- //TwMs v201.1_CRC_人物移動加速
- //Author:kkmomo
- [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 0085DFF0
- pop ecx
- pop esi
- jmp SpeedChk
- Normal:
- pop esi
- jmp 01BD95D3
- //-----------------------
- SetFakeTime:
- cmp [FakeTime],00
- je InitFakeTime
- mov eax,[FakeTime]
- add eax,000001FE
- InitFakeTime:
- mov [FakeTime],eax
- push edx
- jng 0348DFDB
- jmp 0348DFED
- //-----------------------
- 01BD95CE:
- jmp CharSpeedUp
- 0348DFD4:
- jmp SetFakeTime
- //-----------------------
- [Disable]
- 01BD95CE:
- call 0085DFF0
- 0348DFD4:
- push edx
- DeAlloc(CharSpeedUp)
- DeAlloc(FakeTime)
- DeAlloc(Speed)
- UnRegisterSymbol(Speed)
複製代碼 |
|