Skip to content

Troubleshooting

Symptom-based fixes for tAFK — startup errors, the camera never firing, missing music or beat sync, editor and permission problems.

Startup

SymptomFix
attempt to index a nil value (global 'tlib')tLib missing or late. Use its release zip, ensure tLib first, restart — refresh does not re-order
No such export ScanResourceFilestLib predates assets. Replace the folder wholesale
Every export returns nilThe folder is not named exactly tAFK. It is case-sensitive

The camera never fires

Nothing happens after 30 seconds

CheckDetail
In a vehicle?Auto-AFK never fires on foot
Switched off?/tafk → AFK System. The client logs it at start
An interface open?NUI focus anywhere counts as input
Ragdolling?Auto-AFK is suppressed
Timeout zero?timeoutSeconds of 0 disables auto-trigger

Enter AFK Mode does nothing

It bypasses the timer, not the gates: in a vehicle, system enabled, editor closed, not ragdolling or mid-cutscene, one sequence applying. Each refusal names itself in a toast. No toast and no fade is none of these — report it.

The camera enters, then instantly exits

Something counts as input during the fade: the camera threshold is 0.001°, so the smallest drift cancels it. With the mouse still, suspect stick drift or a resource moving the camera.

Sequences

SymptomFix
Only a few sequences playUnchecked in the editor, vehicles missing your model, or the player opted out. Shots whose camera would clip scenery are also skipped
One never plays for othersScope: This model only plays on that model alone, and locks after the first save
A hand edit changed nothingdata.json is read once, at start. restart tAFK
A pack's sequences are missingManifest needs both tafk_config and tafk.json in files { }, keys lowercase; or another resource claimed the model

Music and beat sync

No music during the cinematic

CheckDetail
Player setting/tafk → Play Music During AFK
Server defaultServer Defaults → useMusic
Volume0.04 is very quiet; a player can sit at 0
Any files?The banner's Tracks: row has the count
Radio failing?It replaces the folder, then falls back

I added a track and it never plays

audio/ is scanned at resource start only. restart tAFK; Tracks: goes up by one.

Cuts do not land on the beat

No grid for that track yet, so shots take random lengths. Usually just wait — analysis runs in the background from 30 seconds after load. The banner reads Beats: 39 of 40 analysed, 1 queued; a changed track reads changed since it was analysed. For a better grid, run the offline analyser — Beat data.

radio unavailable (...) — falling back to local tracks

ReasonWhat happenedWhat to do
elementMount would not load, or redirected to httpOpen it in a browser; the setting must be the final https URL
silentAudio played, analyser got zeroes: no CORScurl -I <url> for Access-Control-Allow-Origin. Absent means no browser can beat-match it
suspendedThe audio context refused to startUsually transient; if it persists, use local tracks
tapThe browser audio tap could not startReport it — this should not happen
contextNo Web Audio at allAs above

Fixed if the console prints radio: playing via worklet tap at 48000Hz, 25s behind live.

Radio plays but cuts are off the beat

Expect a few unsynced seconds around each track change. If it never syncs, raise radioDelaySeconds toward 25 — below 15 it cannot stay ahead.

Editor and permissions

SymptomFix
Admin only. toastadd_ace group.admin tlib.admin allow, and put your identifier in group.admin. Checked per command, so it applies on the next run
"You must be in a vehicle."Get in one
"Exit AFK mode first."Press a key to leave the cinematic, then re-run
Keys 1–4 do nothingA text field has focus. Click the viewport first

I lost an unsaved sequence

A double-press discards it: Exit and a click on another row each warn once, then go through on a second press within four seconds. No recovery — press 4 first.

Still stuck

Open a ticket in Discord with the server console from resource start, the client F8 output including any red error, and your tLib and artifact versions.

Still stuck? Support can answer it directly.

Was this page helpful?