Changelog
All notable changes to cc_fishing. Keep a Changelog, semver.
All notable changes to cc_fishing. Keep a Changelog, semver.
[2.0.0] — 2026-12-01
The sellable Code Cartel release.
Added
coastpreset: three more harbours on the vanilla map (Chumash pier, Alamo Sea dock, Paleto Bay), each a full counter + four pier spots, coordinates ray-tested against the game's collision.- Client exports
isFishing,isSoaking,openRig,stopFishing(cuffs, sedation and teleports can end a session cleanly). - Server exports
getRebates,getCoolerTier,hasCoolerOut,isSoaking. custom/server.luaexample 5: rod durability through any wear / durability resource (beforeCasthook).- Docs:
INSTALL.md,CONFIG.md,EXPORTS.md,COMPATIBILITY.md,TROUBLESHOOTING.md. - Doc comments on every function, net event and callback (arguments, returns, why).
tools/build-escrow.ps1: the Keymaster upload zip, built withtar.exe.
Changed
- Harbour Master tab change fades and scales in (160 ms; off under reduced motion). No text selection on the UI outside input fields. (Ported from the city build, 1.5.3.)
- Adversarial suite tests both cast modes: strict (
Cast.anywhere = false: a pier spot or your own cooler) and the default (another player's cooler is never your cast mode;CastAreasstill fences). - Neutral names in comments and examples (job-centre loan, wholesale buyer, welcome kit).
Removed
- The city preset (
presets/legacy*), its streamed props and its live-change notes. They were never in the download; now they are not in the repository either.
[1.5.1] — 2026-11-11
Owner, in game: the bar stays after the cooler is picked up, "Finish this cast first" with no cast out, "stand at a pier spot" while standing at the water.
Changed
- Fish anywhere: a cast at any water's edge is legal without a cooler or a pier spot (
ServerConfig.Cast.anywhere, default true; the catch goes to the pier catch). CastAreas still fences, and a cast is lost if the angler walks more thanServerConfig.Cast.moveMax(10 m) from where it was made. - Picking up your cooler closes the fishing bar (Level / Cooler / Credits / Bait).
Fixed
- "Finish this cast first" with no line out: E presses while a cast request was in flight (or inside the server's 1.5 s cooldown, which drops silently) each showed it. They are now ignored quietly; the toast only shows with a real line out or a fish landed.
- A cast whose
cast:landed/cast:lostnever arrived stayed out forever: 8 s watchdog releases it. The server now abandons a lost un-landed cast on the nextcast:startinstead of refusingcast_active.
[1.5.0] — 2026-11-11
Tester request (Erik, 11 Nov): "a more blue ocean colour scheme". Pending owner approval; checked in the browser preview only.
Changed
- NUI re-stepped from kelp green (hue 156) to deep ocean blue (hue 205): the whole one-hue ramp, the scrims and the catch card. The dark ground steps carry more saturation (deep sea, not slate). Accent is sea blue
#4cc3f5(on-accent 9.15:1). Light theme moves with it. Status colours unchanged. Tokens only: no layout, markup or Lua change. Contrast table in theweb/style.cssheader. tools/preview/shots.mjsreadsCDP_PORT/WEB_PORT(another preview on the default ports was being screenshotted instead).
[1.4.1] — 2026-11-11
Tester report (Erik, 11 Nov). Not tested in game.
Fixed
- The cooler would not place ("The cooler could not be placed. It is back in your pockets."). The server spawned the prop with
CreateObjectNoOffset, an OneSync RPC native that a client has to carry out; on the city it never showed up inside the 2 s wait, so every placement refunded. The server now only records the checked spot and publishes every placed cooler inGlobalState.cc_fishing_coolers; each client draws a local (non-networked) prop from it and adds Fish / Soak / Pick up to its own. Same server checks as before (7.5 m, item taken once, one cooler out, DB row for settle). No networked entity is created at all. - The cooler prop falls back to
prop_coolbox_01when the configured model will not load, for the preview and the placed prop.
Changed
- Legacy preset: the Harbour Master stands at
-1665.93, -978.94, 8.16, heading 47.47 (was-1612.0, -1067.0, 13.1). cooler:placedcarries no netId any more (CONTRACT.md).
[1.4.0] — 2026-11-11
Pending owner approval. Not tested in game: built and checked in the browser preview only.
Changed
- NUI redesign (dark, one hue: kelp green with a seafoam accent). Every view gets the shared header: brand lockup, a real shore photo and the cc_lib homebar player card (portrait, name, GMS, theme, close). The Harbour Master gets an icon tab row with a solid accent tab and the level and credits pills; the KPI strip is gone.
- Supplies: Starter Kit hero with the real item renders, a sticky category bar, four-up item tiles with lock and owned tags, and a detail rail (price each, buys back at, you have, pay with, quantity, after buying, total, "Buy for $X").
- Fish market: catch tiles with the store and value, cooler and pier gauges, today's prices with renders, and a rail with "Sell for $X" and "Sell all for $X".
- Licence: four tier cards, what the selected tier opens at the counter, the replacement cooler row, and a rail with the total and "Register / Upgrade / Replace card for $X".
- Start here: next-step hero, five step tiles with renders, licence, catch gauges and the best price right now.
- Rig Setup: three-up picture tiles per kind with compatibility tags, a "Your rig" slot list and Start fishing. Great Catch: sea photo, large render, counted weight. Admin boosts and the fishing bar restyled to match; the bar shows a line-snapped chip on
lineBroke. Config.Brand.accentis applied only when it reads on the dark ground (the old#12324adefault does not, so the seafoam token stands). The light theme (homebar moon button) is a token swap.
Added
web/img/photo_shore.png,web/img/photo_sea.png: crops of an in-game beach shot from cc_loading (background-04.webp).- 65 English locale keys for the new labels (other languages fall back to English).
- Preview harness: cc_lib homebar served from the cc_lib working tree, city item renders and a backdrop under
tools/preview(never shipped), fixture states,tools/preview/shots.mjs.
The Lua <-> page contract is unchanged: same messages, same NUI callbacks and payloads.
[1.3.0] — 2026-11-08
Added
- Server export
grantLicence(src, reason): a free tier-1 licence (card + starter cooler, asoffice:registergives, without the charge) for another server resource to hand out. Used by cc_welcome's Explorer Kit. Server exports cannot be called from a client.
[1.2.1] — 2026-11-06
Fixed
- Legacy preset: each Discord channel reads
cc_fishing_webhook_<channel>first and falls back to the city's oldacc_fishing_webhook_*names (economy: economy/fisheries/fishmarket/supplies; catch: catch/activity; admin; security; default), so the cut-over from acc_fishing no longer leaves the logs silent.
[1.2.0] — 2026-11-05
Added
ServerConfig.LandCap: at most N fish landed per character per rolling hour, checked before any bait is used (off by default; the Legacy preset sets 80).ServerConfig.Licence.loan: a start-up-loan provider (e.g. the city Job Centre) can cover the licence for a player who cannot pay it.ServerConfig.Supply.buyers+supplyCatch/supplyTake/supplyRestoreserver exports, so a wholesale buyer can buy fish from the catch store (all or nothing, restorable).- Importer: a cooler that was out when acc_fishing stopped is owed back on the next login.
Fixed
- Picking up a cooler while the login hand-back ran could return two coolers. The pickup now gives one only if it removed the cooler's row.
Changed
- Legacy preset follows the live city as of 5 Nov 2026: tier 1/2 fish on the 2 Nov pay curve, $16,000 per-fish cap, Soak a Line off, easy/medium skill checks. Keepable junk (boot, can, scrap; 12% of kept catches) for cc_crafting's recycler (roadmap N3).
[1.1.0] — 2026-11-01
Added
- Now shows the shared Cartel homebar: theme switch, your GMS name and portrait. Needs cc_lib 1.7.0+.
[1.0.0] — 2026-10-27
First release as a Code Cartel product.
Added
- Runs on ESX, QBCore, Qbox, ox_core or no framework, with any inventory, target, notify and skill check cc_lib bridges (cc_lib >= 1.6.0, oxmysql).
- The catch store: fish live in
cc_fishing_catches(cooler and pier compartments), not in inventory stashes — no inventory hooks needed, no way to move fish out. - Server-spawned cooler prop; a crash, drop or restart hands the cooler back once.
- Server tickets for every cast: bite time, result window and spot check on the server; the species is revealed only after landing.
- 16 feature switches, presets, 8 hooks, 9 exports, outbound events,
custom/files. - Locales: English complete; German, French, Spanish, Portuguese started.
- Cartel NUI: Harbour Master (start here, licence, supplies, fish market), Rig Setup, Great Catch, the fishing bar, the boost panel.
- Discord logs per channel through cc_lib's logger; flags collapsed per player per minute.
/ccfishing import: dry-run-first, idempotent importer from acc_fishing.- Admin ACE split:
cc_fishing.admin,.manage(destructive),.survey. - Item icons drawn for the product (41,
install/images), an example preset, optionalServerConfig.CastAreas(a server-side fence for where fishing is allowed). - Schema versioning with numbered migrations applied on boot.
Changed (from acc_fishing)
- Neutral economy by default (
ServerConfig.Market.priceScaleretunes it in one number); the city's numbers arepresets/legacy.lua. - Gear is chosen by catalogue index and checked against what the player owns.
- Single light theme (the Cartel standard for a counter the player sits at).
- Vanilla props by default; licensed prop packs go in
stream/. - The Sea Case loot crate is no longer a default catch (it needs a script to open it).
Removed
- Every raw net event and mutating callback; the client-relayed spectator events; the unused
fishingHookBaitandtryLineBreakcallbacks (the latter let any client delete any two items).
Origins
Built from acc_fishing 1.6.1 (Legacy city, 25 Oct 2026): Harbour Master hub, licences A–D, pier spots, coolers, server-rolled catches (1.4.0), Soak a Line (1.3.0), staff logs (1.6.0). Its full history is in the city repository.