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

TF2 Class Restrictions 0.6 (Updated 08/13/09)


Post New Thread Reply   
 
Thread Tools Display Modes
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 03-07-2010 , 14:06   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #301

Ok, so which is the correct download to use? I see within the thread, there is this:

https://forums.alliedmods.net/showpo...&postcount=186

But was the original post updated with these? Are there still issues with folks selecting a class and getting the previous classes' weapons? I am confused which ones work and which ones don't or are outdated....

Also, is there any way to define the admin flag needed for "Class Immunity" for those we want to give this to? Is it based on the "A" flag? If not, which flag is used or can be defined?

Thanks in advance.

Last edited by SmackDaddy; 03-07-2010 at 17:12.
SmackDaddy is offline
Arthurp
Junior Member
Join Date: Mar 2010
Old 03-24-2010 , 10:28   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #302

Hi, need a little help,

- I dropped the file in tf/addons/sourcemod/plugins
- I dropped this into my servers "server.cfg" file

// Class limits

sm_classrestrict_enabled 0
//Enable/disable restricting classes in TF2.
sm_classrestrict_flags "hmz"
//Admin flags for restricted classes in TF2.
sm_classrestrict_immunity 0
//Enable/disable admins being immune for restricted classes in TF2.
sm_classrestrict_blu_demomen 1
sm_classrestrict_blu_engineers 2
sm_classrestrict_blu_heavies 2
sm_classrestrict_blu_medics 1
sm_classrestrict_blu_pyros 2
sm_classrestrict_blu_scouts 2
sm_classrestrict_blu_snipers 2
sm_classrestrict_blu_soldiers 2
sm_classrestrict_blu_spies 2
//Limits for Blu classes in TF2. (-1 for no limit, anything higher will be the limit for that class. Default -1)
sm_classrestrict_red_demomen 1
sm_classrestrict_red_engineers 2
sm_classrestrict_red_heavies 2
sm_classrestrict_red_medics 1
sm_classrestrict_red_pyros 2
sm_classrestrict_red_scouts 2
sm_classrestrict_red_snipers 2
sm_classrestrict_red_soldiers 2
sm_classrestrict_red_spies 2
//Limits for Red classes in TF2.

I restarted the server, joined it, typed sm_classrestrict_enabled 1 in to console and it says "unknown command", and does the same to all the other commands for the plug in. I have re dropped the classrestrict.smx file into plugins several times and restarted several time, still nothing
Arthurp is offline
Dog's Milk
New Member
Join Date: Jan 2010
Location: San Jose, CA
Old 04-15-2010 , 13:34   Re: TF2 Class Restrictions
Reply With Quote #303

How do the percentage based limits work?
I just went through all 31 pages of posts and still can't find anything on it.
__________________
Dog's Milk is offline
Send a message via AIM to Dog's Milk Send a message via Skype™ to Dog's Milk
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 04-20-2010 , 15:01   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #304

Quote:
Originally Posted by SmackDaddy View Post
Ok, so which is the correct download to use? I see within the thread, there is this:

https://forums.alliedmods.net/showpo...&postcount=186

But was the original post updated with these? Are there still issues with folks selecting a class and getting the previous classes' weapons? I am confused which ones work and which ones don't or are outdated....

Also, is there any way to define the admin flag needed for "Class Immunity" for those we want to give this to? Is it based on the "A" flag? If not, which flag is used or can be defined?

Thanks in advance.
Reposting - since this wasn't answered from a month ago.....thanks in advance.
SmackDaddy is offline
Great Biggie
Member
Join Date: Aug 2009
Old 04-29-2010 , 18:45   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #305

Can anyone confirm if this is working with yesterdays update?
Great Biggie is offline
Lob (UK
Veteran Member
Join Date: Jun 2009
Old 04-29-2010 , 19:32   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #306

Quote:
Originally Posted by Great Biggie View Post
Can anyone confirm if this is working with yesterdays update?
Working fine for me with the latest MMS and Smod snapshots on a Windows Server.

- Lob (UK)
Lob (UK is offline
Sun-Que
Junior Member
Join Date: Jan 2010
Location: Australia Mate :D
Old 05-03-2010 , 01:38   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #307

I dunno if it's the plugin or VALVe, but ever since the last major updates the bots I was running on the server are completely frakked, using locked classes weapons or bypassing it completely
__________________
Sun-Que is offline
KILLAKF
Junior Member
Join Date: May 2009
Old 05-07-2010 , 21:27   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #308

Hey i was wondering after the recent updates if this is fixed yet id like to use it on my servers.
KILLAKF is offline
amxnoob
Member
Join Date: Sep 2007
Old 06-20-2010 , 14:04   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #309

Hi!

I like the fact that the plugin switches ppl to another class if an admin joins the same restricted class. BUT: It's very annoying if it affects the engi class. It would be nice when you implement a check-up if they have buildings before switching them to an other class.

Thx
amxnoob is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 06-20-2010 , 14:12   Re: TF2 Class Restrictions 0.6 (Updated 08/13/09)
Reply With Quote #310

Hum.. I wasnt aware it did that. Are you sure? If thats so, it shouldnt. It should count people immune over the limit. Ill have to look at the code again I guess.
retsam 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 12:58.


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