[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:606: attempt to index local 'jobTable' (a nil value)
[] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:606
[*]
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:713: attempt to index local 'jobTable' (a nil value)
[] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:713
[*]
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:23: attempt to index local 'jobTable' (a nil value)
[] 1. Call - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:23
[] 2. unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:62
[]
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:241: attempt to index local 'jobTable' (a nil value)
[] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:241
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:6: attempt to index local 'jobTable' (a nil value)
[] 1. Call - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:6
[] 2. unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:62
[]
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:234: attempt to index local 'jobTable' (a nil value)
[] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:234
ADITIONAL INFORMATION:
A complete re-install of garry's mod has not fixed the problem either.
Looks more like an attempt to load the gamemode in singleplayer, which will produce errors as Player:SteamID64() returns no value serverside in singleplayer.
Description of the bug
Uh.... cheese?
How to make the bug happen
Get latest master DarkRP, load single-player, press F1/F3/F4.
Lua errors
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/svdata.lua:313: attempt to concatenate a nil value [] 1. createPlayerData - gamemodes/darkrp/gamemode/modules/base/svdata.lua:313 [] 2. callback - gamemodes/darkrp/gamemode/modules/base/svdata.lua:407 [] 3. callback - gamemodes/darkrp/gamemode/modules/base/svdata.lua:292 [] 4. query - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:302 [_] 5. offlinePlayerData - gamemodes/darkrp/gamemode/modules/base/svdata.lua:258 [] 6. retrievePlayerData - gamemodes/darkrp/gamemode/modules/base/svdata.lua:303 [] 7. restorePlayerData - gamemodes/darkrp/gamemode/modules/base/svdata.lua:390 [] 8. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:587 []
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:606: attempt to index local 'jobTable' (a nil value) [] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:606 [*]
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:713: attempt to index local 'jobTable' (a nil value) [] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:713 [*]
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:23: attempt to index local 'jobTable' (a nil value) [] 1. Call - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:23 [] 2. unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:62 []
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:241: attempt to index local 'jobTable' (a nil value) [] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:241 [*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:6: attempt to index local 'jobTable' (a nil value) [] 1. Call - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:6 [] 2. unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemodefunctions.lua:62 []
[*]
[_][ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemodefunctions.lua:234: attempt to index local 'jobTable' (a nil value) [] 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:234
ADITIONAL INFORMATION:
Why the developer of DarkRP is responsible for this issue
More cheese.