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 02-01-2015 , 11:41   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#191

Quote:
Originally Posted by DarkEvil View Post
@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"
	}
}
try replacing localhost with 127.0.0.1

also, this is a linux box, right?
__________________
Sarabveer is offline
DarkEvil
AlliedModders Donor
Join Date: May 2013
Location: 127.0.0.1@root
Old 02-01-2015 , 14:19   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#192

Quote:
Originally Posted by Sarabveer View Post
try replacing localhost with 127.0.0.1

also, this is a linux box, right?
Yeah It's a VPS with a linux system. I'm going try this soon
DarkEvil is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-02-2015 , 16:49   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#193

Quote:
Originally Posted by 2NASTY4U View Post
If you did not remove it, b flag admins can not ban somebody permanently.
This is intended functionality that is inherited from SourceMod's ban command, it really shouldn't be changed - if you want to give people access to permaban, let them unban.
__________________
asherkin is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-02-2015 , 16:50   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#194

Quote:
Originally Posted by asherkin View Post
This is intended functionality that is inherited from SourceMod's ban command, it really shouldn't be changed - if you want to give people access to permaban, let them unban.
Ok, undid that commit.
__________________
Sarabveer is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 02-02-2015 , 17:06   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#195

Quote:
Originally Posted by asherkin View Post
This is intended functionality that is inherited from SourceMod's ban command, it really shouldn't be changed - if you want to give people access to permaban, let them unban.
No. I want to let them permaban cheaters etc. But I will not give them access to unban flag. They have access to unban there own bans in SourceBans.

So removing this line is okay.

Quote:
Originally Posted by Sarabveer View Post
Ok, undid that commit.
OMG. Why?

Last edited by 2NASTY4U; 02-02-2015 at 17:06.
2NASTY4U is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-02-2015 , 17:06   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#196

Quote:
Originally Posted by 2NASTY4U View Post
No. I want to let them permaban cheaters etc. But I will not give them access to unban flag. They have access to unban there own bans in SourceBans.

So removing this line is okay.
well you can remove the line by yourself, and compile yourself.
__________________
Sarabveer is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 02-02-2015 , 17:10   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#197

Quote:
Originally Posted by Sarabveer View Post
well you can remove the line by yourself, and compile yourself.
Why are you removing this? Very bad, seriously. Your way with if(CheckCommandAccess(client, "sm_unban", ADMFLAG_BAN|ADMFLAG_UNBAN|ADMFLAG_ROOT)) was okay too.
2NASTY4U is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-02-2015 , 17:11   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#198

Quote:
Originally Posted by 2NASTY4U View Post
Why are you removing this? Very bad, seriously. Your way with if(CheckCommandAccess(client, "sm_unban", ADMFLAG_BAN|ADMFLAG_UNBAN|ADMFLAG_ROOT)) was okay too.
As per asherkin's post, you have to have the unban flag to permban, I want to keep SourceBans similar to the SourceMod ban system.
__________________
Sarabveer is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 02-02-2015 , 17:15   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#199

Quote:
Originally Posted by Sarabveer View Post
As per asherkin's post, you have to have the unban flag to permban, I want to keep SourceBans similar to the SourceMod ban system.
Recompiling every time is very annoying. If somebody wants to have some similar, they can use regular SM ban system.

Please fix the bugs kick / ban via website and the log bug as I told you.
2NASTY4U is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-02-2015 , 17:16   Re: SourceBans 1.5.1F [FORK] (Updated 2015/01/29)
#200

Quote:
Originally Posted by 2NASTY4U View Post
Recompiling every time is very annoying. If somebody wants to have some similar, they can use regular SM ban system.

Please fix the bugs kick / ban via website and the log bug as I told you.
The kick bug is something wrong with the server executing the kickid command. Please check your logs.
__________________
Sarabveer 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 00:27.


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