prt 發表於 2021-1-20 20:12:36

TwMS v231.2 ICS 人物移動加速

// TwMS v231.2 ICS 人物移動加速

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

Speed: // 速度設定
DD 03

FakeTime:
DD 00

//-----------------------
Check_Esp:
cmp ,02AA0B96
jne GetLastError
mov ,CharSpeedUp
jmp GetLastError

CharSpeedUp:
push esi
mov esi,

SpeedChk:
test esi,esi
je Return

dec esi
push esi
mov ecx,
call 00B9F6B0
pop esi
jmp SpeedChk

Return:
pop esi
jmp 02AA0B96

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

mov eax,
add eax,000001FE

InitFakeTime:
mov ,eax
jmp 04C46601

//-----------------------
03B6E1A8:
DD Check_Esp

04C465EF:
jmp SetFakeTime
//-----------------------


03B6E1A8:
DD GetLastError

04C465EF:
DB E9 0D 00 00 00

DeAlloc(Check_Esp)
DeAlloc(FakeTime)
DeAlloc(Speed)
UnRegisterSymbol(Speed)
頁: [1]
查看完整版本: TwMS v231.2 ICS 人物移動加速