Thought.

Discussion for Bani's Tournament Mod

Moderators: Forum moderators, developers

User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

happened to me aswell, and a few other of my ref's, hence i took it off, i wish ref's and semiadmins were immune from inactivity kicks
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Post by Luk4ward »

gotenks wrote:except that ref's get kicked for spec inactivity when they're speccing a potential cheater
if u follow a player u cant be kicked for inactivity
wolFTeam.pl
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

Luk4ward wrote:
gotenks wrote:except that ref's get kicked for spec inactivity when they're speccing a potential cheater
if u follow a player u cant be kicked for inactivity
OFC you can
Cause you do nothing except watching the screen
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post by McSteve »

A lua script could get you most of what you want I reckon. Ok so it wont be able to tell when clients are trying to connect and instead would do its kicking on a different cue, but I dont think that's too big a deal.

You could set up a new server setting, g_spectimefull or something, that sets a time limit on how long players can sit in spec if the server is full (and make refs immune ofc). If you really wanted to push the boat out, Clutch made clever use of the g_inactivity cvar for his anti-spawnkill mod. You could do a similar thing and allow 'active' specs immunity too (those that are clicking through different players or moving about in freeview).

Actually, could using g_inactivity in this way allow for Reyalp's "move to spec, kick if full" idea? I realise that g_inactivity will always be trying to perform its own function but if the time limit was high enough it shouldnt matter. I remember Clutch saying something about unexpected behaviour when setting g_inactivity to a high value, but I dont think he ever stated the max value he got to work.
GhosT:McSteve
Ghostworks Gaming Community
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

A better way to do it would be to kick inactive specs when the server becomes full, so you always have 1 slot available. You can detect this by tracking connects.

You'll have to decide how to handle private slots, but otherwise it should be pretty straightforward. ISTR you can poke the fields used to track inactivity from lua, so you could also give ref/sa specs inactivity protection if you wanted. Or implement your own inactivity system and leave the default one off.
send lawyers, guns and money
User avatar
Nail
Posts: 425
Joined: Fri Jan 02, 2004 3:47 pm
Contact:

Post by Nail »

how about a banner "Specs, please limit your time when server is full"
Improvise, Adapt, Overcome
Post Reply