Raised This Month: $ Target: $400
 0% 

[L4D2] Null Commands


Post New Thread Reply   
 
Thread Tools Display Modes
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 01-29-2024 , 20:12   Re: [L4D2] Null Commands
    Reply With Quote #1

    Quote:
    Originally Posted by larrybrains View Post
    I have a player that consistently gets a lot of "is suspected in using invalid user commands" over multiple dates, but almost always 0 dropped packets. The player in question isn't an exceptionally skilled player by any means and other players do occasionally get the same "invalid user commands" detections, but not nearly as much as this one. I feel like these are false positives, but let me know what you think.[/PHP]
    Thanks for report I found an error in plugin. I think those are false positive but who knows try new version.
    In new version you can see exact reason why player has been reported and decide if it was false positive or not

    Updated
    PHP Code:
    Fixed wrong structure offset
    Added more detailed reports 
    __________________
    cry

    Last edited by BHaType; 01-29-2024 at 20:28.
    BHaType is offline
    Send a message via AIM to BHaType
    larrybrains
    Senior Member
    Join Date: May 2017
    Old 01-30-2024 , 17:10   Re: [L4D2] Null Commands
    Reply With Quote #2

    Quote:
    Originally Posted by BHaType View Post
    Thanks for report I found an error in plugin. I think those are false positive but who knows try new version.
    In new version you can see exact reason why player has been reported and decide if it was false positive or not

    Updated
    PHP Code:
    Fixed wrong structure offset
    Added more detailed reports 
    Thanks, will try this out!
    larrybrains is offline
    larrybrains
    Senior Member
    Join Date: May 2017
    Old 02-01-2024 , 17:41   Re: [L4D2] Null Commands
    Reply With Quote #3

    Quote:
    Originally Posted by BHaType View Post
    In new version you can see exact reason why player has been reported and decide if it was false positive or not
    I have been running the new version for a few days and the same player had some more detections yesterday:

    PHP Code:
    L 01/31/2024 00:05:13: [l4d2_user_commands.smxPlayer D*******<3<14><STEAM_1:1:4*******3><> is suspected in using invalid user commands (reasonTickbase out of bounds (min129224tick128849max129724), dropped packets 0)
    L 01/31/2024 00:35:13: [l4d2_user_commands.smxPlayer D*******<3<11><STEAM_1:1:4*******3><> is suspected in using invalid user commands (reasonTickbase out of bounds (min78134tick76966max78634), dropped packets 0)
    L 01/31/2024 00:54:23: [l4d2_user_commands.smxPlayer D*******<3<26><STEAM_1:1:4*******3><> is suspected in using invalid user commands (reasonTickbase out of bounds (min69257tick69186max69757), dropped packets 0
    What does "Tickbase out of bounds" mean?
    larrybrains is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 02-01-2024 , 19:47   Re: [L4D2] Null Commands
    Reply With Quote #4

    Quote:
    Originally Posted by Spirit_12 View Post
    You may want to add SMAC as a requirement.
    Thanks for report

    Quote:
    Originally Posted by larrybrains View Post
    What does "Tickbase out of bounds" mean?
    Every client has it's own tick counter called tickbase.
    Tickbase is always kept in sync with server's tick within some 'approximate' range.

    Client tickbase can get out sync by next reaons:
    1. Server is lagging or has plugins that affects commands execution pipeline
    2. Client lost connection to server and then restored connection later
    3. Client is cheating

    Quote:
    Originally Posted by larrybrains View Post
    PHP Code:
    L 01/31/2024 00:05:13: [l4d2_user_commands.smxPlayer D*******<3<14><STEAM_1:1:4*******3><> is suspected in using invalid user commands (reasonTickbase out of bounds (min129224tick128849max129724), dropped packets 0)
    L 01/31/2024 00:35:13: [l4d2_user_commands.smxPlayer D*******<3<11><STEAM_1:1:4*******3><> is suspected in using invalid user commands (reasonTickbase out of bounds (min78134tick76966max78634), dropped packets 0)
    L 01/31/2024 00:54:23: [l4d2_user_commands.smxPlayer D*******<3<26><STEAM_1:1:4*******3><> is suspected in using invalid user commands (reasonTickbase out of bounds (min69257tick69186max69757), dropped packets 0
    Let's do simple analyse of every log and calculate tickbase difference to see how far into future or past he got relatively to server's clock.
    1. log: 129224 - 128849 = 375
    2. log: 78134 - 76966 = 1,168
    3. log: 69257 - 69186= 71

    Those are insanely big values (even 71 tick gap is big value).
    By second log we can see that he got into past by ~39 seconds if your server has default tickrate (tickbase difference * server tickrate).

    We can get to conclusions:
    • Your server lagged for ~39 seconds but then every player on the server would have been reported.
    • The client lost connection to server for ~39 seconds xD
    • The client is cheating

    if your server didn't lag and the client also didn't lost connection then I can conclude he's cheating.
    __________________
    cry

    Last edited by BHaType; 02-03-2024 at 04:21.
    BHaType is offline
    Send a message via AIM to BHaType
    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 22:27.


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