THE ORB
Starting the studio

Latent event ack overflow

The server pushed a big chunk of data to a player who was still loading in, their game could not confirm it in time, and they were dropped.

groupsPlayers time out while joiningcodeNeeds a developer

Do this first

Write down which players it hits and whether it is always during loading. A developer has to find the script that sends the big data on join.

bug_reportPaste your whole console instead

What it means

A latent event is the slow lane for big data: TriggerLatentClientEvent cuts a large payload into pieces and feeds them to the player at a fixed speed. The player's game has to acknowledge the pieces as they land.

This message shows up when those acknowledgements pile up faster than they are handled. The usual moment is the loading screen: the game is busy starting resources, it is not answering the network quickly, and a script is already pouring a large latent event into it. The player is then dropped, often with a plain "timed out" on their side.

It is not the same as "Reliable network event overflow". That one is about too many normal events. This one is about large latent sends that the player cannot confirm in time.

What causes it

Ordered by how often it is the answer.

  1. 1

    A big latent event fired the moment the player connects

    Sending the whole item list, every vehicle, or a full config table from playerJoining or playerConnecting, before the player's scripts are ready.

  2. 2

    Several latent events to the same player at once

    Three resources each sending their own large sync on join stack on the same connection.

  3. 3

    A latent broadcast to everyone

    TriggerLatentClientEvent('x', -1, ...) with a large payload starts one transfer per player, and repeats the problem for whoever is loading at that moment.

  4. 4

    The bytes-per-second value is set very high

    The third argument is the speed. A huge number removes the pacing that makes a latent event safe in the first place.

  5. 5

    An old server artifact

    Newer artifacts changed how latent pieces are sent and limit how many unfinished latent events a player may hold. Old builds are more fragile here.

How to tell which one is yours

Search every resource for the latent triggers and read where each one is called from:

grep -rn "TriggerLatentClientEvent" resources/

Then check the timing. If the drops only happen to people who are joining, the sender is something that runs on connect. Stop the suspects one at a time and have someone rejoin.

Where to look

Handlers for playerJoining, playerConnecting and framework "player loaded" events on the server, and any latent trigger that targets -1.

How to fix it

Wait until the client says it is ready, then send:

-- client
CreateThread(function()
    while not NetworkIsSessionStarted() do Wait(250) end
    TriggerServerEvent('myres:ready')
end)

-- server
RegisterNetEvent('myres:ready', function()
    local src = source
    TriggerLatentClientEvent('myres:sync', src, 50000, bigTable)
end)

Send less. Keep static data in a shared file that both sides load, and send only what changed instead of the full table each time.

Keep the speed modest (tens of kilobytes per second) and avoid starting several large transfers to one player together.

Update the server artifact to a current recommended build.

Still stuck on your own code?

This page is what this error usually means. Paste your console into Server Fixer and it will rank everything in it and tell you what to do first, and if you would rather not touch it, ORBIE can repair the script and hand the resource back ready to drop in.

bug_reportOpen Server Fixer

For this kind of error the Security Scanner flags the event handling that leads here.

Errors that travel with this one