- UID
- 175467
- 帖子
- 24598
- 主題
- 1262
- 精華
- 0
- 積分
- 3045
- 楓幣
- 8734
- 威望
- 2456
- 存款
- 137915
- 贊助金額
- 1500
- 推廣
- 0
- GP
- 6115
- 閱讀權限
- 150
- 在線時間
- 4281 小時
- 註冊時間
- 2017-1-18
- 最後登入
- 2024-12-22
|
//TwMs v225.2 CRC Set Spawn-Point
[Enable]
RegisterSymbol(CharX)
RegisterSymbol(CharY)
RegisterSymbol(MapID)
Alloc(SetSpawn,128)
Alloc(CharX,04)
Alloc(CharY,04)
Alloc(MapID,04)
Label(Return)
CharX:
ReadMem([[[03F8FA30]+CC14]+34]+70,04)
CharY:
ReadMem([[[03F8FA30]+CC14]+34]+74,04)
MapID:
ReadMem([03F8FA38]+1874,04)
SetSpawn:
CMP [ESP],027663B8
JNE Return
MOV EAX,[03F8FA38]
MOV EAX,[EAX+1874]
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 00AF4970+5
00AF4970:
JMP SetSpawn
[Disable]
00AF4970:
DB 55 8B EC 6A FF
DeAlloc(MapID)
DeAlloc(CharX)
DeAlloc(CharY)
DeAlloc(SetSpawn)
UnRegisterSymbol(MapID)
UnRegisterSymbol(CharX)
UnRegisterSymbol(CharY)
|
-
總評分: 鑰匙 + 1
查看全部評分
|