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

[L4D] GameMode Enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Plugin ID:
680
Plugin Version:
1.5.2
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    Plugin already exists - Provides no additional features.
    Old 12-16-2008 , 18:48   [L4D] GameMode Enforcer
    Reply With Quote #1

    Since a L4D version 1.0.1.2 there is not a necessity for this plug-in. Support is closed.

    Soft enforce director_no_human_zombies variable sourcemode plug-in.

    This plug-in forces a gamemode (versus or coop) to remain wished without a decrease of server stability.

    To choose gamemode setting sm_l4d_coop in a file sm_versus_enforcer.cfg.
    Possible values: 0 - versus / 1 - coop / 2 - dont change gamemode

    Alternative to a L4D Director Enforcer (without difficulty check).

    To use if L4D Director Enforcer force to server freezing at map change. Also if the become empty server is not switched to the first map of mission. And other mysticism...

    Changelog
    v1.5.2
    IsServerProcessing() check is back. Check of a mode for the first player entering on a server is added. (fix for event - when all players have left a server and during this moment the game mode was changed.)
    Notes: Probably empty server will spontaneously be switched in other mode. But if on a server there are players - the mode will be forced to the chosen.
    v1.5.1
    IsServerProcessing() check is deleted (fix for event - when all players have left a server and during this moment the game mode was changed.)
    v1.5
    Optimize

    CREDITS:
    - DDRKhat

    Attention: At plug-in installation [L4D] GameMode Enforcer - the plug-in L4D Director Enforcer needs to be removed.
    Attached Files
    File Type: cfg sm_versus_enforcer.cfg (116 Bytes, 394 views)
    File Type: sp Get Plugin or Get Source (sm_versus_enforcer.sp - 1014 views - 2.1 KB)
    File Type: zip Versus forcer (l4d).zip (4.6 KB, 390 views)

    Last edited by Dionys; 05-21-2009 at 06:37.
    Dionys is offline
    Powned.Inc
    Member
    Join Date: Jul 2008
    Old 12-16-2008 , 21:42   Re: [L4D] GameMode Enforcer
    Reply With Quote #2

    Thanks works great now i don't have people nagging at me about it.
    Powned.Inc is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-16-2008 , 22:30   Re: [L4D] GameMode Enforcer
    Reply With Quote #3

    I wonder what AutoExecConfig is doing inside Event_RoundStart?

    Also are you comparing string with integer inside ConVarChange_FORCE? (const String:newValue[] ; newValue[0] != GetConVarInt(versus_force_mode))

    And why use IsServerProcessing() inside a convar change hook? If convar changed obviously server is processing it.

    I see many errors besides the optimization which obviously you didn't worry while making this plugin.

    I don't think soft is the right word to define this plugin.
    Sammy-ROCK! is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 12-17-2008 , 00:18   Re: [L4D] GameMode Enforcer
    Reply With Quote #4

    Sammy, stop attacking everything that Dionys posts. Its abusive.
    __________________
    Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

    Weapon Restrictions w/ Warmup
    High Ping Kicker - Lite Edition
    AFK Manager
    Liam is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-17-2008 , 00:56   Re: [L4D] GameMode Enforcer
    Reply With Quote #5

    Sorry for poiting errors and incredibly low-optimized stuffs if you prefer a community that doesn't care for functionaly and speed feel free. I'm pretty sure that when you look at the code you'll understand my words.

    Last edited by Sammy-ROCK!; 12-17-2008 at 00:58.
    Sammy-ROCK! is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 12-17-2008 , 01:11   Re: [L4D] GameMode Enforcer
    Reply With Quote #6

    Although you were giving some tips, you did it in a degrading manner. You don't have to make people feel inferior when you're giving them advice for them to understand that they're doing something wrong.
    bl4nk is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-17-2008 , 01:13   Re: [L4D] GameMode Enforcer
    Reply With Quote #7

    Actualy I did it because he acts sarcastic when I do so.
    He ignores optimization as long as server doesn't crash or have lag spikes.

    Edit: Look at http://forums.alliedmods.net/showthread.php?t=81982 to know what I meant.

    Last edited by Sammy-ROCK!; 12-17-2008 at 01:23.
    Sammy-ROCK! is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 12-17-2008 , 03:49   Re: [L4D] GameMode Enforcer
    Reply With Quote #8

    Sammy, all I see is you being a jerk, it's obvious this person's first language is not english and he potentially even used something like Google Translator for his posts and statements. You're misinterpreting his opinions and statements due to those systems being potentially terrible in grammar.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    Dionys
    Senior Member
    Join Date: Sep 2008
    Location: Terra, Russia
    Old 12-17-2008 , 04:22   Re: [L4D] GameMode Enforcer
    Reply With Quote #9

    2Sammy-ROCK!

    Buy an aquarium and often observe of small fishes. Council of the person having initial education of the psychologist.

    Once again thanks for remarks.

    I will repeat once again - use your remarks in your plug-ins! I will be glad that admins of game servers will have a choice!
    Dionys is offline
    DDR Khat
    SourceMod Donor
    Join Date: Feb 2006
    Old 12-17-2008 , 05:31   Re: [L4D] GameMode Enforcer
    Reply With Quote #10

    How do you define "Soft Enforce" ? Looking through you're code you are enforcing the game-play mode during each ROUND, which is much more frequently then is required, you would only need to do it at map start. So no offense but half of this plugin is redundant. However, I see what you were going on about with the potential freezing, I noticed on my server yesterday and have since coded the solution in before you released this plugin (Looking at the time. 5 hours prior).
    __________________
    Nothing but a whisper in the wind~~
    DDR Khat 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 19:51.


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