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

[TF2] Tournament Hack (Class Limiter)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Geit
Senior Member
Join Date: Oct 2009
Location: Home
Plugin ID:
1251
Plugin Version:
0.5
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows the use of tournament commands without requiring teams to "Ready Up"
    Unapprover:
    Reason for Unapproving:
    Broken and author discontinuing
    Old 10-25-2009 , 21:13   [TF2] Tournament Hack (Class Limiter)
    Reply With Quote #1

    I Don't have the time, knowledge or the will to fix this, Discontinued.

    Code:
    Allows the use of tournament commands such as "tf_tournament_classlimit_*" without requiring teams to "Ready Up" it also blocks particle effects such as Voice Bubbles(forced) and Domination Icons(optional). - Basically, this works as the best class limiter in TF2 among other things.
    
    Screenshot:
    
    
    Plugin Cvars:
    
    
    Code:
    sm_th_version - Version CVar
    sm_th_enabled - 1 Enables, 0 Disables. - Default 0
    Plugin Commands: sm_setclass - CUSTOM1, RESERVATION or ROOT - changes the players class, over-riding the limit, no one is forced to change class. - Usage: sm_setclass <class> TF2 Tournament Cvars:
    Code:
    tf_tournament_classlimit_demoman - Class limit for Demomenz. (-1 = No Limit) 
    tf_tournament_classlimit_engineer - Class limit for Engineers. (-1 = No Limit) 
    tf_tournament_classlimit_heavy - Class limit for Heavies. (-1 = No Limit) 
    tf_tournament_classlimit_medic - Class limit for Medics. (-1 = No Limit) 
    tf_tournament_classlimit_pyro - Class limit for Pyros. (-1 = No Limit) 
    tf_tournament_classlimit_scout - Class limit for Scouts. (-1 = No Limit) 
    tf_tournament_classlimit_sniper - Class limit for Snipers. (-1 = No Limit) 
    tf_tournament_classlimit_soldier - Class limit for Soldiers. (-1 = No Limit) 
    tf_tournament_classlimit_spy - Class limit for Spies. (-1 = No Limit) 
    tf_tournament_hide_domination_icons - Forces clients to not display the domination icons above players dominating them if set to 1.
    Known Issues:
    • On Arena - if two players have not entered the game when waiting for players ends, then the Tournament HUD will appear for 5 seconds, followed by a stalemate, then normal play.
    To-Do: Changelog: 0.6.1-
    • Fixed issues with Stopwatch maps.
    0.6-
    • Removed unnecessary round end code - this prevents players from switch class while the limiter is off inbetween rounds.
    0.5-
    • Added checks for whether client is in-game and client is alive for the setclass command.
    0.4-
    • Added the !SetClass command for admins with the ROOT, CUSTOM1, or RESERVATION flag - this command will change the player to the selected class regardless of if the class is full, no other players will be forced to change to something else
    • Fixed an invalid handle error.
    0.3-
    • Fixed a bug where "Waiting For Players" would never finish on every other non-arena map
    0.2 -
    • Fixed mp_restartgame bug
    • Fixed major arena bugs
    0.1 - Initial Release Special Thanks: Jindo - Huge Amount of help with pretty much everything in the plugin Darkimmortal - Being epic and helping out :) P.S - this is my first Plugin
    Attached Files
    File Type: sp Get Plugin or Get Source (TournamentHack.sp - 721 views - 5.1 KB)

    Last edited by Geit; 12-02-2009 at 16:27.
    Geit is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 10-26-2009 , 11:43   Re: [TF2] Tournament Hack
    Reply With Quote #2

    interesting ;-)
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 10-26-2009 , 14:26   Re: [TF2] Tournament Hack
    Reply With Quote #3

    Updated to 0.2
    Geit is offline
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 10-28-2009 , 17:58   Re: [TF2] Tournament Hack
    Reply With Quote #4

    Updated to 0.3; added SS to OP
    Geit is offline
    Inflikted
    SourceMod Donor
    Join Date: Jan 2009
    Old 10-28-2009 , 20:24   Re: [TF2] Tournament Hack
    Reply With Quote #5

    oh this looks nice thanks
    Inflikted is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 11-03-2009 , 02:23   Re: [TF2] Tournament Hack
    Reply With Quote #6

    L 11/03/2009 - 08:071: [SM] Native "CloseHandle" reported: Handle 1540127 is invalid (error 1)
    L 11/03/2009 - 08:071: [SM] Displaying call stack trace for plugin "TournamentHack.smx":
    L 11/03/2009 - 08:071: [SM] [0] Line 85, TournamentHack.sp::Event_teamplay_round_start ()

    and plugin don't work for me. (tested on SM 1.2.4 and 1.3)
    __________________

    Last edited by Zuko; 11-03-2009 at 02:28.
    Zuko is offline
    Send a message via ICQ to Zuko
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 11-03-2009 , 14:07   Re: [TF2] Tournament Hack
    Reply With Quote #7

    Quote:
    Originally Posted by Zuko View Post
    L 11/03/2009 - 08:071: [SM] Native "CloseHandle" reported: Handle 1540127 is invalid (error 1)
    L 11/03/2009 - 08:071: [SM] Displaying call stack trace for plugin "TournamentHack.smx":
    L 11/03/2009 - 08:071: [SM] [0] Line 85, TournamentHack.sp::Event_teamplay_round_start ()

    and plugin don't work for me. (tested on SM 1.2.4 and 1.3)
    Fixed that error, will release it in a bit.

    Also, when you say it doesn't work, in what way? (Did you remember to set enabled to 1? it's 0 by default.)
    Geit is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 11-04-2009 , 00:49   Re: [TF2] Tournament Hack
    Reply With Quote #8

    Yes, plugin was enabled. doesn't work = eg. classlimits doesn't work
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 11-04-2009 , 01:08   Re: [TF2] Tournament Hack
    Reply With Quote #9

    Quote:
    Originally Posted by Zuko View Post
    Yes, plugin was enabled. doesn't work = eg. classlimits doesn't work
    I haven't been able to replicate this, at all, the only way this couldn't work, is if the enabled CVAR hadn't been set to 1 or the classlimits hadn't actually been set, remember they are stock CVARS, and not provided by the plugin, so they have to be changed via RCON.

    Is mp_tournament being set to 1 when the round starts? Have you got any plugins that might be preventing mp_tournament from being set to 1? etc etc

    I will test this on a couple of other servers and see if i can replicate it.

    EDIT:
    I think I can take a guess at your issue, the plugin has a small protection system that is intended to stop it from turning mp_tournament to 1 during waiting for players time, that way it does this, is by ignoring the first round it's run on completely, which might be why it was appearing not to work. Try finishing a full round after enabling it.

    Last edited by Geit; 11-04-2009 at 01:20.
    Geit is offline
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 11-04-2009 , 01:40   Re: [TF2] Tournament Hack (Class Limiter)
    Reply With Quote #10

    Sorry for double post but,

    Released 0.4
    • Added the !SetClass command for admins with the ROOT, CUSTOM1, or RESERVATION flag - this command will change the player to the selected class regardless of if the class is full, no other players will be forced to change to something else
    • Fixed an invalid handle error.
    Geit 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 13:40.


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