Lua for Game Development — Chapter 16: Multiplayer, Netcode, Sync Models & Lag Compensation
A complete, production-grade guide to multiplayer netcode using Lua: lockstep, snapshot interpolation, client prediction, reconciliation, entity replication and lag compensation.