冰楓論壇
標題:
TWMS v227.2 CRC Set Spawn-Point
[打印本頁]
作者:
sky0823
時間:
2020-8-22 13:01
標題:
TWMS v227.2 CRC Set Spawn-Point
好用可自製跑圖功能,版上搜尋一下就有方法了
//TWMS v227.2 CRC Set Spawn-Point
[Enable]
Alloc(SetSpawn,128)
Label(Return)
RegisterSymbol(CharX)
RegisterSymbol(CharY)
RegisterSymbol(MapID)
Alloc(CharX,04)
Alloc(CharY,04)
Alloc(MapID,04)
CharX:
ReadMem([[[042321EC]+CC4C]+34]+58,04)
CharY:
ReadMem([[[042321EC]+CC4C]+34]+5C,04)
MapID:
ReadMem([0423219C]+187C,04)
SetSpawn:
CMP [ESP],0295C1F8
JNE Return
MOV EAX,[0423219C]
MOV EAX,[EAX+187C]
CMP [MapID],EAX
jne Return
mov eax,[CharX]
mov [esp+08],eax
mov eax,[CharY]
mov [esp+0C],eax
Return:
db 55 8B EC 6A FF
JMP 00B442C5
00B442C0:
JMP SetSpawn
[Disable]
00B442C0:
DB 55 8B EC 6A FF
DeAlloc(SetSpawn)
DeAlloc(MapID)
DeAlloc(CharX)
DeAlloc(CharY)
UnRegisterSymbol(MapID)
UnRegisterSymbol(CharX)
UnRegisterSymbol(CharY)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