![Rank: 20](static/image/common/star_level3.gif) ![Rank: 20](static/image/common/star_level3.gif) ![Rank: 20](static/image/common/star_level3.gif) ![Rank: 20](static/image/common/star_level3.gif) ![Rank: 20](static/image/common/star_level3.gif)
- UID
- 175467
- 帖子
- 24276
- 主題
- 1245
- 精華
- 0
- 積分
- 2925
- 楓幣
- 1869
- 威望
- 2355
- 存款
- 137915
- 贊助金額
- 1500
- 推廣
- 0
- GP
- 5969
- 閱讀權限
- 150
- 在線時間
- 3892 小時
- 註冊時間
- 2017-1-18
- 最後登入
- 2024-9-10
|
// TwMs v204.2 CRC Set Spawn-Point
// Author: ??
// ReWrite: Doem 2017-04-23
[Enable]
RegisterSymbol(CharX)
RegisterSymbol(CharY)
RegisterSymbol(MapID)
Alloc(SetSpawnPoint,128)
Alloc(CharX,04)
Alloc(CharY,04)
Alloc(MapID,04)
Label(Return)
CharX:
ReadMem([[[032E054C]+B18C]+34]+60,04)
CharY:
ReadMem([[[032E054C]+B18C]+34]+64,04)
MapID:
ReadMem([035497FC]+1834,04)
SetSpawnPoint:
cmp [esp],01D892D0
jne Return
mov eax,[035497FC]
mov eax,[eax+1834]
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 008DAE10+5
008DAE10:
jmp SetSpawnPoint
[Disable]
008DAE10:
db 55 8B EC 6A FF
DeAlloc(MapID)
DeAlloc(CharX)
DeAlloc(CharY)
DeAlloc(SetSpawnPoint)
UnRegisterSymbol(MapID)
UnRegisterSymbol(CharX)
UnRegisterSymbol(CharY)
|
-
總評分: GP + 1
查看全部評分
|