Raised This Month: $51 Target: $400
 12% 

TF2 Class limit


Post New Thread Reply   
 
Thread Tools Display Modes
tony2kownz
Junior Member
Join Date: Jan 2008
Old 02-08-2008 , 03:27   Re: TF2 Class limit
Reply With Quote #111

Hi Nican , thanks for this great mod, it helps keeping the noobs away for my 4 servers.

We have a problem though, I don't see anything in my logs about it. But a lot of people are complaining about how they *can* actually switch to a class that has already the limit and then they get killed and switched to another class.

For example, I limit snipers to 3 on each team, and let's say there are 3 already on the red team. A player will choose a sniper and they actually become a sniper(hard to believe I know). Then after playing that class for about 30 seconds, they get killed and switched to a different class.

I had to disable the mod for that reason actually. A lot of people complained about that.

Also I have about 60 guild members so far and I'd love an immunity for this mod, or actually it would be better if the mod recognized the immunity of the sourcemod admins, in my case, that would be a lot easier to control.

I will post my configuration for some of my servers:

Code:
"MaxClassPlayers"
{
    "default"
    {
        //When there is 1 to 5 players in the server
        "1-10"
        {
             //If the team is not set, it will be 1
            //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
            "scout"        "0"
            "sniper"    "3"
            "soldier"    "4"
            "demoman"    "3"
            "medic"        "4"
            "heavy"        "0"
            "pyro"        "3"
            "spy"        "2"
            "engineer"    "4"
        }
        
        //When there is 6 players in the server
        "11-32"
        {
             //If the team is not set, it will be 1
            //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
            "scout"        "2"
            "sniper"    "3"
            "soldier"    "4"
            "demoman"    "3"
            "medic"        "4"
            "heavy"        "4"
            "pyro"        "3"
            "spy"        "2"
            "engineer"    "4"
        }
        //Anything that is not set, will be -1 (no limit)
    }



    "cp_dustbowl"
    {
            //When there is 1 to 5 players in the server
            "1-12"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "1"
                 "blue"        "0"
             
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "0"
                "sniper"    "1"
                "soldier"    "-1"
                "demoman"    "-1"
                "medic"        "-1"
                "heavy"        "-1"
                "pyro"        "-1"
                "spy"        "1"
                "engineer"    "2"
            }
            
            //When there is 1 to 5 players in the server
            "1-12"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "0"
                 "blue"        "1"
             
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "1"
                "sniper"    "0"
                "soldier"    "-1"
                "demoman"    "-1"
                "medic"        "-1"
                "heavy"        "-1"
                "pyro"        "-1"
                "spy"        "2"
                "engineer"    "0"
            }
            
            //When there is 6 players in the server


            "13-32"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "1"
                 "blue"        "0"
                 
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "1"
                "sniper"    "3"
                "soldier"    "3"
                "demoman"    "3"
                "medic"        "4"
                "heavy"        "4"
                "pyro"        "4"
                "spy"        "1"
                "engineer"    "5"
            }


            "13-32"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "0"
                 "blue"        "1"
                 
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "4"
                "sniper"    "2"
                "soldier"    "4"
                "demoman"    "3"
                "medic"        "4"
                "heavy"        "4"
                "pyro"        "4"
                "spy"        "3"
                "engineer"    "2"
            }
            //Anything that is not set, will be -1 (no limit)
    }

    "cp_gravelpit"
    {
            //When there is 1 to 5 players in the server
            "1-12"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "1"
                 "blue"        "0"
             
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "0"
                "sniper"    "1"
                "soldier"    "-1"
                "demoman"    "-1"
                "medic"        "-1"
                "heavy"        "-1"
                "pyro"        "-1"
                "spy"        "1"
                "engineer"    "2"
            }
            
            //When there is 1 to 5 players in the server
            "1-12"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "0"
                 "blue"        "1"
             
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "1"
                "sniper"    "0"
                "soldier"    "-1"
                "demoman"    "-1"
                "medic"        "-1"
                "heavy"        "-1"
                "pyro"        "-1"
                "spy"        "2"
                "engineer"    "0"
            }
            
            //When there is 6 players in the server


            "13-32"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "1"
                 "blue"        "0"
                 
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "1"
                "sniper"    "3"
                "soldier"    "3"
                "demoman"    "3"
                "medic"        "4"
                "heavy"        "4"
                "pyro"        "4"
                "spy"        "1"
                "engineer"    "5"
            }


            "13-32"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "0"
                 "blue"        "1"
                 
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "4"
                "sniper"    "2"
                "soldier"    "4"
                "demoman"    "3"
                "medic"        "4"
                "heavy"        "4"
                "pyro"        "4"
                "spy"        "3"
                "engineer"    "2"
            }
            //Anything that is not set, will be -1 (no limit)
    }
}
that one is for my stock rotation map server and this next one is for my 24/7 Dustbowl server:

