Raised This Month: $ Target: $400
 0% 

[CS:S/CS:GO] CT Bans


Post New Thread Reply   
 
Thread Tools Display Modes
MrBrightSide
Member
Join Date: Jun 2011
Old 06-24-2012 , 05:45   Re: [CS:S] CT Bans
Reply With Quote #61

NEW NEWS!!!!!!

Spoiler


Web Interface - http://ltgamers.com/testbans/ctban.php

Source bans interface - http://disc-ff.com/sourcebans/index.php?p=ctbanlist

I would like to thank Fire from Fire Friendly as known as Fearts for the source bans ver
Update:

- 4:50pm 6/24/12 - integrated it into source bans
- 5:49pm 6/24/12 - Made newer ct bans push older bans down.
- 10:21pm 6/24/12 -finish coding the log in script
NEWS - 12:56am 6/25/12 - Admin panel will not be coming any time soon.
- 10:09am 6/25/12 - Admin panel for web panel is finished, Still working on Source bans integration.
- 12:58pm 6/25/12 - db.php and server.php now links to all .php files that need it
- 6:57 am 6/30/12 - Sorry i been moving for the past 2 days, anyway updated some colors to make things easier to read
- 9:01 am 3/5/13 - Sorry for such a massive time gap on this but anyway, change the top link so u can see what it looks like, conbined the server.php and the db.php added a serverbanner section if u wanted to add a banner and this is also 100% not finish but being updated once again.
Todo

- fix sb for firefox
- Add an admin section
- Make it look nicer
- Integrate sourcebans admin into it
Attached Files
File Type: zip Source Bans ctbans.zip (82.9 KB, 1289 views)
File Type: zip Web Interface ctbans.zip (35.7 KB, 966 views)

Last edited by MrBrightSide; 03-05-2013 at 09:03.
MrBrightSide is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 06-24-2012 , 17:41   Re: [CS:S] CT Bans
Reply With Quote #62

Code:
"CT Ban a Player"
        {
            "cmd"        "sm_ctban #1 #2 #3"
            "execute"    "player"
            "1"
            {
                "type"        "player"
                "method"    "name"
                "title"        "Player:"    
            }
            "2"
            {
                "type"        "list"
                "title"        "Reason:"
                "1"        "5"
                "1."        "(5min)"
                "2"        "15"
                "2."        "(15min)"
                "3"        "30"
                "3."        "(30min)"
                "4"        "60"
                "4."        "(60min)"
                "5"        "0"
                "5."        "(Perm)"
            }
            "3"
            {
                "type"        "list"
                "title"        "Reason:"
                "1"        "Baiting"
                "1."        "Baiting"
                "2"        "Gun Planting"
                "2."        "Gun Planting"
                "3"        "No Mic"
                "3."        "No Mic"
                "4"        "Trolling/Bad Commands"
                "4."        "Trolling/Bad Commands"
                "5"        "Freekilling"
                "5."        "Freekilling"
                "6"        "Mass Freekill"
                "6."        "Mass Freekill"
            }
        }
^Better CTBan player there. This way you can show a reason.

Also, I never could get rage ban to work properly. It would show people who left the server but when I click their names it just closes menu.
__________________
Fearts is offline
MrBrightSide
Member
Join Date: Jun 2011
Old 06-24-2012 , 18:19   Re: [CS:S] CT Bans
Reply With Quote #63

Couldnt test it let but it looks like it should work, and doing it like this gives you control over admin bans for the reason so you dont have Admin 1 banning some one for 30 mins and Admin 2 banning someone for 50mins for the same reason. if some1 could test this that be great.

