AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   WatchSpec v1.0 (https://forums.alliedmods.net/showthread.php?t=57789)

Nicolous 07-11-2007 10:49

WatchSpec v1.0
 
3 Attachment(s)
Description :
Watch and punish the spectators when they are observer since too long time.

Installation :
- Place the watchspec.smx file inside of the addons/sourcemod/plugins/ folder.
- Place the plugin.watchspec.cfg file inside of the cfg/sourcemod/ folder. It will be automatically excuted.
- Place the plugin.watchspec.txt file inside of the addons/sourcemod/translations/ folder (translated in english and french)

Cvars :
* watchspec_max_warnings
Max warnings before sanction (0 = off) (1 per minute)

* watchspec_sanction
Sanction for spectatoring
0 = kick
1 = ban o_O Why not ?

* watchspec_ban_time
Ban time if watchspec_sanction is "1"

Currently script does not punish the fake client, because I do not know how find which bot is HLTV.

Rebell 07-11-2007 12:39

Re: WatchSpec v1.0
 
Nice plugin, will try out ^^

cya

^BuGs^ 07-11-2007 14:40

Re: WatchSpec v1.0
 
try to keep filenames all lower-case as Linux is case-sensitive. __MAXPLAYERS__ could be removed and "MAXPLAYERS + 1" is all that is needed.
Code:

new Handle:timersList[MAXPLAYERS +1]
... and you need the other flags for the version for it to work for stats tracking.

Otherwise good job.

Some idea for improvement:
* Check Immunity from being kicked/banned
* If they have the revered slot (i.e. clan/group server) if they should be put under a spec limit.

Nicolous 07-13-2007 06:17

Re: WatchSpec v1.0
 
Quote:

Originally Posted by ^BuGs^ (Post 502119)
try to keep filenames all lower-case as Linux is case-sensitive.

Quote:

Originally Posted by ^BuGs^ (Post 502119)
__MAXPLAYERS__ could be removed and "MAXPLAYERS + 1" is all that is needed.

Quote:

Originally Posted by ^BuGs^ (Post 502119)
you need the other flags for the version for it to work for stats tracking.

Done.

krod 07-17-2007 17:27

Re: WatchSpec v1.0
 
This is giving my players warnings when they are on ct/t and in spec..

Extreme_One 07-18-2007 09:00

Re: WatchSpec v1.0
 
How can a player be on ct/t and in spec? :S

krod 07-18-2007 11:16

Re: WatchSpec v1.0
 
Simple. They can't.
This plugin is giving warnings to all players regardless of what team/spec they are on.

Extreme_One 07-18-2007 12:03

Re: WatchSpec v1.0
 
Quote:

Originally Posted by krod (Post 504883)
Simple. They can't.
This plugin is giving warnings to all players regardless of what team/spec they are on.

Yeah after I posted I re-read what you'd posted and realised that was what you meant.

tigerox 10-08-2008 01:26

Re: WatchSpec v1.0
 
1 Attachment(s)
This plugin didn't work.

Fixed.

Also, admins are immune from being punished.

TigerOx

tigerox 10-11-2008 17:03

Re: WatchSpec v1.0
 
1 Attachment(s)
Fixed an issue with players being kicked if they are spectating and the map changes.


All times are GMT -4. The time now is 00:54.

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