- UID
- 127666
- 帖子
- 2742
- 主題
- 423
- 精華
- 0
- 積分
- 1625
- 楓幣
- 4752
- 威望
- 1160
- 存款
- 7341
- 贊助金額
- 1500
- 推廣
- 22
- GP
- 4549
- 閱讀權限
- 150
- 在線時間
- 1808 小時
- 註冊時間
- 2016-1-30
- 最後登入
- 2024-12-11
|
//TwMs v224.1 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([[[03F77988]+CBEC]+34]+70,04)
CharY:
ReadMem([[[03F77988]+CBEC]+34]+74,04)
MapID:
ReadMem([03F77990]+1874,04)
SetSpawn:
CMP [ESP],02752E08
JNE Return
MOV EAX,[03F77990]
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 00AF3670+5
00AF3670:
JMP SetSpawn
[Disable]
00AF3670:
DB 55 8B EC 6A FF
DeAlloc(MapID)
DeAlloc(CharX)
DeAlloc(CharY)
DeAlloc(SetSpawn)
UnRegisterSymbol(MapID)
UnRegisterSymbol(CharX)
UnRegisterSymbol(CharY)
|
-
總評分: 楓幣 + 1
鑰匙 + 2
GP + 1
查看全部評分
|