prt 發表於 2020-12-23 20:15:31

TwMS v230.3 ICS 人物移動加速

本帖最後由 rhg59321 於 2021-1-5 22:11 編輯

// TwMS v230.3 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 ,029ED4E0
jne GetLastError
mov ,CharSpeedUp
jmp GetLastError

CharSpeedUp:
push esi
mov esi,

SpeedChk:
test esi,esi
je Return

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

Return:
pop esi
jmp 029ED4E0

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

mov eax,
add eax,000001FE

InitFakeTime:
mov ,eax
push eax
push edx
jmp 04B261CA

//-----------------------
03A761A8:
DD Check_Esp

04B261BC:
jmp SetFakeTime
//-----------------------


03A761A8:
DD GetLastError

04B261BC:
DB 50 52 0F 80 06 00 00 00        

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