IS NCI
From LFS Manual
Revision as of 09:55, 10 February 2026 by Bokujishin (talk | contribs) (Created page with "== Introduction == The '''N'''ew '''C'''onnection '''I'''nfo packet is sent by LFS when a player joins the server, only on the host and if an admin password is set. The host...")
Introduction
The New Connection Info packet is sent by LFS when a player joins the server, only on the host and if an admin password is set. The host can also request it as a reply to a TINY_NCI packet.
| Type | Name | Description |
|---|---|---|
| byte | Size | 16 |
| byte | Type | ISP_NCI |
| byte | ReqI | 0 unless this is a reply to a TINY_NCI request |
| byte | UCID | connection's unique id (0 = host) |
| byte | Language | see below: Languages |
| byte | License | 0:demo / 1:S1 ... |
| byte | Sp2 | |
| byte | Sp3 | |
| unsigned | UserID | LFS UserID |
| unsigned | IPAddress |
Packet Details
Size
The size of the packet is always 16 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_NCI.
ReqI
ReqI is equal to zero, unless the packet is a reply to a TINY_NCI request.
UCID
The new connection's unique ID (0 is the host).
Language
The player's game language, from the LFS_ enumeration.
License
The player's license, where 0 = demo, 1 = S1, etc.
UserID
The player's LFS UserID.
IPAddress
The player's IP address as an unsigned int, where each byte corresponds to a part of an IPv4 address.