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

[ANY] Impersonate


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
2675
Plugin Version:
1.5.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Allows admins to impersonate users
    Old 11-20-2011 , 20:47   [ANY] Impersonate
    Reply With Quote #1

    [ANY] Impersonate

    v1.5.0

    Description:
    An admin can use sm_impersonate [target] to begin impersonating a target. After the command is used, everything they say (including team chat!) will be said by the impersonation target. All chat triggers are filtered, so this should be safe to give to lower-level admins, as they won't be able to abuse it by making a higher-level admin use a chat trigger (they should be immune anyway, but your settings might be weird).

    Commands:
    sm_impersonate [target] - begin impersonating [target] - use sm_impersonate again without any arguments to disable

    Cvars:
    impersonate_version - plugin version

    Installation:
    Put impersonate.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load impersonate" into your console or rcon.

    Changelog:
    • v1.5.0 (8/2/12)
      • Changed RegConsoleCmd to AddCommandListener for say and say_team
      • Last planned official release - auto-updating removed
    • v1.4.0 (7/12/12)
      • Added option to disable automatic updating
    • v1.3.0 (11/23/11)
      • You can no longer impersonate someone who is currently impersonating someone
    • v1.2.0 (11/23/11)
      • Why on earth did I use colors? ShowActivity2 is much better!
      • Displays notification to admins when someone begins impersonating, finished impersonating, and every time they impersonate a message
      • Plugin now logs
    • v1.1.0 (11/22/11)
      • Now uses colors.inc
      • You can no longer attempt to impersonate yourself
    • v1.0.0 (11/20/11)
      • Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (impersonate.sp - 1930 views - 3.6 KB)
    __________________

    Last edited by Dr. McKay; 08-02-2012 at 01:40.
    Dr. McKay is offline
    The batman
    New Member
    Join Date: Nov 2011
    Old 11-22-2011 , 18:07   Re: [ANY] Impersonate
    Reply With Quote #2

    Theres a major bug that causes a server to crash.


    If a admin uses the impersonate command on his/her self the server will crash.

    Or while impersonating someone and accidently types the command to impersonate that person again boom crash which replaicates th first issue.
    The batman is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-22-2011 , 20:44   Re: [ANY] Impersonate
    Reply With Quote #3

    Quote:
    Originally Posted by The batman View Post
    Theres a major bug that causes a server to crash.


    If a admin uses the impersonate command on his/her self the server will crash.

    Or while impersonating someone and accidently types the command to impersonate that person again boom crash which replaicates th first issue.
    I'll fix the impersonate self problem, but there's no reason that trying to impersonate the person you're currently impersonating should do anything. Using sm_impersonate (with or without any arguments) while currently impersonating will simply disable impersonate mode.
    __________________
    Dr. McKay is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-22-2011 , 20:57   Re: [ANY] Impersonate
    Reply With Quote #4

    Updated to v1.1.0. Now uses colors.inc, and you can no longer attempt to impersonate yourself.
    __________________
    Dr. McKay is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-23-2011 , 01:31   Re: [ANY] Impersonate
    Reply With Quote #5

    Updated to v1.2.0. No longer uses colors.inc (??), uses ShowActivity2 (!!), and logs.
    __________________
    Dr. McKay is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-23-2011 , 23:45   Re: [ANY] Impersonate
    Reply With Quote #6

    Updated to v1.3.0. You can no longer impersonate someone who is currently impersonating someone. This made for some... *ahem* "interesting" behavior, as well as the possibility for an infinite loop.

    For instance, say Person A was impersonating Person B, then Person C impersonated Person A. When Person C said something, it would make Person B say it, as Person A would impersonate them.

    Say Person A impersonated Person B, and Person B impersonated Person A. Person A says something, Person B impersonates Person A, who impersonates Person B, who impersonates Person A.... get it?

    In a future release (1.3.1), I'll make it so if someone begins impersonating while they're being impersonated, the impersonation of them will be disabled.
    __________________
    Dr. McKay is offline
    The batman
    New Member
    Join Date: Nov 2011
    Old 11-24-2011 , 11:43   Re: [ANY] Impersonate
    Reply With Quote #7

    So do i have to use the update feature or can you post the latest version here?
    The batman is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-24-2011 , 11:58   Re: [ANY] Impersonate
    Reply With Quote #8

    Quote:
    Originally Posted by The batman View Post
    So do i have to use the update feature or can you post the latest version here?
    The download links are the newest version.
    __________________
    Dr. McKay is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-12-2012 , 17:41   Re: [ANY] Impersonate
    Reply With Quote #9

    Updated to v1.4.0. Added ability to disable automatic updating.
    __________________
    Dr. McKay is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 07-12-2012 , 19:11   Re: [ANY] Impersonate
    Reply With Quote #10

    Adding support for hooking this to spy disguise would be sweet.
    ReFlexPoison 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 11:19.


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