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

Spectate Time


Post New Thread Reply   
 
Thread Tools Display Modes
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 05-24-2009 , 19:59   Re: Spectate Time
Reply With Quote #11

what version are you using?
tigerox is offline
-Sky
Member
Join Date: May 2009
Old 05-24-2009 , 23:07   Re: Spectate Time
Reply With Quote #12

Me? 1.2.1
__________________

-Sky is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-25-2009 , 00:44   Re: Spectate Time
Reply With Quote #13

Download the latest version and see if you still get those errors...
__________________

DontWannaName is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 05-25-2009 , 14:45   Re: Spectate Time
Reply With Quote #14

yah, try the latest one.

I've been running 2.1 for 2 months now on a very busy CSS server, no errors.

TigerOx

Last edited by tigerox; 05-25-2009 at 14:47.
tigerox is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 08-16-2009 , 23:27   Re: Spectate Time
Reply With Quote #15

Can you add a cvar for player limits so it doesnt kick anyone until there are some amount of players.
__________________

DontWannaName is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 08-17-2009 , 17:49   Re: Spectate Time
Reply With Quote #16

Here is a new version that includes player limits. It will only kick people past the designated spec time if there are greater than or equal to x amount of players. I havent tested this yet but to my knowledge it will work.

New cvar is sm_playerlimit which defaults to 23 players before kicking any spectators.
__________________


Last edited by DontWannaName; 08-18-2009 at 02:41. Reason: New version from author
DontWannaName is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 08-17-2009 , 20:54   Re: Spectate Time
Reply With Quote #17

Thanks.

I will add player limits and an admin flag in the next version.

The way you have done the limits isn't correct. Players that spectate under the player limit and never leave spectate will never be kicked; even if the number of players increases.

I'll have the updated version soon.

TigerOx

Last edited by tigerox; 08-17-2009 at 21:06.
tigerox is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 08-18-2009 , 01:25   Re: Spectate Time
Reply With Quote #18

New version!
18-08-2009 : Version 2.3
  • Changed kick protect to admin flag 's' (custom_5).
  • Added min player kick limit. Players will start getting kicked once the minimum is reached.
tigerox is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 08-18-2009 , 02:43   Re: Spectate Time
Reply With Quote #19

Ya, I kinda thought so too, worth a shot.
__________________

DontWannaName is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-24-2010 , 09:40   Re: Spectate Time
Reply With Quote #20

24-10-2010 : Version 2.4
  • Recoded. Much more efficient.
  • Fixed a condition where multiple timers could be set on a spectator.
__________________
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 02:48.


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