Raised This Month: $ Target: $400
 0% 

SourceBans-Fork [MOVED]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-05-2015 , 15:40   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#151

Do you mean to show where a banned player is from. Yes, thats in SourceBans.

As you can see here: https://www.v33r.cf/index.php?p=banlist
__________________
Sarabveer is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-05-2015 , 16:01   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#152

Oh god forget it ! I didn't setup the ip when i triied to ban someone ... Thanks for you great work ;)
__________________
irepz is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-06-2015 , 09:07   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#153

Just retriied to kick someone with "livekick" and still get the same error :

"Player not longer on server"

Maybe something is wrong on my side i don't know but do you have any idea from what the issue could be ?
__________________
irepz is offline
Fukki Si
Junior Member
Join Date: Oct 2013
Old 01-06-2015 , 15:30   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#154

Code:
2015/01/06 21:02:19 [error] 2834#0: *1170 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected 'if' (T_IF) in /usr/share/nginx/www/sourcebans/getdemo.php on line 35" while reading response header from upstream, client: *REMOVED*, server: bans.gamersunited.eu, request: "GET /getdemo.php?type=B&id=1234 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "bans.gamersunited.eu", referrer: "http://bans.gamersunited.eu/index.php?p=banlist"
Seems like the LFI fix (on my machine atleast)has some problems compressed files, tested .rar and .7z so far.
.dem files work fine.
Fukki Si is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-06-2015 , 15:52   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#155

Quote:
Originally Posted by Fukki Si View Post
Code:
2015/01/06 21:02:19 [error] 2834#0: *1170 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected 'if' (T_IF) in /usr/share/nginx/www/sourcebans/getdemo.php on line 35" while reading response header from upstream, client: *REMOVED*, server: bans.gamersunited.eu, request: "GET /getdemo.php?type=B&id=1234 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "bans.gamersunited.eu", referrer: "http://bans.gamersunited.eu/index.php?p=banlist"
Seems like the LFI fix (on my machine atleast)has some problems compressed files, tested .rar and .7z so far.
.dem files work fine.
Fixed in Dev Release

https://github.com/Sarabveer/SourceB...ed17d24ee82429
__________________
Sarabveer is offline
Fukki Si
Junior Member
Join Date: Oct 2013
Old 01-06-2015 , 16:35   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#156

Quote:
Originally Posted by Sarabveer View Post
Thanks!
Fukki Si is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-06-2015 , 16:46   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#157

sarabveer, you have no idea from where the "player not longer on server" issue could happen ? Maybe just an option to log errors i don't know ?
__________________
irepz is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-06-2015 , 16:49   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#158

Quote:
Originally Posted by irepz View Post
sarabveer, you have no idea from where the "player not longer on server" issue could happen ? Maybe just an option to log errors i don't know ?
Your the only I know with this error.
__________________
Sarabveer is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-07-2015 , 15:47   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#159

Quote:
Originally Posted by irepz View Post
sarabveer, you have no idea from where the "player not longer on server" issue could happen ? Maybe just an option to log errors i don't know ?
Apparently, this is an error with the Steam3 fix in the Official SourceBans.

Another person also has this issue here, keep track of this thread: https://forums.alliedmods.net/showth...=251904&page=2
__________________
Sarabveer is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-08-2015 , 01:12   Re: SourceBans 1.5.0F [FORK] (Updated 2014/12/26)
#160

Thanks à lot ! I'll take a look

EDIT :

If i'm reading it the good way, i should replace

define('STATUS_PARSE', '/# +([0-9]+) +"(.+)" +(STEAM_[0-9]:[0-9]:[0-9]+) +([0-9:]+) +([0-9]+) +([0-9]+) +([a-zA-Z]+) +([0-9.:]+)/');

by

define('STATUS_PARSE', '/#[\s]+([0-9 ]+)[\s]+"(.+)"[\s]+(STEAM_[0-9]\:[0-9]\:[0-9]+)[\s]+([0-9]+[\:[0-9]+)[\s]+([0-9]+)[\s]+([0-9]+)[\s]+([a-zA-Z]+)[\s]+([0-9.\:]+)/');

in the init.php ?


EDIT 2 :

In my init.php, this regex look like this :
/# +([0-9]+) +"(.+)" +(STEAM_[0-9]:[0-9]:[0-9]+|\[U:[0-9]:[0-9]+\]) +([0-9:]+) +([0-9]+) +([0-9]+) +([a-zA-Z]+) +([0-9.:]+)/
__________________

Last edited by irepz; 01-08-2015 at 05:25. Reason: edit
irepz 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 03:17.


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