Code:
"MaxClassPlayers"
{
    //Default config if the map tree is not found
    "default"
    {
            //When there is 1 to 5 players in the server
            "1-12"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "1"
                 "blue"        "0"
             
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "0"
                "sniper"    "1"
                "soldier"    "-1"
                "demoman"    "-1"
                "medic"        "-1"
                "heavy"        "-1"
                "pyro"        "-1"
                "spy"        "1"
                "engineer"    "2"
            }
            
            //When there is 1 to 5 players in the server
            "1-12"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "0"
                 "blue"        "1"
             
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "1"
                "sniper"    "0"
                "soldier"    "-1"
                "demoman"    "-1"
                "medic"        "-1"
                "heavy"        "-1"
                "pyro"        "-1"
                "spy"        "2"
                "engineer"    "0"
            }
            
            //When there is 6 players in the server


            "13-32"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "1"
                 "blue"        "0"
                 
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "1"
                "sniper"    "3"
                "soldier"    "3"
                "demoman"    "3"
                "medic"        "4"
                "heavy"        "4"
                "pyro"        "4"
                "spy"        "1"
                "engineer"    "5"
            }


            "13-32"
            {
                 //Team2 = red AND team3 = blue
                 //set to 0 if you want this to only work on one team
                 "red"        "0"
                 "blue"        "1"
                 
                //Put -1 for no limit, 0 for disalowed, and any other number to set the limit
                "scout"        "4"
                "sniper"    "2"
                "soldier"    "4"
                "demoman"    "3"
                "medic"        "4"
                "heavy"        "4"
                "pyro"        "4"
                "spy"        "3"
                "engineer"    "2"
            }
            //Anything that is not set, will be -1 (no limit)
    }
}

Please disregard the comments in my configurations, they are still the default of the file that came with this mod and has no relation to my configurations.

Thanks again nican!
__________________


tony2kownz is offline
FredJed223
Senior Member
Join Date: Feb 2008
Old 02-20-2008 , 17:14   Re: TF2 Class limit
Reply With Quote #112

Quote:
Originally Posted by DontWannaName View Post
Ya, immunity was something I liked. Another thing for donators

I agree, any chance of giving immunity to anyone with the "b" admin flag?
FredJed223 is offline
FredJed223
Senior Member
Join Date: Feb 2008
Old 02-22-2008 , 16:27   Re: TF2 Class limit
Reply With Quote #113

BTW: Beetlesmod has it so admins can be immune to the class limits. Just an FYI, so that you know it is possible.

Thanks
FredJed223 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 02-22-2008 , 19:24   Re: TF2 Class limit
Reply With Quote #114

I dont like beetles. Too confusing to use.
__________________

DontWannaName is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 02-23-2008 , 11:36   Re: TF2 Class limit
Reply With Quote #115

I added a beta checking for "Admin_Reservation" admin flag.

Someone please check if it working correctly.
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
FredJed223
Senior Member
Join Date: Feb 2008
Old 02-23-2008 , 14:45   Re: TF2 Class limit
Reply With Quote #116

Quote:
Originally Posted by Nican View Post
I added a beta checking for "Admin_Reservation" admin flag.

Someone please check if it working correctly.
Thanks, Will check it and get back to you later.
FredJed223 is offline
FredJed223
Senior Member
Join Date: Feb 2008
Old 02-23-2008 , 14:57   Re: TF2 Class limit
Reply With Quote #117

Quote:
Originally Posted by Nican View Post
I added a beta checking for "Admin_Reservation" admin flag.

Someone please check if it working correctly.

Dude you rock! The admin override is working perfect!
FredJed223 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 02-23-2008 , 15:53   Re: TF2 Class limit
Reply With Quote #118

They should make a donators flag lol...
__________________

DontWannaName is offline
FredJed223
Senior Member
Join Date: Feb 2008
Old 02-23-2008 , 17:38   Re: TF2 Class limit
Reply With Quote #119

Does this ignore sudden death mellee only? WHere everyone would be scouts with bats for ex..?
FredJed223 is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 02-23-2008 , 20:31   Re: TF2 Class limit
Reply With Quote #120

I belive the "sudden death mellee" disables this plugin...
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
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 09:46.


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