prt 發表於 2021-4-7 15:53:22

TwMS v233.2 CRC 人物移動加速

// TwMS v233.2 CRC 人物移動加速
// 速度設定越快越容易斷線

Alloc(CharSpeedUp, 256)
Alloc(Speed, 04)
Alloc(FakeTime, 04)
RegisterSymbol(Speed)
Label(SpeedChk)
Label(Return)
Label(SetFakeTime)
Label(InitFakeTime)

Speed: // 速度設定
DD 03

FakeTime:
DD 00

//-----------------------
CharSpeedUp:
push esi
mov esi,

SpeedChk:
test esi,esi
je Return

dec esi
push esi
push ecx
call 00BA6FA0
pop ecx
pop esi
jmp SpeedChk

Return:
pop esi
jmp 02AC3869+5

//-----------------------
SetFakeTime:
cmp ,00
je InitFakeTime

mov eax,
add eax,000001FE

InitFakeTime:
mov ,eax
push eax
push edx
pushad
jmp 04CB9319

//-----------------------
02AC3869:
jmp CharSpeedUp

04CB9306:
jmp SetFakeTime
nop
nop
nop

//-----------------------

02AC3869:
call 00BA6FA0

04CB9306:
DB 50 52 60 E9 0B 00 00 00

DeAlloc(CharSpeedUp)
DeAlloc(FakeTime)
DeAlloc(Speed)
UnRegisterSymbol(Speed)

q3527876 發表於 2021-4-7 17:30:06

謝謝
頁: [1]
查看完整版本: TwMS v233.2 CRC 人物移動加速