I know you folks do not like perp, but I would greatly appreciate any help!
I am not a lua coder, however I do have some experience with Python, so I’m not completely lost.
I’m getting the following errors in my server console, help with even one of the following would be sooo awesome!
[ERROR] gamemodes/perp/gamemode/sv_hooks.lua:117: bad argument #2 to ‘Simple’ (function expected, got nil)
- Simple - [C]:-1
- unknown - gamemodes/perp/gamemode/sv_hooks.lua:117
[sv_hooks around line 117]
function GM:InitPostEntity ( ) self.GatherInvalidNames(); timer.Simple(1, GAMEMODE.PushNumPlayers); end
[2 - on player join]
[ERROR] gamemodes/perp/gamemode/sv_hooks.lua:131: attempt to call field ‘PushNumPlayers’ (a nil value)
- unknown - gamemodes/perp/gamemode/sv_hooks.lua:131
[sv_hooks around line 131]
function GM:PlayerConnect ( ) self.PushNumPlayers(); end
Please note that the mysql information is handled by sv_hooks.lua. Currently, the server is connecting and operating with the mysql server just fine.
Thats currently the only pressing issues I see right now. As said before, any help is much appreciated! If you need more information, or the entire sv_hooks.lua file, I’d be more than happy to oblige.