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

[CSS/DODS/HL2DM/NMRIH/FFOF] Anti Server Lag Exploits


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Plugin ID:
8178
Plugin Version:
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    kicks trolls with hacks trying to abuse internal engine exploits to lag dedicated servers
    Old 09-08-2022 , 18:08   [CSS/DODS/HL2DM/NMRIH/FFOF] Anti Server Lag Exploits
    Reply With Quote #1

    This plugin attempts to prevent trolls with hacks from lagging the game server which are using internal engine exploits. This wont prevent all lag exploits (such as external-connectionless ones), but it will prevent most of the ones that require a connection to the server to abuse. This is a simple implementation of the function (net_chan_limit_msec) from csgo that valve added which kicks users if the processing time for a packet exceeds a threshold. You control the max milliseconds with the convar `net_chan_limit_msec` which has a default value of 20ms. This may be a little aggressive and can be increased to higher values such as 100 - 150ms if you are having any issues with false client kicks. False kicks can happen due to rare plugins written in a certain way such as a plugin that reads a clients string command for sm_changemap and instantly changes the map in the command callback without a delay. This will run code to load the new bsp file from disk which can have really slow IO depending on your hard drives speed and count towards that users packet processing time.

    I wrote a version of this for TF2 which got officially added by valve into tf2 a month later, however there's no guarantee this functionality will be added to older source games any time soon. That's why I created this version to support popular older titles.

    That being said, I only tested this in counter-strike source (windows and linux), then cross checked the binarys for other games and the signatures/offsets all matched. Need testers to verify if it's working for the other titles listed or if you are having troll/hacker issues with a game not on this list, I may be able to add support for it.

    This plugin requires Dhooks with detour support, this should work fine with sourcemod 1.11 out of the box. Older versions of sourcemod, you will need to download dhooks with detour support extension from here.
    Attached Files
    File Type: zip AntiServerLagExploits.zip (9.6 KB, 322 views)
    __________________
    I highly recommend joining the SourceMod Discord Server for real time support.
    backwards is offline
     



    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:02.


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