IS FIN
From LFS Manual
Revision as of 13:46, 10 February 2026 by Bokujishin (talk | contribs) (Created page with "== Introduction == The '''FIN'''ished race notification packet is sent by LFS when a player finishes the race. The actual result for the player is only determined by a corres...")
Introduction
The FINished race notification packet is sent by LFS when a player finishes the race. The actual result for the player is only determined by a corresponding IS_RES packet.
| Type | Name | Description |
|---|---|---|
| byte | Size | 20 |
| byte | Type | ISP_FIN |
| byte | ReqI | 0 |
| byte | PLID | player's unique id (0 = player left before result was sent) |
| unsigned | TTime | race time (ms) |
| unsigned | BTime | best lap (ms) |
| byte | SpA | |
| byte | NumStops | number of pit stops |
| byte | Confirm | confirmation flags: disqualified etc (CONF_x) |
| byte | SpB | |
| word | LapsDone | laps completed |
| word | Flags | player flags: help settings etc (PIF_x) |
Packet Details
Size
The size of the packet is always 70 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_FIN.
ReqI
ReqI is always equal to zero.
PLID
The player's unique ID.
TTime
Total race time from green lights to finish, in ms.
BTime
Best lap time, in ms.
NumStops
The number of pit stops made during the race.
Confirm
Confirmation flags:
#define CONF_MENTIONED 1 #define CONF_CONFIRMED 2 #define CONF_PENALTY_DT 4 #define CONF_PENALTY_SG 8 #define CONF_PENALTY_30 16 #define CONF_PENALTY_45 32 #define CONF_DID_NOT_PIT 64
LapsDone
The number of completed laps.
Flags
Player settings and help flags, as in IS_PFL.