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

[Dark Messiah] Anti-exploits


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MightyMalcolm
Senior Member
Join Date: Jan 2010
Plugin ID:
2201
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Sends default values in 0.3-sec-intervalls
    Unapprover:
    Reason for Unapproving:
    Post #2
    Old 01-30-2011 , 20:07   [Dark Messiah] Anti-exploits
    Reply With Quote #1

    This is a very simple plugin for Dark Messiah. I know nobody has even heared about that game, but the few people who still host servers for it more and more use Sourcemod. So I thought, there should at least be some basic stuff in your plugin section ;)

    The plugin won't do much but sending default values for client side commands every 0.3 seconds to prevent players from using the built-in console exploits. I'm pretty sure there would still be ways around this, so i'd be happy for any suggestions. Me iz nub.

    Credits go to all the guys replying to my questions here and here.

    *EDIT
    version 1.1: added r_DrawShadowLight to the list

    NOTE: This plugin will ONLY have an effect in Dark Messiah, since the cvars it deals with only exist in this game.

    P.S.: Feel free to unapprove this plugin. It kind of is my first one and not very "sterling". I aim to offer something to people searching for plugins for DM especially.
    Attached Files
    File Type: sp Get Plugin or Get Source (mm_anti-exploit.sp - 624 views - 2.7 KB)

    Last edited by MightyMalcolm; 02-03-2011 at 16:03. Reason: Note and PS added, file renamed
    MightyMalcolm is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-27-2012 , 23:53   Re: [Dark Messiah] Anti-exploits
    Reply With Quote #2

    Running a repeating timer to send commands every .3 seconds isn't a good idea. OnClientCommand or a Listener should be used if possible.
    Should this be updated, let me know and I will review it.
    __________________

    Last edited by DarthNinja; 11-27-2012 at 23:53.
    DarthNinja 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 02:24.


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