TwMS v159.2_ICS_人物座標左右走

不知道為什麼好像這版沒看到有人更新左右走...
已測試可用。

//TwMS v159.2_ICS_人物座標左右走
//Author: Onion
//Modify: kkmomo
//好處是不會有偏移問題(需開起小地圖)
[Enable]
Alloc(AutoLRICS, 512)
Alloc(ChrX, 04)
Alloc(Step, 04)
Label(GetWall)
Label(GetChrX)
Label(AutoLR)
Label(Return)

Step:
DD 1 //0為停止

AutoLRICS:
Cmp [Step],1
Jl Return
Jg AutoLR
Call GetChrX
Mov [ChrX],Eax
Inc [Step]

AutoLR:
Mov Eax,[Esp]
Cmp [Eax],850FC63B
Jne Return
Call GetWall
Mov [Ebp-04],Eax
Mov Eax,[Esp]
Add Eax,4
Mov Eax,[Eax]
Add [Esp],Eax
Add [Esp],8

Return:
Push 00
Jmp USER32.GetFocus+2

GetWall:
Call GetChrX
Sub Eax,[ChrX]
And Eax,80000000
Rol Eax,2
Dec Eax
Ret

GetChrX:
Mov Eax,[011D1D48]
Mov Eax,[Eax+1284]
Ret

USER32.GetFocus-5:
Jmp AutoLRICS
DB EB F9

[Disable]
USER32.GetFocus:
DB 6A 00

DeAlloc(Step)
DeAlloc(ChrX)
DeAlloc(AutoLRICS)

留言

本月最夯

楓之谷洋蔥4.1.2 - 最後更新日期04/03

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)