Raised This Month: $32 Target: $400
 8% 

SourceBans-Fork [MOVED]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-31-2015 , 18:22   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#181

Quote:
Originally Posted by 2NASTY4U View Post
No response to my post, Sarabveer?
1. I'm not adding CTBans.

2. Why does that need to be changed?

3. Are the game-owners banned, your just showing me people who are using a shared game to play.
__________________
Sarabveer is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 01-31-2015 , 18:26   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#182

Quote:
Originally Posted by Sarabveer View Post
1. I'm not adding CTBans.

2. Why does that need to be changed?

3. Are the game-owners banned, your just showing me people who are using a shared game to play.
This needs to be changed because the banned kiddies creates many family sharing accounts, so they can play again on server.

Steam-ID is the same. Look please. Why does it spam my logfile?

Another bugs: Kicking players is not possible with website. And if somebody is banned with website, he will not be kicked from server. He can play until reconnect.
2NASTY4U is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-31-2015 , 18:49   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#183

Quote:
Originally Posted by 2NASTY4U View Post
This needs to be changed because the banned kiddies creates many family sharing accounts, so they can play again on server.

Steam-ID is the same. Look please. Why does it spam my logfile?

Another bugs: Kicking players is not possible with website. And if somebody is banned with website, he will not be kicked from server. He can play until reconnect.
I'm asking why the code has to be changed in the plugin, you said to remove this line:
PHP Code:
if(CheckCommandAccess(client"sm_unban"ADMFLAG_UNBAN|ADMFLAG_ROOT)) 
Also, i'm investigating the kick issue.

About the logging the players, I use a modified version of TOGs_SourceBans. Please show the log thing to "ThatOneGuy".

EDIT: Is the person you are trying to kick on a TF2 server, or is it some other game?
__________________

Last edited by Sarabveer; 01-31-2015 at 19:04.
Sarabveer is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 01-31-2015 , 19:22   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#184

Quote:
Originally Posted by Sarabveer View Post
I'm asking why the code has to be changed in the plugin, you said to remove this line:
PHP Code:
if(CheckCommandAccess(client"sm_unban"ADMFLAG_UNBAN|ADMFLAG_ROOT)) 
Also, i'm investigating the kick issue.

About the logging the players, I use a modified version of TOGs_SourceBans. Please show the log thing to "ThatOneGuy".

EDIT: Is the person you are trying to kick on a TF2 server, or is it some other game?
If you did not remove it, b flag admins can not ban somebody permanently.

Not TF2, it's CSS.
2NASTY4U is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-31-2015 , 19:30   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#185

If I removed it, a hacker could get to the menu without admin.

I changed it to this:
PHP Code:
if(CheckCommandAccess(client"sm_unban"ADMFLAG_BAN|ADMFLAG_UNBAN|ADMFLAG_ROOT)) 
__________________
Sarabveer is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 01-31-2015 , 20:58   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#186

Quote:
Originally Posted by Sarabveer View Post
If I removed it, a hacker could get to the menu without admin.

I changed it to this:
PHP Code:
if(CheckCommandAccess(client"sm_unban"ADMFLAG_BAN|ADMFLAG_UNBAN|ADMFLAG_ROOT)) 
No? How should a hacker get to the menu if you remove the perm ban restriction for admins who have not unban or root flag?
2NASTY4U is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-31-2015 , 21:17   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#187

Quote:
Originally Posted by 2NASTY4U View Post
No? How should a hacker get to the menu if you remove the perm ban restriction for admins who have not unban or root flag?
Because anyone can open the ban menu, and SourceMod doesn't check if they have permission. Look, I added the ban flag, download the new plugin.
__________________
Sarabveer is offline
DarkEvil
AlliedModders Donor
Join Date: May 2013
Location: 127.0.0.1@root
Old 02-01-2015 , 09:56   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#188

Hey, Sarabveer I get a the problem that is [2002] I read the faqs but Idk what to do...
Note; I host my webserver & gameservers at the same vps
DarkEvil is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-01-2015 , 09:58   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#189

Quote:
Originally Posted by DarkEvil View Post
Hey, Sarabveer I get a the problem that is [2002] I read the faqs but Idk what to do...
Note; I host my webserver & gameservers at the same vps
Um, its saying sourcebans cant connect to the mysql server.

did you put localhost as the address for your server? or did you put the domain/ip of the vps?
__________________
Sarabveer is offline
DarkEvil
AlliedModders Donor
Join Date: May 2013
Location: 127.0.0.1@root
Old 02-01-2015 , 11:40   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#190

@Sarabveer It's Localhost as well

Here is my database;
Code:
"Databases"
{
	"driver_default"		"mysql"
	
	"sourcebans"
	{
		"driver"			"mysql"
		"host"				"localhost"
		"database"			"bans"
		"user"				"****"
		"pass"				"****"
		//"timeout"			"0"
		"port"			"3306"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"admins"
	{
		"driver"			"sqlite"
		"database"			"admins-sqlite"
	}
}
DarkEvil is offline
Closed Thread


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 15:41.


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