Skip to content

Troubleshooting

Symptom-based fixes for tDetector — no alerts, no tone, no speed, missing layouts, startup errors and access problems.

Two commands answer most of this page. /tDetSources reports, per configured radar entry, whether the resource is running, which mechanism is in use, what was read just now, and whether anything is transmitting; /tDetSources test checks the display half separately.

tdetector_diag, on the server console, prints the version, the tLib version, every Config value in effect and every startup config-check message. Paste that into a support thread instead of your config file — it is pre-redacted. Grant it with add_ace group.admin command.tdetector_diag allow.

No alert ever appears

The commonest report, and usually the radar wiring. tDetector only picks up players whose radar reports itself and has an antenna switched on.

  1. Run /tDetSources. Nothing transmitting while your radar is keyed up means the wiring is wrong — go to Integrating any radar.
  2. Confirm an antenna is in XMIT mode, not just the unit powered on.
  3. Check range and sensitivity. A radar reporting its own reach — tRadar does — is heard at twice its range: a 150 m beam at 300 m, well inside 500. Otherwise it is Config.detectionRange on Highway, 45% on City.
  4. Check you are not on Auto while stationary. Auto is City below Config.autoSensitivityAbove (45 MPH), which includes standing still to test.

Remember a detector never hears its own radar, so detection needs a second player.

tDetector needs tLib 1.2.0 or newer; this server has tLib 1.0

tDetector prints a boxed message with the version it needs, the version and build you have, and the release page, then stops itself.

Fix — download tLib.zip (not "Source code") from the release page, replace the whole tLib folder and restart. Do not downgrade tDetector instead: an outdated tLib loads happily and fails later with a cryptic No such export.

No such export mpRegisterType in resource tLib

Seen as SCRIPT ERROR: @tLib/lua/marketplace/server.lua: No such export mpRegisterType, followed by ui/sound marketplace type registration failed. That file path belongs to a tLib from before 1.0. tDetector declares tlib_min_version '1.2.0', and an older tLib makes it stop at start with the needs tLib 1.2.0 or newer message above, so this error means tDetector itself is out of date.

Fix — update tDetector and tLib together, and restart. tDetector has no second check of its own; the version gate is the check.

On a current tLib the same words usually mean tLib's server side did not start, because the export is provided by tLib's server bundle. Look above the error in the console for a Node or bundle error from tLib, and make sure server/dist is present in the tLib folder. Send those lines if you open a ticket.

The resource never starts, console names a missing dependency

tDetector declares dependency 'tLib', so the server refuses to start it when tLib is absent.

Fix — install tLib and add ensure tLib. Those two lines need no ordering. Your radar resource has no such declaration, so order that one deliberately.

"No such export", or alerts stopped after an update

You added an export to somebody else's radar and their update overwrote it. It fails silently.

Fix — run /tDetSources; a working entry now reporting its export as not present confirms it. Re-add the export, then move it into a bridge resource.

Alert on screen, no tone

The detector is muted, by the MUTE key or by auto-mute below Config.autoMuteBelow (20 MPH).

Fix — stationary or crawling, auto-mute is working as intended. Set Config.autoMuteBelow = 0 to disable it server-wide, or press MUTE.

No sound after a restart

The detector powers on and alerts, but there is no tone, and no boot sweep. Every tone is named in a map the server sends to your client when it connects, and the detector stays silent until that arrives. The client asks again, with growing gaps, up to five more times, until it gets a map with tones in it.

Fix — run /tDetSounds in game, and tdetector_diag on the server console and read its tone map section. They separate the cases:

/tDetSounds saysMeaningWhat to do
The server refusedConfig.access does not admit this player, so no tones are sent. Not a faultCheck Config.access; tdetector_diag counts these as "refused (no access)"
Replies 0The server never answered. It ignores a request inside its one-second rate limitThe client asks again on its own. If it stays at 0, send both outputs
Replies above 0, tones 0The server answered with an empty mapCheck layouts/sounds/ and /tdetector → Sounds; the diag line "answered with no tones" counts these
Tones above 0The map is loadedThe silence is elsewhere: muted, or no tone file on disk

A panel callback ... threw or timeout line at the end of /tDetSounds means the detector's page asked the game for something and the game side failed; tLib answers the page with an error instead of letting it hang, and the line names the callback. Send it with the rest.

If it only happens when the resource restarts under a connected player, send both outputs. The cause of that case is not yet confirmed, and these two commands are what will show it.

No alert tones at all

