Troubleshooting#
Common problems and what to check. Most fixes here are taken from the troubleshooting sections of each resource's documentation, which have more detail.
Check these first#
- Read the server console and the in-game F8 console. Start with the first error, because later ones are often caused by it.
- Check the start order in
server.cfg:oxmysql, thenrsg-core, then the resources that depend on it. The setup generator builds anensurelist in dependency order. - Check each resource's requirements in the resource list.
Database tables are missing#
Many RSG resources create their own tables when they start. In rsg-core, rsg-inventory and rsg-character this is controlled by an AutoDatabase setting. If you turned it off, or your database user can't create tables, import that resource's install.sql yourself. See rsg-core, rsg-inventory and rsg-character.
Black screen or stuck on character select#
- Remove any other multicharacter or appearance resource.
- Make sure
rsg-characterstarts afterrsg-coreandoxmysql. - If players have the wrong body after login, ask them to use
/loadskin.
More in rsg-character.
Inventory problems#
| Problem | What to check |
|---|---|
| Items show no image | The PNG is missing from html/images/, or the item's image field doesn't match |
| "Item is invalid" | The item isn't in the rsg-core shared items (names are lower-cased) |
| Can't open the inventory | The player is dead, in last stand or handcuffed, or rsg-core didn't start first |
| Stash is empty after a restart | The stash id must be identical every time, including capitals |
More in rsg-inventory.
Targeting problems#
| Problem | What to check |
|---|---|
| Nothing happens on Left Alt | rsg-target started after rsg-core, no other menu has focus, and there are no client errors |
Scripts using exports.ox_target fail | Stop or remove the real ox_target, and start rsg-target before those scripts |
| An option never shows | Distance, job or gang, item and duty requirements, cooldown, or canInteract. Turn on Config.Debug |
More in rsg-target.
HUD problems#
| Problem | What to check |
|---|---|
| HUD does not show | The player must be logged in. Another script may have hidden it. It also hides in the pause menu, cinematic camera, bathing and clothing stores |
| HUD is blank or has no icons | It loads files from outside servers, so check the player's internet connection and firewall |
| Hunger or thirst jumps back after a script fills it | Refill from the server with exports['rsg-hud']:SetNeed |
More in rsg-hud.
Still stuck?#
Ask on the community forum or Discord. Include the first error from the console, the resource name and version, and what you changed. Remove licence keys, passwords, webhooks and database details before you post.