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

[TF2] Class Enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
Jetamo
Junior Member
Join Date: Oct 2009
Old 10-28-2009 , 10:45   Re: [TF2] Class Enforcer
Reply With Quote #21

Plugin was working for our server(Windows) till the latest, October, update. Tried re-installing, no luck. :/
Jetamo is offline
IllegalGuy
Member
Join Date: Apr 2009
Location: Hamburg, Germany
Old 11-02-2009 , 09:11   Re: [TF2] Class Enforcer
Reply With Quote #22

Hi! Thx for the plugin, works fine on our Linux-based TF2-server (SOS*ArenaFun) .. I also use the "Custom Votes"-plugin, and I created a custom vote for these commands, so players are now able to vote themselves, if a certain class shall be enforced on BOTH teams. You can also switch it off with another vote, of course.
If anybody is interested in the custom-vote file, just PM me (if I am allowed to, I will post it here, too. Just tell me then!).
Regards,
IllegalGuy
IllegalGuy is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 11-03-2009 , 13:53   Re: [TF2] Class Enforcer
Reply With Quote #23

I updated the plugin to fix the issues some of you were having. I improved a couple things so I would encourage everybody to update to this copy.
pheadxdll is offline
emuzombie
Member
Join Date: Sep 2009
Location: Wisconsin, US
Old 12-11-2009 , 19:43   Re: [TF2] Class Enforcer
Reply With Quote #24

I'm not able to set class for a specific team.
sm_ce_red demo
sm_ce_blue solider

Both teams being restricted to whatever blue is set at, it is ignoring the red command all together.
__________________
emuzombie is offline
emuzombie
Member
Join Date: Sep 2009
Location: Wisconsin, US
Old 12-11-2009 , 20:19   Re: [TF2] Class Enforcer
Reply With Quote #25

Fixed it.
Line 121:
Code:
    GetConVarString(c_classBlue, strRed, sizeof(strRed));
Changed it to be correct
Code:
    GetConVarString(c_classRed, strRed, sizeof(strRed));
Attached Files
File Type: sp Get Plugin or Get Source (class_enforcer-1.sp - 763 views - 4.4 KB)
__________________
emuzombie is offline
Dropy
New Member
Join Date: Dec 2009
Old 12-12-2009 , 11:18   Re: [TF2] Class Enforcer
Reply With Quote #26

Any1 knows if this plugin still works?

I will answer my own question.
Yes it works, we have it running on one of our servers atm. and so far so good.
It's setup with Blue as Soldiers and Red as Demomen.
its WAAARRR!!!!

Last edited by Dropy; 12-12-2009 at 15:51.
Dropy is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 10-28-2012 , 14:09   Re: [TF2] Class Enforcer
Reply With Quote #27

Tried both versions (on a linux box) and although in the sm plugins list -- it shows it's running, when I try to use any commands, nothing happens. Anyone got a working version of this?
SmackDaddy is offline
BBG_Theory
Veteran Member
Join Date: Oct 2010
Location: NC USA
Old 10-28-2012 , 16:32   Re: [TF2] Class Enforcer
Reply With Quote #28

is there admin menu control with this?
BBG_Theory is offline
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 01-14-2013 , 05:43   Re: [TF2] Class Enforcer
Reply With Quote #29

Not working for me, sm plugins shows it there, sm_cvar sm_ce_enable is 1, but none of the commands work (they just come up with 'unknown command')

PLEASE HELP!

Update: Tried emu's version, still no luck

Last edited by VintageEpicFail; 01-14-2013 at 06:35.
VintageEpicFail is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 01-14-2013 , 19:45   Re: [TF2] Class Enforcer
Reply With Quote #30

Updated it with emuzombie's fix. This plugin is meant to be simple. I think the trouble you both run into is that it's disabled by default. You have to set it up.

Place in server.cfg:
sm_ce_enable 1
sm_ce_red "pyro"

This forces the red team to pyros. I tested it just now and all the functions worked.
__________________

Last edited by pheadxdll; 01-14-2013 at 19:46.
pheadxdll 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 20:04.


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