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

Admin ESP Spectate


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Plugin ID:
470
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    Blows up users client on servers with more than 20 players.
    Old 07-17-2008 , 21:24   Admin ESP Spectate
    Reply With Quote #1

    The idea for this plugin came from a number of sources. The original idea came when I saw Knagg0's Metamod plugin, which apparently is not functioning anymore. I then did some reasearch and found KoST's plugin that he made for AMXModX and decided to create this for SourceMod, since it is rather useful for catching hackers.

    This plugin is not a port of KoST's or of Knaggo's plugin and has been written totally from scratch. I did use some of Whitewolf's observer code to get the observed target and I used some of Bonaparte's code from CS:S Laser Tag, so that I could learn how to use beam entities, and I used some code from Nican's spray-tracer to find out where a player was looking and to follow the path.

    This is an initial release for now and I don't realy know how much more I want to flesh it out, but I am willing to accept suggestions!

    This has been tested on both Counter-Strike: Source, and Team Fortress 2.

    Commands: sm_spectate <target>

    Notes:
    -If you use sm_spectate while alive, it will kill you and switch your observed target to the person specified. The plugin turns itself off after the person you are spectating is killed or leaves the server.
    -This is 100% VAC SAFE. This uses all server-side entities and thus nothing on the client is ever changed.

    Laser Info:
    -White laser is where they are aiming
    -Blue laser leads to CT's/Blue Team
    -Red laster leads to T's/Red Team
    -The thicker the laser beam, the closer they are to your target.
    -The thinner the beam, the further away they are.

    Changelog:
    1.0 - Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (admin_spec_esp.sp - 4312 views - 8.0 KB)

    Last edited by Liam; 07-17-2008 at 21:32.
    Liam is offline
    Lebson506th
    Veteran Member
    Join Date: Jul 2008
    Old 07-17-2008 , 21:37   Re: Admin ESP Spectate
    Reply With Quote #2

    Screenshots?
    Lebson506th is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 07-17-2008 , 21:40   Re: Admin ESP Spectate
    Reply With Quote #3

    I'll post them after I get home from work and watching the dark knight
    Liam is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 07-17-2008 , 21:51   Re: Admin ESP Spectate
    Reply With Quote #4

    Is it possible to make it so when they are killed and you are spectating them to go back to them when they respawn?
    __________________

    DontWannaName is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 07-17-2008 , 21:59   Re: Admin ESP Spectate
    Reply With Quote #5

    Quote:
    Originally Posted by DontWannaName View Post
    Is it possible to make it so when they are killed and you are spectating them to go back to them when they respawn?
    Yup. I'll add this in for the next release.
    Liam is offline
    DerHelm
    Member
    Join Date: May 2008
    Location: LA
    Old 07-17-2008 , 23:06   Re: Admin ESP Spectate
    Reply With Quote #6

    Not so good with a 32 player TF2 server.
    Wow, I have a 9800GX2 card, I got 1 frame ever 30 seconds.

    Not sure if it was just me or not. But if not, is there anythign that can be optimized use on a high player server?
    DerHelm is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 07-18-2008 , 09:56   Re: Admin ESP Spectate
    Reply With Quote #7

    This is good plugin, but maybe a little too late. With plugins, such as KAC, most hacking is blocked.

    otto
    ottobohn is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 07-18-2008 , 10:17   Re: Admin ESP Spectate
    Reply With Quote #8

    I personally prefer to check for hackers myself and not leave it to a script like KAC or any other Anti-Cheat plugin. They aren't perfect and can get legitimate players.

    I got banned from a TF2 server for "cheating" on a clean install of TF2 because I did something the script found "suspicious".

    I'm not debating this topic in this thread because this is a thread for this plugin, but thats my two cents on the issue.

    Anyways, I hope that whoever uses it enjoys it. I wrote it because it was fun and I enjoy programming.
    Liam is offline
    DerHelm
    Member
    Join Date: May 2008
    Location: LA
    Old 07-18-2008 , 17:26   Re: Admin ESP Spectate
    Reply With Quote #9

    Yeah, I'm the same, we have alot of admins on, so I would prefer to have some one I trust make the claim. And it seems TF2 wall hacker are a lot more obvious, today I had a guy zoom in as a sniper all the way from the hallway near spawn then creap out to the battlements, on 2Fort.
    DerHelm is offline
    r3dh3adkid
    Senior Member
    Join Date: Apr 2008
    Location: Georgia
    Old 07-19-2008 , 11:01   Re: Admin ESP Spectate
    Reply With Quote #10

    So I just installed this plugin and tried it and it wouldn't work for me

    Heres the debug:

    Code:
    ] rcon sm_spectate "|SovP| Maxx[007]"
    L 07/19/2008 - 10:58:10: [SM] Native "IsPlayerAlive" reported: Invalid client index 0
    L 07/19/2008 - 10:58:10: [SM] Displaying call stack trace for plugin "admin_spec_esp.smx":
    L 07/19/2008 - 10:58:10: [SM]   [0]  Line 125, /home/groups/alliedmodders/forums/files/3/4/1/3/4/28967.attach::Command_Spectate()
    Code:
    10:59:57  SourceMod Version Information:
                 SourceMod Version: 1.1.0.2368
                 JIT Version: JIT (x86), 1.1.0-svn
                 JIT Settings: Generic i686
                 Compiled on: Jul  5 2008 23:02:03
                 http://www.sourcemod.net/
    If you need any more info i'll be glad to provide it.
    __________________
    r3dh3adkid 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 19:50.


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