Troubleshooting
Server console and F8 lines, what they mean, and how to fix each one.
Back to the overview. Start with /mowing status in game or mowing status in the server console: it prints the framework, the database, OneSync, the yard points and which property pools are usable. Most problems show up there.
It does not start
| You see | Why | Fix |
|---|---|---|
Could not open resource metadata file or Couldn't load resource cc_mowing | The folder is nested (cc_mowing/cc_mowing/...) or renamed | The folder that holds fxmanifest.lua must be called cc_mowing and sit directly in resources |
Failed to load script @cc_lib/init.lua / resource cc_mowing requires cc_lib | cc_lib is missing or starts after cc_mowing | Install cc_lib 1.7.0+ and ensure cc_lib above ensure cc_mowing |
attempt to index a nil value (global 'CC') | Same as above: cc_lib did not load first | Same fix |
You lack the required entitlement to use cc_mowing | The escrowed files are not tied to your Cfx.re account | Download the resource again from your Keymaster (portal.cfx.re) with the account that bought it, and run the server with that account's licence key |
The tablet opens with no top bar, or nui://cc_lib/ui/homebar.js 404 in F8 | cc_lib older than 1.7.0 | Update cc_lib. The tablet still works, with its own theme button |
Config problems
The boot line ends in N CONFIG PROBLEM(S) and each problem is one red line above it.
| Line starts with | Fix |
|---|---|
Config.Contracts[N] has no id / duplicate contract id | Every contract needs a unique id |
contract 'x' has no valid properties in pools ... | That contract's pools name a pool with no usable house. Add houses to the pool with the editor or fix the pool name |
property 'x': ... | A house is missing a park point, door or grass zone. Open it in /mowing editor; the panel says what is missing |
ServerConfig.X must be a number >= ... | A money or cap value is a typo, nil or negative |
ServerConfig.Preset = 'x' but no preset of that name is installed | The preset file is missing from presets/, or not listed in fxmanifest.lua |
ServerConfig.Mood has no row for personality 'x' | A personality in Config.Customers.personalities needs a row in ServerConfig.Mood |
ServerConfig.UpgradeSink.society must be false or a society name | Use false or a string such as 'government' |
ServerConfig.Cut.x (Ns) is not below Config.Timings.y | A server floor is longer than the bar the player sees, so honest players would be refused. Lower the floor or lengthen the bar |
no ServerConfig.UpgradePrices.x[N]: that tier cannot be bought (yellow) | Add a price for that tier, or remove the tier |
locale "x" not found; falling back to en (yellow) | cc_mowing_locale names a file that is not in locales/ |
The kit never arrives
The ute, trailer and mower are spawned by the server, then handed to the player.
| You see | Fix |
|---|---|
ONESYNC IS OFF in the console, or "Your kit never appeared" for the player | Put set onesync on in server.cfg and restart the whole server |
the yard ute spawn is N m from the foreman, or "The yard isn't set up yet" for the player | The foreman was moved in the editor but the ute spawn or return bay was not. /mowing editor, Edit the yard, and set all three points |
... was created but no client ever took it | The player is in another routing bucket, or too far from the spawn. The message names which. The deposit was refunded |
| The ute spawns inside a parked car | A vehicle is on the spawn bay. Clear it, or add more bays to Config.Yard.spawns |
| "Your work kit was lost" mid-contract | The ute, trailer or mower was destroyed, or deleted by another script (a vehicle cleanup or impound), or left alone longer than ServerConfig.Journey.leaveSeconds. The contract ends and the deposit is kept. Exclude the kit from your cleanup script (its plates come from CC.vehicle.generatePlate). A rig that is only stuck or stranded can be swapped with /mowingrecover at the yard, once per contract |
In the job
| Problem | Why | Fix |
|---|---|---|
| The mower floats above the trailer or sinks into it | The trailer model was changed, or attach does not suit it | Stand by your own kit and tune it live with /mowing strap <x> <y> <z>, then copy the printed line into Config.Equipment |
| The trailer is a bare chassis | Config.Kit.trailerExtras = {} turned off the extra that is the body | Set it back to false, or list the extras to keep after checking them with /mowing extras |
| No grass appears | A grass model name in Config.Grass does not exist on your game build | Bad names are skipped. Use base-game names such as prop_veg_grass_01_a |
| Cutting does nothing | The catcher is off the mower (carry the bag to the bin first), or the blades are blunt | Follow the job card; sharpen at the trailer when the Blades bar is low |
| "Cut refused" over and over | The player is not in the job mower, or the mower is still strapped | Unload the mower first. A cheat flag is raised only for repeated impossible cuts |
| The customer will not talk | You arrived faster than the travel floor allows (teleport or noclip) | Drive normally. Staff testing with noclip should expect this |
No [E] prompt and no target eye | Your target script was not found | Check cc_lib's start table (type cc in the console), or set Config.Bridge.target in cc_lib |
| Paid nothing on a standalone server | There is no money system to pay into | Expected: the payout is logged. Install a framework to pay real money |
| "The company account can't cover your wage right now" | Pay.society.enabled is on and the society is empty | Fund the society, turn on fallbackToServer, or turn the society wage off |
| The tablet does not close, or the cursor stays | Another NUI took focus at the same time | Press Esc, or /mowinghud. Report the other resource's name |
Admin
| Problem | Fix |
|---|---|
no permission on /mowing | Grant cc_mowing.diagnostics, and cc_mowing.admin for the editor (see Installation). The console never needs one |
The console warns Config.Ace.everyone is ON | Every player can use the editor. Set it back to false |
| A house edited in game reverted after an update | You bumped Config.SeedRevision, so config.lua won. Export your houses with /mowing export before bumping it |
A yard moved in config.lua does not move | A yard saved by the editor wins. Bump Config.Yard.revision |
Still stuck
Turn on Config.Debug = true, reproduce the problem, and send the server console and F8 output from the start of the contract to the Code Cartel Discord support channel, with your cc_mowing and cc_lib versions.