Raised This Month: $99 Target: $400
 24% 

Website URL in Sourcebans.cfg dont work


Post New Thread Reply   
 
Thread Tools Display Modes
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-17-2014 , 02:44   Re: Website URL in Sourcebans.cfg dont work
Reply With Quote #21

Found that issue on the Sourcebans tracker with a very old entry.

http://tracker.hlxce.com/issues/561

But this will probably never responded to.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-17-2014 , 03:22   Re: Website URL in Sourcebans.cfg dont work
Reply With Quote #22

Wow, took me like 10 Minutes to get passed the Cloudflare timeouts to finally reload the page successful. I know you're going for security, but Cloudflare is so bad.

Anyways, I found a way to fix it in case someone is interested to change that as well.
In /includes folder is a file called sb-callback.php and there I changed the following line ...

Code:
$kick = $r->sendCommand("kickid ".$steam." \"You have been kicked by this server, check http://" . $_SERVER['HTTP_HOST'].$requri." for more info.\"");
to

Code:
$kick = $r->sendCommand("kickid ".$steam." \"You have been kicked by this server, check http://www.whatever.com for more info.\"");
That fixed the kick message to a custom URL, when doing it from the Webpanel.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-17-2014 , 03:26   Re: Website URL in Sourcebans.cfg dont work
Reply With Quote #23

Wow, took me like 10 Minutes to get passed the Cloudflare timeouts to finally reload the page successful. I know you're going for security, but Cloudflare is so bad.

Anyways, I found a way to fix it in case someone is interested to change that as well.
In /includes folder is a file called sb-callback.php and there I changed the following line ...

Code:
$kick = $r->sendCommand("kickid ".$steam." \"You have been kicked by this server, check http://" . $_SERVER['HTTP_HOST'].$requri." for more info.\"");
to

Code:
$kick = $r->sendCommand("kickid ".$steam." \"You have been kicked by this server, check http://www.whatever.com for more info.\"");
That fixed the kick message to a custom URL, when doing it from the Webpanel.

P.S: Again, I had to retry like 10x before I could submit this post. Thanks to crappy Cloudflare.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Reply


Thread Tools
Display Modes

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 20:51.


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