Files
AdamuSw/docs/Packets/C1-9A-BloodCastleEnterRequest_by-client.md
2026-07-14 19:00:35 +03:00

19 lines
954 B
Markdown

# C1 9A - BloodCastleEnterRequest (by client)
## Is sent when
The player requests to enter the blood castle through the Archangel Messenger NPC.
## Causes the following actions on the server side
The server checks if the player can enter the event and sends a response (Code 0x9A) back to the client. If it was successful, the character gets moved to the event map.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 5 | Packet header - length of the packet |
| 2 | 1 | Byte | 0x9A | Packet header - packet type identifier |
| 3 | 1 | Byte | | CastleLevel; The level of the battle square. |
| 4 | 1 | Byte | | TicketItemInventoryIndex; The index of the ticket item in the inventory. Be aware, that the value is 12 higher than it should be - it makes no sense, but it is what it is... |