冰楓論壇
標題:
TwMS v233.1 ICS 人物移動加速
[打印本頁]
作者:
prt
時間:
2021-3-31 12:49
標題:
TwMS v233.1 ICS 人物移動加速
// TwMS v233.1 ICS 人物移動加速
// 速度設定越快越容易斷線
[Enable]
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 [esp+94],02AC368E
jne GetLastError
mov [esp+94],CharSpeedUp
jmp GetLastError
CharSpeedUp:
push esi
mov esi,[Speed]
SpeedChk:
test esi,esi
je Return
dec esi
push esi
mov ecx,[ebp-000000BC]
call 00BA6FA0
pop esi
jmp SpeedChk
Return:
pop esi
jmp 02AC368E
//-----------------------
SetFakeTime:
cmp [FakeTime],00
je InitFakeTime
mov eax,[FakeTime]
add eax,000001FE
InitFakeTime:
mov [FakeTime],eax
pushad
jmp 04CD2715
//-----------------------
03BDA1A8:
DD Check_Esp
04CD2709:
jmp SetFakeTime
nop
//-----------------------
[Disable]
03BDA1A8:
DD GetLastError
04CD2709:
DB 60 E9 06 00 00 00
DeAlloc(Check_Esp)
DeAlloc(FakeTime)
DeAlloc(Speed)
UnRegisterSymbol(Speed)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