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

[L4D2] Null Commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
7797
Plugin Version:
1.1
Plugin Category:
Technical/Development
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Check players for sending invalid/null commands
    Old 09-14-2021 , 03:14   [L4D2] Null Commands
    Reply With Quote #1

    Description
    Checks players for the use of invalid commands and logs to server console. Useful to determine cheaters which manipulated number of sending commands/tickbase to shift their game time.

    Required
    DynamicHooks
    SMAC (compilation only)

    Notes
    • if player using invalid commands and have rounded or fixed dropped_packets. I am pretty much sure he is cheating.
    • g_iIgnoredCommands here is only for remove false positive result. Since when map changes server tickbase also changes but client sided doesnt and becomes synced with server only on second tick but they still can happen if some admin reloads plugins or server lost connection.
    • Perhaps for an additional check, I can add check for the number of commands sent and if they differ from the expected value then player possibly cheating or have a bad performance.
    • This is first release so so far plugin only do logging and doesn't ban anyone

    ConVar
    PHP Code:
    // if the player uses invalid commands then plugin will reset them
    // its useful if cheater uses airstuck/no fall damage/teleport because it will be fully blocked but he still can crash your server
    // 0 - disabled | 1 - enabled
    sm_usercmd_null_invalid_commands 
    Attached Files
    File Type: txt l4d2_user_commands.txt (602 Bytes, 331 views)
    File Type: sp Get Plugin or Get Source (l4d2_user_commands.sp - 48 views - 6.9 KB)
    __________________
    cry

    Last edited by BHaType; 02-01-2024 at 19:49.
    BHaType is offline
    Send a message via AIM to BHaType
     



    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 15:00.


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