Raised This Month: $85 Target: $400
 21% 

Admin Stealth


Post New Thread Reply   
 
Thread Tools Display Modes
Author
necavi
SourceMod Plugin Approver
Join Date: Sep 2010
Plugin ID:
3232
Plugin Version:
1.4
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    140 
    Plugin Description:
    Allows administrators to become completely invisible.
    Old 09-10-2012 , 21:20   Admin Stealth
    Reply With Quote #1

    This plugin was created to make an admin COMPLETELY invisible, allowing much easier observation of hackers.

    Commands:
    - sm_stealth - Requires the CHEATS flag by default; allows an administrator to toggle complete invisibility on themselves.

    Cvars:
    - sm_adminstealth_version - Merely a version string

    Requires:
    - SDKHooks (https://forums.alliedmods.net/showthread.php?t=106748)

    What this plugin DOES do:
    - Removes all weapons
    - Turns you invisible
    - Makes you unable to take damage
    - Makes you no longer show up on the scoreboard
    - Makes you unable to fire any weapon
    - Shows a disconnect/connect message when entering/leaving invisibility
    - Make you unable to show up on the status command.
    - Prevent weapons from being picked up

    What this plugin WILL do (when I get to it):
    - Restores your weapons after toggling the command
    - Collision off
    - Anti-flashbang
    - Anti-smoke
    - Anything else I missed

    Note about the status command:
    This plugin COMPLETELY overwrites it with its own version, this version does not entirely replicate the status command.
    If you have access to the sm_stealth command you'll always be able to see any stealthed player, if you do not then any stealthed players won't show up (the number of invisible players is even subtracted from the currentplayers total).


    These features are currently missing:
    - The udp/ip portion is currently not there; I'm not sure of the best way to accurately get this information.
    - The version string is currently hardcoded to "1.0.0.73/22 5028 secure" (the current value for a CS:S server) as I don't feel like parsing through the version cvar string for this info (it may be elsewhere)


    Changelog:

    v1.4
    - Fixed players remaining invincible upon leaving stealth
    - The space bar now teleports you to the next player when in stealth mode
    - No longer lose stealth upon round end
    - Various minor updates

    v1.3:
    - internal

    v1.2:
    - Folded in a few good changes by TheHardstyleBro (including a few crashfix, a log addition and no longer setting certain unnecessary props on spectators
    - Fixed a possible crash when a user disconnected
    - A few tweaks on TheHardstyleBro's patch

    v1.1.1:
    - Fixed a bug with the status command that would prevent any players from showing up on it for stealthed players under certain circumstances
    - FINALLY joined a game with more than myself/bots and made the connect/disconnect messages accurate

    v1.1:
    - Added override of the status command
    - Added OnPluginEnd hook to turn all invisible players visible (Servers crash if m_iTeamNum is set to an invalid value at the wrong time.)
    - Added SDKHook dependency; used to prevent weapon pickups while invisible
    - Fixed the SetEntProp for m_takedamage from using Prop_Send to Prop_Data
    - Fixed the connect/disconnect strings a bit (I'd forgotten that Valve doesn't end their sentences in periods)

    v1.0:
    - Initial release

    This plugin was made possible by: https://forums.alliedmods.net/showthread.php?t=195395


    Source (Github): https://github.com/necavi/admin_stealth
    Attached Files
    File Type: sp Get Plugin or Get Source (admin_stealth.sp - 803 views - 6.5 KB)

    Last edited by necavi; 04-16-2015 at 19:38.
    necavi is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 09-10-2012 , 21:22   Re: Admin Stealth
    Reply With Quote #2

    Very nice - look forward to it. I had something similar, just showed a fake connect of random name, silent name change, fake disconnect of admins real name, silent move of admin to spectate... I never made the name not show up on scoreboard though.
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 09-10-2012 at 21:24.
    TnTSCS is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 09-10-2012 , 21:43   Re: Admin Stealth
    Reply With Quote #3

    Quote:
    Originally Posted by necavi View Post
    What this plugin can NOT do:
    - Make you unable to show up on the status command (To the best of my knowledge this is impossible; I could be wrong).
    You could spam hacker's console with another fake "status" command, or a rebuilt one (try to rebuild it, understand every parts, etc.). I doubt someone would scroll up to see another one after the most recent.

    I believe its hookable. Just print more stuff ;).

    Interesting idea, and I love the non-scoreboard thing... <3
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 09-10-2012 at 21:46.
    RedSword is offline
    necavi
    SourceMod Plugin Approver
    Join Date: Sep 2010
    Old 09-10-2012 , 21:46   Re: Admin Stealth
    Reply With Quote #4

    That could indeed be an idea, definitely.
    necavi is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 09-11-2012 , 02:18   Re: Admin Stealth
    Reply With Quote #5

    Cool plugin though you forgot to list the commands/cvars in the OP.
    __________________
    Sreaper is offline
    necavi
    SourceMod Plugin Approver
    Join Date: Sep 2010
    Old 09-11-2012 , 02:27   Re: Admin Stealth
    Reply With Quote #6

    Fixed the list of commands/cvars as well as releasing a new version:
    v1.1:
    - Added override of the status command
    - Added OnPluginEnd hook to turn all invisible players visible (Servers crash if m_iTeamNum is set to an invalid value at the wrong time.)
    - Added SDKHook dependency; used to prevent weapon pickups while invisible
    - Fixed the SetEntProp for m_takedamage from using Prop_Send to Prop_Data
    - Fixed the connect/disconnect strings a bit (I'd forgotten that Valve doesn't end their sentences in periods)
    necavi is offline
    littlebags
    SourceMod Donor
    Join Date: Apr 2008
    Old 09-11-2012 , 04:04   Re: Admin Stealth
    Reply With Quote #7

    Neat plugin,is this limited to Source 2009 games or does it support newer games like CSGO?
    __________________
    http://www.cloudfiregaming.com-Online Gaming Community

    --The only thing necessary for evil to triumph is for good men to do nothing.--
    littlebags is offline
    Send a message via ICQ to littlebags Send a message via Yahoo to littlebags
    necavi
    SourceMod Plugin Approver
    Join Date: Sep 2010
    Old 09-11-2012 , 04:11   Re: Admin Stealth
    Reply With Quote #8

    I don't have a CS:GO server setup currently, you could either test it yourself, or send me a netprop dump for me to look over.
    necavi is offline
    littlebags
    SourceMod Donor
    Join Date: Apr 2008
    Old 09-11-2012 , 04:15   Re: Admin Stealth
    Reply With Quote #9

    Okay.I'll give it a try later when i have the chance.Thanks.
    __________________
    http://www.cloudfiregaming.com-Online Gaming Community

    --The only thing necessary for evil to triumph is for good men to do nothing.--
    littlebags is offline
    Send a message via ICQ to littlebags Send a message via Yahoo to littlebags
    necavi
    SourceMod Plugin Approver
    Join Date: Sep 2010
    Old 09-11-2012 , 06:13   Re: Admin Stealth
    Reply With Quote #10

    v1.1.1:
    - Fixed a bug with the status command that would prevent any players from showing up on it for stealthed players under certain circumstances
    - FINALLY joined a game with more than myself/bots and made the connect/disconnect messages accurate
    necavi is offline
    Reply


    Thread Tools
    Display Modes

    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 10:44.


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