Fix — check the mappings in /tdetector → Sounds and that the files they name exist under layouts/sounds/. An unassigned slot falls back to BLIP; BOGEY has no fallback and stays silent until you assign one.

The HUD shows no speed, or vanished when I got out

Both are being on foot, and both are correct. The detector stays powered and the display returns when you get back in. You do not need to run /tdetector again.

My layout doesn't appear in the dropdown

Layouts are enumerated at resource start. The commonest cause by far is a missing module.json — a folder holding only ui.html is not discovered and raises no error.

Fix

  1. Confirm the folder sits directly under layouts/ with both ui.html and a module.json declaring "kind": "layout".
  2. Confirm id matches the folder name exactly, and version looks like 1.2.3.
  3. Check it is not named default, sounds or themes — all reserved.
  4. Run restart tDetector.

A player whose saved layout no longer exists, such as the retired original faceplate, is moved to the first installed layout and the client console says which. Nothing needs fixing; they pick another from /tdetector.

/tdetector says I don't have permission

Config.access is { mode = "ace", … } and you lack the ace it names.

Fix — grant it, or set Config.access = { mode = "everyone" } and restart tDetector. The check is server-side on every /tdetector, so a granted permission works without a reconnect.

ini
add_ace group.mechanic tdetector.use allow
add_principal identifier.license:xxxxxxxx group.mechanic

The toggle button is greyed out

Config.toggleRequiresItem = true. The dialog still opens for speed unit, layout and reposition; only toggling moves to the item.

Fix — use the item, or set Config.toggleRequiresItem = false.

The Marketplace or Sounds tab does not list anything

The Marketplace tab and its Sounds sub-tab list what tWeb publishes for tDetector, and tLib draws the list. When it cannot load one it says why, with a technical line under the message, and nothing you have installed is touched: installed skins and tones keep working from the server's own files.

The tab saysWhat it is
No sounds are published for tDetector yetNot an error. The marketplace answered and has no tones for tDetector.
The marketplace could not find its catalogueThe website answered "not found" for the list, usually while it is being updated. Wait a few minutes. If you set tlib_api_base_url, check it.
This server cannot reach the marketplaceThe server has no outgoing connection to it. The line below names the cause (ENOTFOUND, ECONNREFUSED).
The marketplace is not answering, is having troubleA timeout, or a 5xx from the website. Retry later.
tLib's marketplace service is not runningtLib's own server bundle did not start. Read the boot log above No such export mpRegisterType.

Retry asks again. Send the technical line if it persists. The full table is in tLib's exports page under "When the list does not load". This needs tLib 1.2.0 or newer; an older tLib shows the bare Failed to load marketplace and the status.

The Marketplace and Sounds tabs are missing

Those are gated by tLib's admin level, not by the ace in Config.access.

Fix — grant tlib.admin or tlib.superadmin. The server re-checks on every sound write, so there is no client-side way around it.

the "radardetector" item is wired to the detector -- but none of qb-core, qbx_core, es_extended or ox_inventory is running

The item works on QBCore, QBX, ESX and ox_inventory, and none of them had started ten seconds after tDetector did.

Fix — start your framework or inventory, or turn off the key the message names. The rest of tDetector keeps working. With Config.toggleRequiresItem = true the item is the only switch, so the toggle is dead until one of them runs. If the item does nothing and no message appears, check that the inventory's own item entry is marked usable.

My HUD position reset after a restart

HUD placement lives in tLib, keyed to your player identifier.

Fix — if your license or Steam ID changed, the saved placement belongs to a different player and there is nothing to recover. Otherwise reposition through /tdetector → Reposition HUD or /tlibhud.

It alerts constantly in town

Working as intended, with three controls.

  1. Switch sensitivity to City — it cuts X and K reach to 45% and leaves Ka at full.
  2. Press MARK on a repeat offender for a permanent GPS lockout.
  3. Leave it to AutoLearn — three drive-bys past the same doorway.

For none of it, set Config.falseAlerts.enabled = false. See False alerts.

Known limits

None is fixable by reconfiguring: instant-on bursts shorter than Config.radarStateInterval can be missed; an edited radar export disappears on the radar's next update; event adapters can desync on a missed edge; a radar exposing nothing is unreachable even by a bridge; and a marketplace skin is only as compatible as its own geometry.

Still stuck

Open a ticket with the output of /tDetSources (and /tDetSounds for a silent detector), the radar sync and tone map sections of tdetector_diag, whether /tDetSources test looked right, your Config.radarResources block, the radar resource name and version, and the exact console error as text.

Next steps

Still stuck? Support can answer it directly.

Was this page helpful?