Files
AdamuSw/docs/Packets/C1-F3-04-RespawnAfterDeathExtended_by-server.md
2026-07-14 19:00:35 +03:00

28 lines
1.0 KiB
Markdown

# C1 F3 04 - RespawnAfterDeathExtended (by server)
## Is sent when
The character respawned after death.
## Causes the following actions on the client side
The character respawns with the specified attributes at the specified map.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 36 | Packet header - length of the packet |
| 2 | 1 | Byte | 0xF3 | Packet header - packet type identifier |
| 3 | 1 | Byte | 0x04 | Packet header - sub packet type identifier |
| 4 | 1 | Byte | | PositionX |
| 5 | 1 | Byte | | PositionY |
| 6 | 1 | Byte | | MapNumber |
| 7 | 1 | Byte | | Direction |
| 8 | 4 | IntegerLittleEndian | | CurrentHealth |
| 12 | 4 | IntegerLittleEndian | | CurrentMana |
| 16 | 4 | IntegerLittleEndian | | CurrentShield |
| 20 | 4 | IntegerLittleEndian | | CurrentAbility |
| 24 | 8 | LongLittleEndian | | Experience |
| 32 | 4 | IntegerLittleEndian | | Money |