Studios
Exchangehouse-3.jpg

Troubleshooting

SoonExchangeQbox
PAGE 05 OF 06  ·  EXAMPLES → TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

A material shows its item name instead of a label#

ox_inventory has no item with that name. Add it from install/items.lua, or remove it from Config.Items. The server console prints a warning at start for each missing item.

Item pictures are broken#

Pictures load from the inventory:imagepath convar or from ox_inventory's own images. Put an <item>.png for every material there, or set Config.ImagePath.

The phone app does not show up#

sd-phone must be started. Look in its App Store, since defaultApp is false by default. If you renamed the resource folder, the app's page path follows it, but sd-phone has to be restarted after the exchange starts. The app also stays locked until the character has visited the desk once.

The database tables are missing#

They are created when the resource starts. If your database user cannot create tables, run sql/install.sql once by hand. Until the tables are ready, players are told the exchange is starting up.

A seller or buyer was not paid#

If qbx_core refuses a payment, for example because the character was deleted, the amount is saved in glitch_exchange_payouts, printed in the server console and paid the next time that character opens the desk.

Players see "Slow down."#

Trades run one at a time and each action has a half-second cooldown per player. The message appears when a trade waits more than 15 seconds for its turn.

The ped does not appear#

The ped spawns when a player is within 60 metres of Config.Desk.coords. Check that the model in Config.Desk.model is valid and that the coordinates are on the ground.

Limits#

  • The desk and phone screens are English only. Edit ui/app.js to translate them.
  • Money and stock moves are claimed and undone in code, not in one database transaction. A server crash in the middle of a trade can lose that one trade.