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

Simple Spectate


Post New Thread Reply   
 
Thread Tools Display Modes
FirEXE
Member
Join Date: Jun 2010
Location: Lithuania
Old 02-13-2011 , 08:52   Re: Simple Spectate
Reply With Quote #71

Hello, thanks for this terrific plugin, I'm using it for more than a year ant it's extremely handy.

Could you please add country name from which the player is from while spectating?

It's just we have different ban requirements for different countries, one require the demo to be uploaded to SB and others do not.
FirEXE is offline
Simmy
Member
Join Date: Apr 2011
Old 04-13-2011 , 19:24   Re: Simple Spectate
Reply With Quote #72

Hi there

Having an issue with this plugin, when I am alive and I try to set to spectate someone (for when I die), it teleports me back to my spawn! Bloody weird, any fix for this at all?

Fair enough I could just not do it when I am alive, but still, is there a fix regardless?
Simmy is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-17-2011 , 11:02   Re: Simple Spectate
Reply With Quote #73

Quote:
Originally Posted by st0rm_r1der View Post
please switch these plugin to the newer extension "SDK Hooks".
Dukehacks ist OUTDATED!!!
Quote:
Originally Posted by GrO View Post
I wanted to report important thing about a command conflict with the other Plugin named SwapTeam http://forums.alliedmods.net/showthread.php?p=859951 .

Both are using sm_spec command, so if Your server runs both Plugins (Simple-Spectate and SwapTeam) and You want to Auto-Spectate a Player, he'll be moved to the Spectator and everything will have no sense.
Quote:
Originally Posted by Antithasys View Post
Very outdated. The whole Simple Plugins collection is almost ready for a new release. I know I keep saying that, but there are few people working on them, and it takes time. Soon.
Indeed, this plugin needs to be modified to NOT require the use of the very outdated DukeHacks.

To fix the conflicting, and vastly used command sm_spec, I'm going to manually edit out the line:
RegConsoleCmd("sm_spec", Command_Spectate, "Spectate a player");
and recompile.

Awaiting the up and coming new and improved plugin

After removing above stated line of code from simple-spectate.sp and recompiling, I got:
Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// simple-spectate.sp
// Header size:           5492 bytes
// Code size:            31684 bytes
// Data size:             8612 bytes
// Stack/heap size:      16384 bytes; Total requirements:   62172 bytes
//
// Compilation Time: 2.6 sec
// ----------------------------------------

Press enter to exit ...
I'll test to make sure it didn't break anything, which it shouldn't have because I only removed a RegConsoleCmd and post the .sp here.

Last edited by TnTSCS; 05-17-2011 at 11:07.
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-17-2011 , 11:15   Re: Simple Spectate
Reply With Quote #74

Plugin tested and all seems to be working.

in this .sp, all I did was remove the line:
RegConsoleCmd("sm_spec", Command_Spectate, "Spectate a player");

so, now, the commands to spectate a player are sm_spectate and sm_observe. The reason for this edit was because more than a couple of other admin plugins (including the one I use, Advanced Commands) use sm_spec to force a player into spectate, and this plugin was using it as a short version of sm_spectate... so, not much was lost by removing the consolecmd sm_spec.

since the .sp won't compile because it requires other includes that the web compiler doesn't have, I modified the original .sp in the original .zip and attached the updated .zip here.
Attached Files
File Type: sp Get Plugin or Get Source (simple-spectate.sp - 90 views - 47.0 KB)
File Type: zip Simple Spectate.zip (39.9 KB, 147 views)

Last edited by TnTSCS; 05-17-2011 at 11:25.
TnTSCS is offline
lokok
BANNED
Join Date: May 2011
Old 05-24-2011 , 03:16   Re: Simple Spectate
Reply With Quote #75

Russian translation (24 may updated)
+ added spectating option in custom menu (in english) (configs/adminmenu_custom.txt)
Attached Files
File Type: zip spectate_rus_+engmenu_sm_observe.zip (2.9 KB, 100 views)

Last edited by lokok; 05-24-2011 at 03:44.
lokok is offline
Send a message via ICQ to lokok
brandonagard
New Member
Join Date: Mar 2011
Old 06-20-2011 , 01:07   Re: Simple Spectate
Reply With Quote #76

I'm having the same issue as Simmy and people are using it as an exploit, going and playing until they fear they'll die/get ambushed then teleport back to spawn!

Whats happens is, when you go into spectate the menu comes up, you don't select any options but hit M and choose a team. Once you spawn, you play, then when you want to you select 1 from the SimpleSpectate menu and suddenly you're back in spawn!
brandonagard is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-20-2011 , 01:15   Re: Simple Spectate
Reply With Quote #77

that's not good
TnTSCS is offline
Obsidian
Senior Member
Join Date: Jun 2011
Old 07-12-2011 , 14:00   Re: Simple Spectate
Reply With Quote #78

Hi there, can it be confirmed that this will be modified to use SDKHooks at all, and if possible, can an ETA be provided for this?
Obsidian is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 10-23-2011 , 20:49   Re: Simple Spectate
Reply With Quote #79

L 10/23/2011 - 12:102: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 10/23/2011 - 12:102: [SM] Native "GetNativeCell" reported: Invalid parameter number: 3
L 10/23/2011 - 12:102: [SM] Displaying call stack trace for plugin "simple-plugins.smx":
L 10/23/2011 - 12:102: [SM] [0] Line 295, C:\Compiler\scripting\simple-plugins.sp::Native_SM_MovePlayer()
L 10/23/2011 - 12:102: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 10/23/2011 - 12:102: [SM] Native "SM_MovePlayer" reported: Error encountered while processing a dynamic native
L 10/23/2011 - 12:102: [SM] Displaying call stack trace for plugin "simple-spectate.smx":
L 10/23/2011 - 12:102: [SM] [0] Line 1376, C:\Compiler\scripting\simple-spectate.sp::StartFollowingPlayer()
L 10/23/2011 - 12:102: [SM] [1] Line 900, C:\Compiler\scripting\simple-spectate.sp::Menu_PlayerList()
L 10/23/2011 - 122:46: Error log file session closed.
__________________

DontWannaName is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-24-2011 , 00:01   Re: Simple Spectate
Reply With Quote #80

The update for this plugin is scheduled after the update to the bonus roundimmunity. If the post from others have help people, please use them until I can post an update.

Thanks...
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys 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 17:53.


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