---
title: "Packet 106: TerritoryBaseState"
description: "Updates a territory/base ownership and capture state for territory-control modes."
canonical: "https://aosplay.net/protocol-168/packets/106"
markdown: "https://aosplay.net/docs/protocol-168/packets/106.md"
last_updated: "2026-07-16"
protocol: "Ace of Spades Battle Builder 168"
packet_id_decimal: "106"
packet_id_hex: "0x6A"
direction: "Inactive"
family: "Teams"
implementation_status: "Planned"
evidence: "Provisional"
wire_size: "7 bytes"
---

# Packet 106: TerritoryBaseState

> Updates a territory/base ownership and capture state for territory-control modes.

- **Decimal ID:** 106
- **Hex ID:** 0x6A
- **Direction:** Inactive
- **Family:** Teams
- **Status:** Planned
- **Evidence:** Provisional
- **Wire size:** 7 bytes

## Exact wire layout

The application packet ID is the first byte. The remaining rows are in decode order. Byte sizes exclude ENet headers, wrapper prefixes, LZF chunk framing, and compression effects.

| # | Field | Encoding | Bytes | Purpose | Condition |
| ---: | --- | --- | ---: | --- | --- |
| 0 | `packet_id` | u8 | 1 | Always 106 (0x6A). | — |
| 1 | `base_index` | u8 | 1 | base index value. | — |
| 2 | `action` | u8 | 1 | Selects the operation and therefore any conditional payload that follows. | — |
| 3 | `controlled_by` | u8 | 1 | controlled by value. | — |
| 4 | `attacked_by` | u8 | 1 | attacked by value. | — |
| 5 | `capture_amount` | sign-magnitude fixed16 LE (1/64) | 2 | capture amount value. | — |

## Encoding conventions

- `LE` means least-significant byte first.
- `fixed16` is two-byte sign-magnitude at 1/64 precision.
- `orientation16` uses the measured 1/8192 orientation mapping.
- NUL strings consume their encoded byte length plus one `00` terminator.
- Counted arrays repeat immediately in the documented order.

## Related resources

- [HTML packet page](https://aosplay.net/protocol-168/packets/106)
- [Complete packet catalog](https://aosplay.net/protocol-168/packets)
- [Packet catalog in Markdown](https://aosplay.net/docs/protocol-168/packets.md)
- [Protocol 168 guide](https://aosplay.net/protocol-168)
