Skip to content

cc_fishing — troubleshooting

Start here: the boot line in the server console tells you what cc_fishing found.

Start here: the boot line in the server console tells you what cc_fishing found.

[cc_fishing] v2.0.0 started (framework: qbox, inventory: ox_inventory, database: ready, skill check: on)

Anything wrong with the config is printed above it as config: ... lines, and the boot line then says WITH CONFIG ERRORS (above). Set Config.Debug = true to see every refused event (with the reason) in the console.

Server console

MessageCauseFix
oxmysql is not loaded: the catch, levels and licences will NOT be savedoxmysql missing or started after cc_fishingensure oxmysql before ensure cc_fishing; check its mysql_connection_string
schema install failed; persistence is DISABLED: ...The DB user cannot CREATE TABLE, or the database is read-onlyGrant CREATE / ALTER / INDEX to the DB user, restart. The text after the colon is MySQL's own error
database: off in the boot lineSame as the two aboveSame
cc_lib X is older than the 1.5.0 this needsOld cc_libUpdate cc_lib (the zip ships the tested version)
cc_lib X has no standalone moneyStandalone server on cc_lib < 1.6.0Update cc_lib
config: Config.Features.x should be a boolean, got stringA typo in config.luaFix the named key; the resource runs with that entry disabled until then
config: ServerConfig.Shop.<id> resale ... above its priceA buy-back higher than the price (a money loop)Lower resale below price; the entry is off for this run
config: ... item ... not lowercase / has spacesAn item name your inventory will not matchUse the exact item name from your items file
give failed (...)The inventory refused an item (unknown item, full pockets)Add the items from install/items/; the player gets nothing and is not charged
PAYMENT FAILED: $X to N (...) — the bridge refused itThe framework refused to add money (account name, offline player)Check ServerConfig.Market.account is cash or bank and exists on your framework
NUI <name> failed: ... (client F8)A NUI callback erroredSend us the full line and your cc_lib boot banner
soak tick failed for N: ...An error inside Soak a LineThe sitting ends safely; send us the line
Nothing at all from cc_fishingIt never startedensure cc_lib before it; check fxmanifest.lua was not saved with a BOM by an editor (FiveM then silently refuses the resource)

In game

SymptomCauseFix
Using a rod or the cooler does nothing (ox_inventory)The item is missing its server exportIn ox_inventory/data/items.lua the rods and the cooler need server = { export = 'cc_fishing.useItem' } (copy from install/items/ox_inventory.lua)
Using a rod does nothing (qb / ESX)The item is not marked usableuseable = true on rods and the cooler (qb), or re-run install/items/esx.sql
"Find some water first"The client's water check found no water aheadFace the water at the edge of a pier / shore; tune Config.Water for odd map edits; allow boats with Config.Water.allowBoats
"Stand at a pier spot, or place your cooler at the water"ServerConfig.Cast.anywhere = falseFish from a pier spot / beside your cooler, or set anywhere = true
"You cannot fish here right now"A beforeCast hook refused, or outside every ServerConfig.CastAreas circleCheck custom/server.lua and CastAreas
Pier spots / the Harbour Master are in the wrong placeThe defaults are placeholdersStand on the spot, /ccfishing coords, paste the vec4(...) into config.lua
"Too slow" / "struck too early" every timeHigh ping or a skill-check script with a long introRaise ServerConfig.Cast.windowMs / earlySlackMs
"The fish have gone quiet here"The hourly land cap (ServerConfig.LandCap)Working as configured; raise perHour or disable it
"Finish this cast first" with no line outA cast answer was lostWait 8 s (the watchdog releases it) or press Backspace to end the session
The cooler does not appear for other playersOneSync off, or the prop model failed to streamTurn OneSync on; with a custom Config.Cooler.model, make sure it streams (the script falls back to prop_coolbox_01)
"The cooler could not be placed. It is back in your pockets."Placed too far from the ped, or a second coolerPlace it within ServerConfig.Distances.coolerPlace (7.5 m)
A cooler vanished after a crash or restartExpectedThe item is returned the next time that character loads in (once)
Selling cooler fish says "Bring your cooler next to the counter"ServerConfig.Market.coolerMustBeNear = truePlace the cooler near the counter, move the fish to the pier catch, or set it to false
No item icons in the UIWrong image pathConfig.Images.base = 'bundled', or point it at your inventory image folder
Buttons / text in the wrong languageLocale convarsetr cc_fishing_locale "en" (replicated: setr, not set)
The UI does not close / mouse stuckAnother NUI stole focusrestart cc_fishing releases focus; report which resource was open
Admin command says no permissionACE not grantedadd_ace group.admin cc_fishing.admin allow (and .manage, .survey)
Another resource's prices / jobs pay differently after install—cc_fishing never touches other resources; check saleTotal / purchasePrice hooks in custom/server.lua

Still stuck

Open a ticket with: the boot line, any config: lines, cc_lib's boot banner (cc in the server console), your framework and inventory, and the exact message. Never post your server/config.lua webhooks.