AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Admin ESP Spectate (https://forums.alliedmods.net/showthread.php?t=74392)

Liam 07-17-2008 21:24

Admin ESP Spectate
 
1 Attachment(s)
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

Lebson506th 07-17-2008 21:37

Re: Admin ESP Spectate
 
Screenshots?

Liam 07-17-2008 21:40

Re: Admin ESP Spectate
 
I'll post them after I get home from work and watching the dark knight

DontWannaName 07-17-2008 21:51

Re: Admin ESP Spectate
 
Is it possible to make it so when they are killed and you are spectating them to go back to them when they respawn?

Liam 07-17-2008 21:59

Re: Admin ESP Spectate
 
Quote:

Originally Posted by DontWannaName (Post 654384)
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.

DerHelm 07-17-2008 23:06

Re: Admin ESP Spectate
 
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?

ottobohn 07-18-2008 09:56

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

otto

Liam 07-18-2008 10:17

Re: Admin ESP Spectate
 
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. :)

DerHelm 07-18-2008 17:26

Re: Admin ESP Spectate
 
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.

r3dh3adkid 07-19-2008 11:01

Re: Admin ESP Spectate
 
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.


All times are GMT -4. The time now is 13:46.

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