Troubleshooting

Startup

Problem What to check
Script errors about jo being nil jo_libs must start before gm_camping, and the jo_libs { } modules in fxmanifest.lua must match your jo_libs version
Database errors oxmysql must be running. The tables are created automatically, so check the database user's permissions
Items are missing Add the items from rsg-coreitems.txt or vorp-coreitems.sql. The upgrade materials are not included

Camps

Problem What to check
Cannot place a camp The player may be inside a blocked town (blockedAreas), too close to another camp (otherNearbyCampDistance) or already own a camp
Props do not spawn Check campSpawnDistance and that the item name is in Placeables
An upgrade fails The player is missing items or cash. Check upgradeCost for that stage
Features are locked The camp's condition is low. Maintain the camp (see featureLockouts)
Camp disappeared Degradation destroyed it (autoDestroy). Turn it off or raise the grace period

Cooking, traders and missions

Problem What to check
No prompt at the cooking item Cooking.event is empty. Set it to your crafting event
Traders do nothing gm_ecosystem must be running, and the price lists named in trader.priceLists must exist there
A mission cooldown never starts Your mission must trigger gm_camping:missionStarted on the client when it really starts
Mission cooldown reset Cooldowns are kept in memory and cleared by a server restart

Camping store

Problem What to check
No prompt at the store promptKey must be a string such as "INPUT_INTERACT_LOCKON_ANIMAL"
"Your inventory is full." The player cannot carry the item. Check the item weight
"You don't have enough money." Check PaymentType and the price
The preview does not show The prop model name must be valid and itemPreviewLoc and cameraPosition must be set

Discord logs

Problem What to check
Nothing is posted Set default or the event webhook in server/webhooks.lua. An empty "" turns it off
Nothing in the console Logs are printed as [gm_camping] [Title] ...

Getting help

Include the exact console message, your framework and the version of gm_camping when you ask for support.

Last updated