Raised This Month: $32 Target: $400
 8% 

[DoD:S] Status2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
micmacx
Member
Join Date: May 2021
Plugin ID:
8435
Plugin Version:
1.1
Plugin Category:
Admin Commands
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Status2, userid, kills, deaths, name, teams.
    Old 04-09-2023 , 08:40   [DoD:S] Status2
    Reply With Quote #1

    Good morning,
    Following a new wave of cheaters copying a player's name, I tried to create a simple solution.

    The sourcemod admin menu quickly has its limits, if 2 players have the same name. This can be managed with HLSW but since on day of defeat source there are flaws using the RCON, I prefer to disable the RCON.

    I simply created a plugin that displays the userid, the name of the players, the number of kills and deaths they have, and what team they are in, so you can differentiate between the cheater and you can ban using :
    PHP Code:
    sm_ban #userid 0 
    No configuration, just put the plugin on the server, connect to your server and type the command in your dod console :
    PHP Code:
    status2 
    With Version 1.1, I add ip, like this you can banid then banip with :
    PHP Code:
    sm_banip 178.156.xxx.xxx 0 
    The "status2" command only works for admins, like this players ip are protected.

    Version 1.1 : add ip
    Version 1.0 : userid, team, kills, death, name
    Attached Thumbnails
    Click image for larger version

Name:	status2.png
Views:	242
Size:	42.8 KB
ID:	200196  
    Attached Files
    File Type: sp Get Plugin or Get Source (status2.sp - 183 views - 5.9 KB)
    __________________

    Last edited by micmacx; 10-08-2023 at 06:42.
    micmacx is offline
    knoxville101
    Junior Member
    Join Date: Feb 2023
    Old 04-20-2023 , 17:14   Re: Status2
    Reply With Quote #2

    Hello, Great plugin idea but its not working on my server. I type status2 in console and it just says unknown command
    knoxville101 is offline
    Ja-Forces
    Senior Member
    Join Date: Jul 2009
    Location: Leningrad
    Old 04-21-2023 , 04:18   Re: Status2
    Reply With Quote #3

    Сhange line 25 to:

    Quote:
    RegAdminCmd("sm_status2", Status2, ADMFLAG_GENERIC); or RegConsoleCmd("sm_status2", Status2); // access for all players
    or try an attachment

    Quote:
    Type sm_status2 in console or /status2 in chat
    Attached Files
    File Type: sp Get Plugin or Get Source (status2.sp - 73 views - 5.9 KB)
    __________________

    Last edited by Ja-Forces; 04-21-2023 at 06:56.
    Ja-Forces is offline
    micmacx
    Member
    Join Date: May 2021
    Old 04-24-2023 , 09:00   Re: Status2
    Reply With Quote #4

    Hi,
    Quote:
    Originally Posted by Ja-Forces View Post
    RegConsoleCmd("sm_status2", Status2)
    I don't want to do this, because with your code everybody can have IP to everybody.
    For client protect life it's beter that only admins can have IP.

    And in : https://sm.alliedmods.net/new-api/console/RegAdminCmd :
    Quote:
    Originally Posted by RegAdminCmd Function
    If the command does not exist, it is created.
    Apples1949 delete his message, I think it's working for him.

    Quote:
    Originally Posted by knoxville101 View Post
    Hello, Great plugin idea but its not working on my server. I type status2 in console and it just says unknown command
    Can you put IP of your server?

    I use it on my server with : MetaMod:Source v1.11.0-dev+1144V, SourceMod v1.11.0.6502
    Perhaps you use olds versions?

    +++. :-) :-) :-)

    Last edited by micmacx; 04-24-2023 at 09:12.
    micmacx is offline
    knoxville101
    Junior Member
    Join Date: Feb 2023
    Old 05-31-2023 , 06:59   Re: Status2
    Reply With Quote #5

    It works now. I had to update my sm and mm. Very nice to have this. Thank you.

    Last edited by DarkDeviL; 06-15-2023 at 08:55.
    knoxville101 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 13:43.


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