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

WatchSpec v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Nicolous
Junior Member
Join Date: May 2005
Location: Reims (France)
Plugin ID:
80
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Watch and punish the spectators when they are observer since too long time.
    Old 07-11-2007 , 10:49   WatchSpec v1.0
    Reply With Quote #1

    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.
    Attached Files
    File Type: sp Get Plugin or Get Source (watchspec.sp - 2096 views - 3.4 KB)
    File Type: txt plugin.watchspec.txt (851 Bytes, 878 views)
    File Type: cfg plugin.watchspec.cfg (307 Bytes, 824 views)
    __________________

    Last edited by Nicolous; 07-13-2007 at 06:16.
    Nicolous is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 07-11-2007 , 12:39   Re: WatchSpec v1.0
    Reply With Quote #2

    Nice plugin, will try out ^^

    cya
    __________________
    Rebell is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 07-11-2007 , 14:40   Re: WatchSpec v1.0
    Reply With Quote #3

    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.
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.

    Last edited by ^BuGs^; 07-11-2007 at 14:45.
    ^BuGs^ is offline
    Nicolous
    Junior Member
    Join Date: May 2005
    Location: Reims (France)
    Old 07-13-2007 , 06:17   Re: WatchSpec v1.0
    Reply With Quote #4

    Quote:
    Originally Posted by ^BuGs^ View Post
    try to keep filenames all lower-case as Linux is case-sensitive.
    Quote:
    Originally Posted by ^BuGs^ View Post
    __MAXPLAYERS__ could be removed and "MAXPLAYERS + 1" is all that is needed.
    Quote:
    Originally Posted by ^BuGs^ View Post
    you need the other flags for the version for it to work for stats tracking.
    Done.
    __________________
    Nicolous is offline
    krod
    Member
    Join Date: Oct 2006
    Old 07-17-2007 , 17:27   Re: WatchSpec v1.0
    Reply With Quote #5

    This is giving my players warnings when they are on ct/t and in spec..
    krod is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-18-2007 , 09:00   Re: WatchSpec v1.0
    Reply With Quote #6

    How can a player be on ct/t and in spec? :S
    __________________
    Extreme_One is offline
    krod
    Member
    Join Date: Oct 2006
    Old 07-18-2007 , 11:16   Re: WatchSpec v1.0
    Reply With Quote #7

    Simple. They can't.
    This plugin is giving warnings to all players regardless of what team/spec they are on.
    krod is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-18-2007 , 12:03   Re: WatchSpec v1.0
    Reply With Quote #8

    Quote:
    Originally Posted by krod View Post
    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.
    __________________
    Extreme_One is offline
    tigerox
    AlliedModders Donor
    Join Date: Oct 2008
    Location: Canada
    Old 10-08-2008 , 01:26   Re: WatchSpec v1.0
    Reply With Quote #9

    This plugin didn't work.

    Fixed.

    Also, admins are immune from being punished.

    TigerOx
    Attached Files
    File Type: sp Get Plugin or Get Source (watchspec.sp - 1497 views - 3.9 KB)

    Last edited by tigerox; 10-09-2008 at 03:00.
    tigerox is offline
    tigerox
    AlliedModders Donor
    Join Date: Oct 2008
    Location: Canada
    Old 10-11-2008 , 17:03   Re: WatchSpec v1.0
    Reply With Quote #10

    Fixed an issue with players being kicked if they are spectating and the map changes.
    Attached Files
    File Type: sp Get Plugin or Get Source (watchspec.sp - 1368 views - 4.1 KB)
    tigerox 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 07:27.


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