Troubleshooting
Fixes for common Eleven Surfing issues: can't take the board out, no shop, small waves, boats feeling the waves, Duplicate Archetype and restart crashes.
I can't take the board out
Check the message you get when using the item:
- "You have to be in the water to take the board out": the board appears a couple of metres in front of you, and there has to be water there. Get into the sea or stand on the shore facing the water.
- "You need a surfboard in your inventory": you don't have the
surfboarditem. If you useConfig.Command, the command also needs the item unless you setConfig.Item = false. - "You are not allowed to surf":
Config.RequiredAceis set and that player doesn't have the permission. Add it inserver.cfg(for exampleadd_ace group.vip surfing.use allow) or setConfig.RequiredAce = false.
The item does nothing when used
- ox_inventory / Qbox: check that you pasted
install/ox_inventory.luainside the table inox_inventory/data/items.lua, with itsclient = { export = 'eleven-surfing.useSurfboard' }line. If you renamed the resource folder, changeeleven-surfing.to the new name: that's the cause if the F8 console saysNo such export useSurfboard in resource eleven-surfing. - QBCore: check that the item is in
qb-core/shared/items.luawithuseable = true. - ESX: check that you ran
install/esx.sql. - Make sure
eleven-surfingstarts afterox_lib, your framework and your inventory inserver.cfg, and that the console shows no errors. - If the console says
No inventory found, your server has no recognised inventory: use standalone mode (Config.Item = falseandConfig.Command = 'surf'). See Installation.
The shop doesn't show up
- The shop needs a framework (Qbox, QBCore or ESX). Without one, or with
Config.Framework = 'none', it doesn't appear. - With
Config.Item = falsethere's no shop either, since there's nothing to sell. - Check that
Config.Shopisn't set tofalse. - If you can't talk to the vendor, check
Config.Shop.target. If you don't use ox_target or qb-target, set it to'textui'to get the "press E" prompt. - If there's no map icon, check
Config.Shop.blip(falsemeans no blip). - If you get the "press E" prompt even though you have ox_target or qb-target, the target starts after
eleven-surfing. Move it above inserver.cfgor setConfig.Shop.target = 'ox_target'(or'qb-target').
Waves are small or don't push
- Check the weather. When it's sunny the sea is calm. Rain or thunder makes waves grow. To test, force the swell with
/waves 3.0(and/wavesto go back to the weather). - Raise the push:
Config.Waves.GainStanding(standing) andConfig.Waves.GainPaddle(lying down). - Raise the height:
Config.Waves.Model.AmplitudeScale. - Tune the weathers: raise the values in
Config.Waves.WeatherIntensity(for exampleCLEARorEXTRASUNNY). - Check that
Config.Waves.EnabledandConfig.Waves.FollowWeatheraretrue. - Remember you need to paddle up to the wave's speed: if you're slow, the wave passes under you and leaves you behind.
Boats or swimmers also feel the big waves
That's the bigger coastal waves (Config.Waves.QuadBoost): they raise the game's waves along the coast and affect everything floating there. You have two options:
- Limit them to some beaches with
Config.Waves.QuadBoost.Areas(see Configuration). - Turn them off with
Config.Waves.QuadBoost.Enabled = false.
Don't run Eleven Surfing alongside another script that also changes the sea's waves: they'd fight each other.
"Duplicate Archetype" error in the console
Two resources are loading the same board model and animations, for example another copy or an older version of this surf script. Keep only eleven-surfing and restart the whole server.
The board is invisible or a different board shows up
- The resource loads its model from
stream/. If you installed or updated it with the server running, restart the whole server and reconnect. - Don't change
Config.BoardPropor the animation names inConfig.Rider. - If you get "Board model … not found", the model didn't load: restart the whole server.
Crashes or endless loading after restarting the resource
That's what happens when eleven-surfing is restarted live (restart, ensure, txAdmin) or files are copied over stream/ while the server is running. Always install, change the config and update with a full server restart.
I can't stand up
You need speed. Paddle with W (or W + Shift) and press Space once you're going fast. The minimum speed is Config.Physics.PopUpMinSpeed.
The /waves command doesn't work
- The permission is missing. Add
add_ace group.admin command.waves allowtoserver.cfgand check that your user is ingroup.admin. - If you renamed it in
Config.Waves.Command, use that name. Withfalsethere's no command. - With
Config.Waves.Enabled = falsethe command doesn't change the sea.
Notifications don't show or look different
Set Config.Notify to your server's notification system: 'ox', 'qbcore', 'esx' or 'native'.
Keymaster entitlement error
If the console shows You lack the required entitlement to use eleven-surfing, the server's license key doesn't belong to the Cfx.re account you bought the script with. The steps are in Installation.
Still not working
Open a ticket on our Discord with:
- Your framework, your inventory and your
ox_libversion. - Your
config.lua. - The server console or F8 error, if any.