Code:
	"Ct Bans"
	{
		"Ct Ban a Player"
		{
			"Baiting"
			{
				"cmd"		"sm_ctban #1 45 baiting"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Gun Planting"
			{
				"cmd"		"sm_ctban #1 60 GunPlanting"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Not Helping"
			{
				"cmd"		"sm_ctban #1 30 NotHelping"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Taling over warden"
			{
				"cmd"		"sm_ctban #1 60 TalingOverWarden"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Small Freekill(1-3 Players)"
			{
				"cmd"		"sm_ctban #1 60 Freekill"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Medium Freekill(4-5 Players)"
			{
				"cmd"		"sm_ctban #1 240 Freekill"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Mass Freekill(6+ Players)"
			{
				"cmd"		"sm_ctban #1 1440 Freekill"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}
			"Perm Ct Ban"
			{
				"cmd"		"sm_ctban #1 0 Perm"
				"admin"		"sm_rcon"
				"execute"	"player"
				"1"
				{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"	
				}
			}				
		}
		"Cheak player CT Ban"
		{
			"cmd"		"sm_isbanned #1"
			"execute"	"player"
			"1"
			{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"
			}
		}
		"Remove CT Ban"
		{
			"cmd"		"sm_removectban #1"
			"execute"	"player"
			"1"
			{
				"type"		"player"
				"method"	"name"
				"title"		"Player:"
			}
		}
	}
MrBrightSide is offline
Chaos2611
Member
Join Date: Jan 2011
Old 06-25-2012 , 14:26   Re: [CS:S] CT Bans
Reply With Quote #64

Rcon message:

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"driver_default" "mysql"

"sourcebans"
{
"driver" "default"
"host" "localhost"
"database" "casualelite_sourcebans"
"user" "xxxxxx"
"pass" "xxxx"
//"timeout" "0"
"port" "3306"
}
}
Why?
Chaos2611 is offline
MrBrightSide
Member
Join Date: Jun 2011
Old 06-25-2012 , 19:36   Re: [CS:S] CT Bans
Reply With Quote #65

Code:
 "Databases"
{
	"driver_default"		"mysql"
	
	"default"
	{
		"driver"				"default"
		"host"				"localhost"
		"database"				"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"				"0"
	}

	"sourcebans"
	{
		"driver"				"mysql"
		"host"				"localhost"
		"database"				"casualelite_sourcebans"
		"user"				"xxxxxx"
		"pass"				"xxxx"
		//"timeout"			"0"
		"port"				"3306"
	}	

	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
}
Also for your host name, you can only put localhost if the database and the server are running off the same ip, if it isnt you need to put the database ip were localhost is for source bans, localhost stays the same for clientprefs, storage-local, and default. if you need any more help with soucebans go here http://www.sourcebans.net/

Last edited by MrBrightSide; 06-25-2012 at 19:37.
MrBrightSide is offline
Chaos2611
Member
Join Date: Jan 2011
Old 06-25-2012 , 20:34   Re: [CS:S] CT Bans
Reply With Quote #66

Quote:
Originally Posted by MrBrightSide View Post
Code:
 "Databases"
{
    "driver_default"        "mysql"
    
    "default"
    {
        "driver"                "default"
        "host"                "localhost"
        "database"                "sourcemod"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"                "0"
    }

    "sourcebans"
    {
        "driver"                "mysql"
        "host"                "localhost"
        "database"                "casualelite_sourcebans"
        "user"                "xxxxxx"
        "pass"                "xxxx"
        //"timeout"            "0"
        "port"                "3306"
    }    

    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
}
Also for your host name, you can only put localhost if the database and the server are running off the same ip, if it isnt you need to put the database ip were localhost is for source bans, localhost stays the same for clientprefs, storage-local, and default. if you need any more help with soucebans go here http://www.sourcebans.net/
Doesnt work
Chaos2611 is offline
MrBrightSide
Member
Join Date: Jun 2011
Old 06-25-2012 , 20:58   Re: [CS:S] CT Bans
Reply With Quote #67

Quote:
Originally Posted by MrBrightSide View Post
if you need any more help with soucebans go here http://www.sourcebans.net/
This is for CT Bans support
also
Quote:
Originally Posted by Chaos2611 View Post
Doesnt work
do you aspect me to hack your server to see the log file, or read your mind?

Last edited by MrBrightSide; 06-25-2012 at 20:58.
MrBrightSide is offline
Chaos2611
Member
Join Date: Jan 2011
Old 06-25-2012 , 21:00   Re: [CS:S] CT Bans
Reply With Quote #68

Quote:
Originally Posted by MrBrightSide View Post
This is for CT Bans support
also

do you aspect me to hack your server to see the log file, or read your mind?

No im just asking data how to config this file O-o. Chill with the attitude.
Chaos2611 is offline
Emaster
Junior Member
Join Date: May 2012
Location: USA
Old 06-26-2012 , 21:39   Re: [CS:S] CT Bans
Reply With Quote #69

Looks nice so far, MrBrightSide. I favorited your post so I can check it frequently. If you need any help with testing, hit me up.
Emaster is offline
away000
Veteran Member
Join Date: Sep 2010
Old 06-27-2012 , 13:52   Re: [CS:S] CT Bans
Reply With Quote #70

The ban option still not working, only remove and check, thanks.
__________________
away000 is offline
Reply



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 06:11.


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