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
| Message | Cause | Fix |
|---|---|---|
oxmysql is not loaded: the catch, levels and licences will NOT be saved | oxmysql missing or started after cc_fishing | ensure 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-only | Grant CREATE / ALTER / INDEX to the DB user, restart. The text after the colon is MySQL's own error |
database: off in the boot line | Same as the two above | Same |
cc_lib X is older than the 1.5.0 this needs | Old cc_lib | Update cc_lib (the zip ships the tested version) |
cc_lib X has no standalone money | Standalone server on cc_lib < 1.6.0 | Update cc_lib |
config: Config.Features.x should be a boolean, got string | A typo in config.lua | Fix the named key; the resource runs with that entry disabled until then |
config: ServerConfig.Shop.<id> resale ... above its price | A 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 spaces | An item name your inventory will not match | Use 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 it | The 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 errored | Send us the full line and your cc_lib boot banner |
soak tick failed for N: ... | An error inside Soak a Line | The sitting ends safely; send us the line |
| Nothing at all from cc_fishing | It never started | ensure cc_lib before it; check fxmanifest.lua was not saved with a BOM by an editor (FiveM then silently refuses the resource) |
In game
| Symptom | Cause | Fix |
|---|---|---|
| Using a rod or the cooler does nothing (ox_inventory) | The item is missing its server export | In 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 usable | useable = 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 ahead | Face 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 = false | Fish 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 circle | Check custom/server.lua and CastAreas |
| Pier spots / the Harbour Master are in the wrong place | The defaults are placeholders | Stand on the spot, /ccfishing coords, paste the vec4(...) into config.lua |
| "Too slow" / "struck too early" every time | High ping or a skill-check script with a long intro | Raise 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 out | A cast answer was lost | Wait 8 s (the watchdog releases it) or press Backspace to end the session |
| The cooler does not appear for other players | OneSync off, or the prop model failed to stream | Turn 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 cooler | Place it within ServerConfig.Distances.coolerPlace (7.5 m) |
| A cooler vanished after a crash or restart | Expected | The 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 = true | Place the cooler near the counter, move the fish to the pier catch, or set it to false |
| No item icons in the UI | Wrong image path | Config.Images.base = 'bundled', or point it at your inventory image folder |
| Buttons / text in the wrong language | Locale convar | setr cc_fishing_locale "en" (replicated: setr, not set) |
| The UI does not close / mouse stuck | Another NUI stole focus | restart cc_fishing releases focus; report which resource was open |
| Admin command says no permission | ACE not granted | add_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.