Ulysses Stuff > Releases

Sourcebans & ULX/ULib

<< < (9/30) > >>

Cyborg_delta1:

--- Quote from: centran on December 29, 2012, 04:18:44 PM ---I couldn't reproduce. I was able to ban through the ban tab and it worked fine despite being really glitchy. I couldn't ban through the menu because it was glitched to badly. In both cases I noticed it defaults to a perma ban so that might have something to do with it.
The XGUI currently doesn't work completly so that might have something to do with it. Did you try banning through console using ulx ban or ulx banid. Or through chat using !ban?

--- End quote ---

Yea !ban works fine but the XGUI always bans permanently what ever you put the length to but the reason works fine in the XGUI?

centran:

--- Quote from: Cyborg_delta1 on January 01, 2013, 03:07:18 PM ---Yea !ban works fine but the XGUI always bans permanently what ever you put the length to but the reason works fine in the XGUI?

--- End quote ---
Even though it was glitchy when tried to input the time, the time worked for me when I used the ban tab. However, xgui completely glitched out when I tried using the ban menu,
So, I am not sure if the problem is with the sourcebans code or if the xgui ban is setting the time as 0. I would recommend not using the xgui ban menu until it gets fixed as I think that it might be the problem. Especially since it seems to default to permanent.

Stickly Man!:

--- Quote from: centran on January 02, 2013, 09:13:27 AM ---Even though it was glitchy when tried to input the time,

--- End quote ---

.. I fixed that 16 days ago


--- Quote from: Cyborg_delta1 on January 01, 2013, 03:07:18 PM ---Yea !ban works fine but the XGUI always bans permanently what ever you put the length to but the reason works fine in the XGUI?

--- End quote ---

I was able to successfully ban myself for 2 minutes using XGUI, no other addons installed besides ULX+ULib. Are you sure you're running the most up-to-date version?

Milk_:
I finally set all of sourcebans up, including the site.. but it isn't working properly.

If I ban somebody through the dashboard, it works perfectly but if I ban through the server (!ban) then the ban appears on the dashboard as expired instantly.. and the ban is still in place on the server.

edit: I'm not too sure if it's related.. but when I look at the ban, it said it was applied by Console and not the admin? Also, when the server is also starting up, I get "addons/ulx/lua/includes/modules/sourcebans.lua:247: attempt to index field 'Select Admin Groups' (a nil value)",  So I don't think I am class as an 'admin' in SB's eyes. When I attempt to use sm_csay hello, it says I do not have access to the command.




--- Quote from: Stickly Man! on January 02, 2013, 09:38:05 AM ---.. I fixed that 16 days ago

I was able to successfully ban myself for 2 minutes using XGUI, no other addons installed besides ULX+ULib. Are you sure you're running the most up-to-date version?

--- End quote ---

I also have the same problem with XGUI

centran:

--- Quote from: Milk_ on January 05, 2013, 01:02:50 AM --- Also, when the server is also starting up, I get "addons/ulx/lua/includes/modules/sourcebans.lua:247: attempt to index field 'Select Admin Groups' (a nil value)",  So I don't think I am class as an 'admin' in SB's eyes. When I attempt to use sm_csay hello, it says I do not have access to the command.

--- End quote ---

Hmm.. Did you do the modification to line 137 of sourcebans.lua that allows all admins in sourcebans to be added?
It is can't find the query for Select Admin Groups and that is on lin 136. I am guess you messed something up.

If you want the module to load ALL admins in sourcebans and not just the ones you add to the server group in sourcebans then the lines 135-138 in sourcebans.lua should look like this

--- Code: ---   -- Admins
    ["Select Admin Groups"] = "SELECT flags, immunity, name FROM %s_srvgroups";
--    ["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";

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version