Ulysses Stuff > Releases
Sourcebans & ULX/ULib
Sidewaykill:
Yeah, it still works. Add me on Steam (Sidewaykill) if you need a hand.
Cyborg_delta1:
Hi all I have every set up and its saying in the server console that it has connected to the database and when I join the server I can see it has given me superadmin, when I'm in the server I do not have admin assess to the admin GUI only the guest and I can not use any ULX commands but I can use sm_csay and ban in the console any one know why it is doing this?
Also when I have banned my self and the ban has expired it wont let me back into the server even though the website say's unbanned :(
centran:
You still need to set yourself as admin through ulx. You will need console or rcon access and type ulx adduser <name> <group>
I believe there is a way to automatically put users in the Admin or SuperAdmin group but I never used that feature of the module nor do I even know if it works with ulx.
As to why you weren't unbanned, are you sure you have the rcon password setup correctly in sourcebans webgui?
Cyborg_delta1:
--- Quote from: centran on February 19, 2013, 11:14:28 AM ---You still need to set yourself as admin through ulx. You will need console or rcon access and type ulx adduser <name> <group>
I believe there is a way to automatically put users in the Admin or SuperAdmin group but I never used that feature of the module nor do I even know if it works with ulx.
As to why you weren't unbanned, are you sure you have the rcon password setup correctly in sourcebans webgui?
--- End quote ---
Ok never mind I have found out why it was not working. Well it was my fault rely it said I had superadmin but the group name did not match when I fixed this and did !menu I did not see any of the setting stab's and thought it was not giving me access but I also failed to notice I had access to all of the normal functions but I still could not force change the map or see the ban's list in XGUI, so I was playing with some buttons on the XGUI settings tab and found "refresh XGUI Modules" and when I hit that button it gave access to every thing the ban's tab, map changes and group settings so I have every thing working now and its loading admins from the Sourcebans Web page and there ranks :)
If you like to do this ignore the step that tells you to replace the code in line 317 in sourcebans.lua and it should look like this
--- Code: ---["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";
--- End code ---
Once you have done that you !MUST! make sure that your sourcebans server admin groups match the ulx groups i.e.
Sourcebans: Superadmin, ULX: superadmin
This will not work because the group name do not match and the names are case sensitive.
Sourcebans: admin, ULX: admin
This WILL work because the names match
Remember you can make your own group/group's but remember to change or add the group name in the groups.txt file (or do it in game) this is found at garrysmod/data/ulib/groups.txt
once you have done this you need to change the setting in the sourcebans_init.lua and change "dogroups" from false to true
Hope this helps some of you also thank you to the ULX dev's for fixing the XGUI but what can I do to force the admins client to run the Refresh XGUI modules command when they spawn in and only run it if there an admin?
mikey:
My RCON passwords are correct on Sourcebans, yet they still do not unban from the originally banned server (or any other servers they join while banned) until the ban expires.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version