• DarkRP Gamemode Starting Issue
    5 replies, posted
Okay, before I say the actual problem note this: ~ Server has been wiped (fresh server) ~ The only addon is the one this gamemode requires Okay so in console there is an error: [code] [ERROR] gamemodes/darkrp/gamemode/modules/chat/sh_chatcommands.lua:44: attempt to index a nil value 1. unknown - gamemodes/darkrp/gamemode/modules/chat/sh_chatcommands.lua:44 2. finish - gamemodes/darkrp/gamemode/libraries/interfaceloader.lua:163 3. unknown - gamemodes/darkrp/gamemode/init.lua:84 Couldn't Load Init Script: 'darkrp/gamemode/init.lua' [/code] This error I ASSUME is causes errors like: [code] [ERROR] gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:298: no such table: FAdmin_PlayerGroup (SELECT groupname FROM FAdmin_PlayerGroup WHERE steamid = 'STEAM_0:0:000000000';) 1. error - [C]:-1 2. queryValue - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:298 3. v - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/access/sv_init.lua:382 4. unknown - lua/includes/modules/hook.lua:84 [/code] ^^^I tried deleting the sv.db file for the gamemode to remake the table but it doesn't. Here is the sh_chatcommands.lua line 44 (and around it): [lua] function DarkRP.chatCommandAlias(command, ...) local name for k, v in pairs{...} do name = string.lower(v) DarkRP.chatCommands[name] = table.Copy(DarkRP.chatCommands[command]) DarkRP.chatCommands[name].command = name // <--Line 44 end end [/lua] Problem: When I join the game, it keeps me in a "Joining/Connecting" team, meaning it cant tell that I actually joined. Also I just want to clear up the errors. I tried to be as helpful as possible to try and figure this out, since I'm tired of gamemodes not working on a fresh server. The SQL thing could be just it using something else, but I literally know nothing about SQL stuff, but the gamemode should come with a small tut incase of something like that. But any thanks for the help in advance. :)
Suddenly getting your exact first error. The only thing I did before restarting my server was edit a bunch of tool restrictions in FPP and then I was suddenly getting that error after a restart. It fails to load some DarkRP files after that error so all my configurations and customizations are gone, and I can't figure out what's causing this error for the life of me.
[QUOTE=Triple-X;50405878]Suddenly getting your exact first error. The only thing I did before restarting my server was edit a bunch of tool restrictions in FPP and then I was suddenly getting that error after a restart. It fails to load some DarkRP files after that error so all my configurations and customizations are gone, and I can't figure out what's causing this error for the life of me.[/QUOTE] Xenon Severs has the quick install for DarkRP, yet that doesn't work. It has to do with the sv.db file (or MySQL if you use that). It doesn't want to create ALL the FAdmin Tables. Bad coding is the only reason, but I cant narrow it down because there are so many files in the gamemode. [editline]28th May 2016[/editline] Also dont try going to GitHub, he doesn't like to admit he just cant fix it, instead he closes your issue. [editline]28th May 2016[/editline] These are the only tables it creates after many hours of deleting the sv.db, deleted all DarkRP related things and reinstalling, wiping and resetting my server 5 times. [IMG]http://i.imgur.com/TlIeZfU.png[/IMG] If your running on a server host, chances are its Linux. This gamemode doesn't seem to like Linux, and instead of admitting it does or getting it to work properly with Linux's deal with server things and doing SQL. He just ignores you and closes your issue you have.
The first error was the most important error. This was broken by a DarkRP update yesterday but I've sent a fix for it now. Try the latest version of DarkRP.
Issue seems resolved after the latest SVN download. [url]https://github.com/FPtje/DarkRP/pull/2453[/url]
[QUOTE=Triple-X;50407880]Issue seems resolved after the latest SVN download. [url]https://github.com/FPtje/DarkRP/pull/2453[/url][/QUOTE] Well Im not trying to be a smartass to you, but its obviously hasn't :/
Sorry, you need to Log In to post a reply to this thread.