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

Release SourceBans++ (v1.6.4) [Updated: 2021-10-06]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 09-10-2015 , 17:50   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#261

I'm getting this, I have sm_unmute and sm_ungag as Overrides and I made sure it should work. It did work before I updated to latest release.
Quote:
[SourceComms] You lack the permission to unblocking with DB errors.
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Electr000999
Senior Member
Join Date: Aug 2011
Old 09-11-2015 , 05:11   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#262

i have db errors.

Code:
L 09/10/2015 - 12:37:59: [_SourceBans/sourcecomms.smx] Lost connection to DB. Reconnect after delay.
L 09/10/2015 - 12:37:59: [_SourceBans/sourcecomms.smx] Query_AddBlockInsert failed: Subquery returns more than 1 row
and small error from old versions sourcebans because i am use anti-reconnect, and player can be kicked before check by sourcebans..

Code:
L 09/09/2015 - 18:45:11: Info (map "c1m2_streets") (file "errors_20150909.log")
L 09/09/2015 - 18:45:11: [SM] Native "GetClientIP" reported: Client 1 is not connected
L 09/09/2015 - 18:45:11: [SM] Displaying call stack trace for plugin "_SourceBans/sourcebans.smx":
L 09/09/2015 - 18:45:11: [SM]   [0]  Line 349, sourcebans.sp::OnClientAuthorized()
L 09/09/2015 - 18:48:07: Error log file session closed.
to fix this: in OnClientAuthorized(client, const String:auth[]) add !IsClientConnected(client) in first check. Like this.
Code:
public OnClientAuthorized(client, const String:auth[])
{
	/* Do not check bots nor check player with lan steamid. */
	if(auth[0] == 'B' || auth[9] == 'L' || DB == INVALID_HANDLE || !IsClientConnected(client))
	{
		PlayerStatus[client] = true;
		return;
	}

Last edited by Electr000999; 09-11-2015 at 05:12.
Electr000999 is offline
Send a message via Skype™ to Electr000999
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 09-11-2015 , 10:28   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#263

A couple of questions:

1. Currently using 1.4.11 -- I had shut down my servers in January, but brought one back up 2 weeks ago. I know there was an issue with old steam IDs vs new Steam IDs (ID3?) but currently I am banning and setting up admins via the old SteamID (STEAM_0:0xxxxx) -- is there anything I need to do when upgrading to this version? Or does this also still use the "old" steamIDs just fine?

2. I am having to use a "fix" (modified) admin-flatfile.smx for the 1.4.11 version of sourcebans or my log files will fill up with a bunch of "unrecognized group" error messages. Does this version (1.5.3) have the ability to use the admin-flatfile included in the SM snapshots or will I still need to use the modified/fixed flatfile?

3. Can the website be customized with a logo/colors like the old versions or all of the 1.5.3 sites look the same?

Thank you in advance for your time in answering these questions.
SmackDaddy is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 09-12-2015 , 21:25   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#264

The 'Lost Password' function still does not work. Emails is not being sent.
I've added PHPMailer and changed some existing code.
Using a gmail account and it's login/gmail SMTP I manage to get it working without even landing in the spam folder.

You should probably add this to the 'To Do'-list for the next update.
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 09-12-2015 at 21:25.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 09-12-2015 , 22:17   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#265

Quote:
Originally Posted by Schpraaankiii View Post
The 'Lost Password' function still does not work. Emails is not being sent.
I've added PHPMailer and changed some existing code.
Using a gmail account and it's login/gmail SMTP I manage to get it working without even landing in the spam folder.

You should probably add this to the 'To Do'-list for the next update.
Works fine for me on Windows with SendMail
__________________
Sarabveer is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 09-12-2015 , 22:20   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#266

Quote:
Originally Posted by SmackDaddy View Post
A couple of questions:

1. Currently using 1.4.11 -- I had shut down my servers in January, but brought one back up 2 weeks ago. I know there was an issue with old steam IDs vs new Steam IDs (ID3?) but currently I am banning and setting up admins via the old SteamID (STEAM_0:0xxxxx) -- is there anything I need to do when upgrading to this version? Or does this also still use the "old" steamIDs just fine?

2. I am having to use a "fix" (modified) admin-flatfile.smx for the 1.4.11 version of sourcebans or my log files will fill up with a bunch of "unrecognized group" error messages. Does this version (1.5.3) have the ability to use the admin-flatfile included in the SM snapshots or will I still need to use the modified/fixed flatfile?

3. Can the website be customized with a logo/colors like the old versions or all of the 1.5.3 sites look the same?

Thank you in advance for your time in answering these questions.
1. Uses old SteamID's

2. We have our own Admins system, and don't use admins.cfg anymore.

3. Yes you can change the logos and CSS.

When upgrading from 1.4.11, please rerun the Installer, as there are new config.php entries, and DB structure has been modified.

Also MariaDB isn't supported.
__________________

Last edited by Sarabveer; 09-12-2015 at 22:24.
Sarabveer is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 09-13-2015 , 06:59   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#267

Quote:
Originally Posted by Sarabveer View Post
Works fine for me on Windows with SendMail
Didn't work at all for me at Linux. The Emails was not sent and there were no error output.
Tried multiple mail addresses ofc.
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 09-13-2015 , 18:46   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#268

Quote:
Originally Posted by Sarabveer View Post
1. Uses old SteamID's

2. We have our own Admins system, and don't use admins.cfg anymore.

3. Yes you can change the logos and CSS.

When upgrading from 1.4.11, please rerun the Installer, as there are new config.php entries, and DB structure has been modified.

Also MariaDB isn't supported.
Thank you for the reply! And it doesn't use admin.cfg at all? What happens if the domain goes down or something happens -- there's no backup for your admins via admins.cfg?
SmackDaddy is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 09-13-2015 , 18:48   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#269

Quote:
Originally Posted by SmackDaddy View Post
Thank you for the reply! And it doesn't use admin.cfg at all? What happens if the domain goes down or something happens -- there's no backup for your admins via admins.cfg?
Look @ configs/sourcebans/sb_admins.cfg
__________________
Sarabveer is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 09-13-2015 , 20:43   Re: [ANY] SourceBans: Reloaded (v1.5.3, 2015-09-03)
#270

Quote:
Originally Posted by Sarabveer View Post
Look @ configs/sourcebans/sb_admins.cfg
I haven't converted/upgraded to it yet -- just wanted to make sure there was still "admin ability" if the database was down....
SmackDaddy 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:15.


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