Author Topic: Sourcebans & ULX/ULib  (Read 66857 times)

0 Members and 1 Guest are viewing this topic.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Sourcebans & ULX/ULib
« Reply #135 on: July 16, 2014, 05:14:30 PM »
Avoid, thanks so much for the suggestion! I installed a version from the sb site but the one you said works fine now!

Offline Flofus

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #136 on: August 13, 2014, 01:12:08 AM »
have installed and i got no errors how i get the ban form gmod to the sourceban site?

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: Sourcebans & ULX/ULib
« Reply #137 on: August 13, 2014, 06:21:26 AM »
Hello,
you use the sban/sbanid command that comes with the sourcebans integration.
Also make sure you edited sban_mysql.lua with your MySQL connection info.

Offline gamemann

  • Newbie
  • *
  • Posts: 2
  • Karma: 2
Re: Sourcebans & ULX/ULib
« Reply #138 on: August 13, 2014, 09:13:35 PM »
Okay, I know this thread is old but I've coded a few new features with this Sourcebans.lua!
I am not an advanced lua coder but the stuff I've coded in works well for my servers (GFL servers).
Download: http://gflclan.com/topic/5089-luasourcebanslua-new-features-by-roy/
  • Automatically reconnects to Sourcebans when losing connection to MYSQL (without crashing the server).
  • As long as the admin banning the user has a Sourcebans account, it will show up as their name (should fix the admins showing up as CONSOLE in Sourcebans).
  • Server Specific admins should work.
  • Server groups work now as well (Pull users from server groups. Example: "GFL Servers").
  • If the MYSQL database goes down, banning people will go through regular server bans, once the MYSQL server is back up, Sourcebans will work again!

Feel free to edit my code to make it better or suitable for you. I would appreciate it if you post the edited code here so I can become a bit better in lua.

Hope this helps a lot of you!

Thanks,
Roy (Gamemann)

Offline Flofus

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #139 on: August 14, 2014, 07:58:25 AM »
and now i get a error uniqueid "STEAM_0:0:......." not found (its a corect Steamid i have changed for anonym)

Offline sodak

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #140 on: March 08, 2015, 10:01:17 AM »
can you make a feature so the ulx banlist will be overriden by the sourcebans banlist so he loads up the sourcebans banlist and not using the banned_user-cfg im ulx

Offline MetallicGloss

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #141 on: April 17, 2015, 12:08:42 PM »
Can anyone help with this?

[ERROR] addons/serverguard/lua/plugins/sourcebans/init.lua:16: No Database Connection
  1. error - [C]:-1
   2. GetAllActiveBans - addons/serverguard/lua/plugins/sourcebans/init.lua:16
    3. LOAD_ACTIVE_BANS - addons/serverguard/lua/plugins/sourcebans/init.lua:14
     4. fn - addons/serverguard/lua/plugins/sourcebans/init.lua:48
      5. unknown - addons/ulib/lua/ulib/shared/hook.lua:184


Everything is set up correctly so I dont have an idea what is it.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 723
  • Karma: 114
  • :)
    • My Homepage
Re: Sourcebans & ULX/ULib
« Reply #142 on: April 17, 2015, 06:10:29 PM »
Can anyone help with this?

[ERROR] addons/serverguard/lua/plugins/sourcebans/init.lua:16: No Database Connection
  1. error - [C]:-1
   2. GetAllActiveBans - addons/serverguard/lua/plugins/sourcebans/init.lua:16
    3. LOAD_ACTIVE_BANS - addons/serverguard/lua/plugins/sourcebans/init.lua:14
     4. fn - addons/serverguard/lua/plugins/sourcebans/init.lua:48
      5. unknown - addons/ulib/lua/ulib/shared/hook.lua:184


Everything is set up correctly so I dont have an idea what is it.
ServerGuard SourceBans plug-in != ULX SourceBans plug-in.
ULib is only in the stack trace because of its hook overrides.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Snugzz

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #143 on: July 18, 2015, 06:04:02 PM »
Hey having an issue with my module but I'm not getting ANY errors I'm just having an issue where the bans won't get added to the database is there any way I can fix this?

*Edit* Got it working nevermind.
« Last Edit: July 30, 2015, 03:21:37 PM by Snugzz »

Offline Aaron Rogers

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #144 on: May 07, 2016, 07:59:41 AM »
So the addon works well with my server. Almost everything is connected and functioning as they should. Two things in-game though. When I try to sm_ban someone, it says I don't have access to the command. And the other thing is that when I ban someone through ULX Bans, it says the person was banned by "CONSOLE" instead of the person that's actually making the ban. Perhapse these two things go hand-and-hand. Anyone know why this is happening and how to fix it?

Within SourceBans, there's this problem when creating a group as well... since it's not automatically creating groups atm.
« Last Edit: May 07, 2016, 09:12:52 AM by Aaron Rogers »

Offline Sparrow

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Sourcebans & ULX/ULib
« Reply #145 on: October 17, 2017, 01:19:41 AM »
Everything works fine for me, except when I ban someone on the server and then try to unban them from the website it doesn't work. It says on the website that they were unbanned, but the user is still banned. They're still on the ban list. Any help would be super appreciated! :D