Troubleshooting
Common issues and fixes for ktx_fishing.
Troubleshooting
No fishing spots on the map
- Check that
blip.enabledistruefor each spot instatic/config.json - Verify the
coordsvalues are valid world positions - Ensure the resource started without errors in the server console
Rod not working
- The item name in the player's inventory must exactly match the key in
FishingRodsconfig - Check that
playerHasItemincustom/server.luareturnstruefor the rod item - Look for errors in the server console when attempting to fish
No rewards given
- Check
chancevalues in the spot'srewardsarray. A chance of 0 means it never drops. - Verify the player has inventory space -
canPlayerReceiveItemmust returntrue - Check that the reward item exists in your framework's item registry
Database errors
- Ensure
fishing_database.sqlwas imported into your database - Ensure
fishing_items.sqlwas imported into your database - Verify oxmysql is running and connected
Framework errors
- Check that
custom/server.luamatches your framework - ESX is the default. For QBx or QB-Core, update all four server exports
- Enable debug mode to see detailed error logs