Raised This Month: $51 Target: $400
 12% 

Release Legacy SourceBans 1.4.11 (Updated 2014/02/17)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Cho
Junior Member
Join Date: Aug 2008
Old 02-21-2009 , 08:43   Re: SourceBans (1.4.1) (UPDATE)
#1341

Hi

We have just installed this on our servers and we have sorted out all the admin Groups and added all our servers..

I have a couple of questions

We have Admins only setup on certain servers to run certain servers.

When they ban will it still be across all the servers ?

Also

When our Admins ban on the servers is it automaticaly updated to the database on the webside or do they still have to write there ban in there aswell.


I also get this in my sourcemod logs

L 02/21/2009 - 115:28: [sourcebans.smx] Database failure: Could not find database conf "sourcebans"

What must i do here to fix the problem

Last edited by Cho; 02-21-2009 at 08:57.
Cho is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-21-2009 , 09:12   Re: SourceBans (1.4.1) (UPDATE)
#1342

Yes it will ban across all servers.
Yes it will automatically be added to the website.

http://www.sourcebans.net/node/85
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Cho
Junior Member
Join Date: Aug 2008
Old 02-21-2009 , 11:13   Re: SourceBans (1.4.1) (UPDATE)
#1343

Nice one ty
Cho is offline
dann
Senior Member
Join Date: Nov 2007
Old 02-21-2009 , 16:48   Re: SourceBans (1.4.1) (UPDATE)
#1344

Quote:
Originally Posted by dann View Post
thanks ive gotten everything working now.

the only problem im having now is with banning groups. after about 20 seconds i get a pop up



when i look at the ban list it bans about 20 players before the error and if i refresh a minute or so later it has banned a few more but then stops banning altogether.

i grabbed part of my error log. is there anyplace I can pm the whole thing?



**edit switched providers today and i still get the same errors with gives me an error 500 on "that black dude" [ThatBlackDude ÃŽÂ"ÃŽÂ¥]

[22-Feb-2009 00:44:16] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/public_html/sourcebans/includes/system-functions.php on line 1059
[22-Feb-2009 00:44:16] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 93: parser error : PCDATA invalid Char value 1 in /home/public_html/sourcebans/includes/system-functions.php on line 1059
[22-Feb-2009 00:44:16] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: &lt;steamID&gt;&lt;![CDATA[ThatBlackDude ÃŽÂ"ÃŽÂ¥]]&gt;&lt;/steamID&gt; in /home/public_html/sourcebans/includes/system-functions.php on line 1059


and these on every player in a group.

[21-Feb-2009 23:52:25] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/public_html/sourcebans/includes/sb-callback.php on line 2416
[21-Feb-2009 23:52:25] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/public_html/sourcebans/includes/sb-callback.php on line 2409

any help with this?

thanks

Last edited by dann; 02-22-2009 at 01:59.
dann is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-22-2009 , 08:34   Re: SourceBans (1.4.1) (UPDATE)
#1345

Quote:
Originally Posted by Hozjo View Post
what ports need to be open for sourcebans to run just 3306? still hving problems where this works on our windows box but are getting errors on our linux box
You need to open the port, your mysql server listens to (default: 3306). Maybe this could help you.

Quote:
Originally Posted by dann View Post
**edit switched providers today and i still get the same errors with gives me an error 500 on "that black dude" [ThatBlackDude ÃŽÂ"ÃŽÂ¥]

[22-Feb-2009 00:44:16] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/public_html/sourcebans/includes/system-functions.php on line 1059
Could be a bad char i missed to sort out. Could you pm me the steam group link you try to ban, please?

Edit: Fixed in r217.
Replace the following files:
includes/sb-callback.php
includes/system-functions.php
__________________

Last edited by Peace-Maker; 02-22-2009 at 20:30.
Peace-Maker is offline
Grey Echo
Senior Member
Join Date: Nov 2008
Location: United States
Old 02-26-2009 , 16:53   Re: SourceBans (1.4.1) (UPDATE)
#1346

Hey guys. I'm getting this error in my sourcebans.log file quite frequently and, when it happens, all my bans are removed on my servers that are controlled by SourceBans.

Quote:
L 02/26/2009 - 12:284: [sourcebans.smx] SELECT authid, srv_password, srv_group, srv_flags, user, immunity FROM sb_admins_servers_groups AS asg LEFT JOIN sb_admins AS a ON a.aid = asg.admin_id WHERE server_id = 1 OR srv_group_id = ANY (SELECT group_id FROM sb_servers_groups WHERE server_id = 1) GROUP BY aid, authid, srv_password, srv_group, srv_flags, user
Can anyone help me out here?

Last edited by Grey Echo; 02-26-2009 at 17:21.
Grey Echo is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 02-26-2009 , 19:06   Re: SourceBans (1.4.1) (UPDATE)
#1347

from the web ???
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
Grey Echo
Senior Member
Join Date: Nov 2008
Location: United States
Old 02-26-2009 , 19:09   Re: SourceBans (1.4.1) (UPDATE)
#1348

Bans from the web do not work either. Local bans by admins while they are on the server do work, however, including via the admin menu and RCON. It's interesting, because right now the server is submitting bans to the SourceBans database but does not appear to be reading from it. What's also interesting is that I have another server which is working 100% yet is running on nearly the same configuration as the one that is not working. The error I posted above is the only error I receive from SourceBans. Again, everything about it is working except the bans.

Last edited by Grey Echo; 02-26-2009 at 19:12.
Grey Echo is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 02-26-2009 , 20:06   Re: SourceBans (1.4.1) (UPDATE)
#1349

do u have this set correcttly ?:

// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID" "-1"
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
Grey Echo
Senior Member
Join Date: Nov 2008
Location: United States
Old 02-26-2009 , 21:05   Re: SourceBans (1.4.1) (UPDATE)
#1350

Yeah, it's set to the proper number.
Grey Echo is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode