Ulysses Stuff > Releases

Sourcebans & ULX/ULib

<< < (21/30) > >>

TrulyRazor:

--- Quote from: JamminR on September 11, 2013, 03:30:16 PM ---That error appears 2-3 times in this topic, and the answer so far is the same.
Make sure your sourcebans module is loading.
It should show loaded much earlier in the server console.

--- End quote ---

How could I fix it if it isn't loading properly?

JamminR:
By following the step by step instructions as linked in the first post that link to the Sourcebans wiki and project.
Once that's done, there's some editing to be done as described.


TrulyRazor:
Whew, I did it!
SouceBans is working like a charm, except for one thing.

When I ban people via the gmod server, the person who banned them shows up as CONSOLE on the site.


I have my steamid and everything setup on the admins thing for the site, and here is my line regarding admins:

    -- Admins
--    ["Select Admins"] = "SELECT a.aid, a.user, a.authid, a.srv_group, a.srv_flags, a.immunity FROM %s_admins a, %s_admins_servers_groups g WHERE g.server_id = %i AND g.admin_id = a.aid";
   ["Select Admins"] = "SELECT a.aid, a.user, a.authid, a.srv_group, a.srv_flags, a.immunity FROM %s_admins a";


Found the error:

Lua Error: [ERROR] addons/ulx/lua/includes/modules/sourcebans.lua:247: attempt to index field 'Select Admin Groups' (a nil value) 1. loadAdmins - addons/ulx/lua/includes/modules/sourcebans.lua:247 2. unknown - addons/ulx/lua/includes/modules/sourcebans.lua:806 3. unknown - lua/includes/modules/concommand.lua:69

TrulyRazor:

--- Quote from: TrulyRazor on September 16, 2013, 07:02:18 PM ---Whew, I did it!
SouceBans is working like a charm, except for one thing.

When I ban people via the gmod server, the person who banned them shows up as CONSOLE on the site.


I have my steamid and everything setup on the admins thing for the site, and here is my line regarding admins:

    -- Admins
--    ["Select Admins"] = "SELECT a.aid, a.user, a.authid, a.srv_group, a.srv_flags, a.immunity FROM %s_admins a, %s_admins_servers_groups g WHERE g.server_id = %i AND g.admin_id = a.aid";
   ["Select Admins"] = "SELECT a.aid, a.user, a.authid, a.srv_group, a.srv_flags, a.immunity FROM %s_admins a";


Found the error:

Lua Error: [ERROR] addons/ulx/lua/includes/modules/sourcebans.lua:247: attempt to index field 'Select Admin Groups' (a nil value) 1. loadAdmins - addons/ulx/lua/includes/modules/sourcebans.lua:247 2. unknown - addons/ulx/lua/includes/modules/sourcebans.lua:806 3. unknown - lua/includes/modules/concommand.lua:69

--- End quote ---

This is a really urgent issue. Anyone have a fix?

Storm:
I would desperately like to put sourcebans on my gmod servers but there are so many "fixes" to the original instructions, I got totally lost. Can I ask though- if I switch to sourcebans, what happens to my existing bans on ulx? Do they transfer through the banned_user file? Or are they lost?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version