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

Dynamic Slots


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bottiger
AlliedModders Donor
Join Date: Dec 2010
Plugin ID:
2254
Plugin Version:
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Increase or decrease your maximum slots depending on how many clients are connected
    Unapprover:
    Reason for Unapproving:
    Compliance issues with quickplay servers.
    Old 02-28-2011 , 02:39   Dynamic Slots
    Reply With Quote #1

    Increase or decrease your maximum slots depending on how many clients are connected.

    Cvars

    When you have dynamicslots_threshold players, expand slots to dynamicslots_high. Dropping below will set to dynamicslots_low.

    dynamicslots_threshold 24
    dynamicslots_high 32
    dynamicslots_low 24

    I got this idea from looking at Lotus Clan servers. This supposedly helps keep servers populated 24/7.
    Attached Files
    File Type: sp Get Plugin or Get Source (dynamicslots.sp - 2015 views - 1.6 KB)
    __________________

    Last edited by bottiger; 02-28-2011 at 02:49.
    bottiger is offline
    Ginxeng
    Senior Member
    Join Date: Nov 2009
    Location: Timber Doodle
    Old 02-28-2011 , 13:42   Re: Dynamic Slots
    Reply With Quote #2

    Quote:
    Originally Posted by bottiger View Post
    I got this idea from looking at Lotus Clan servers. This supposedly helps keep servers populated 24/7.
    No I think they use fake player counts. But I guess this could work, maybe I'll try it on one of my test servers.
    __________________

    Last edited by Ginxeng; 02-28-2011 at 13:46.
    Ginxeng is offline
    Send a message via AIM to Ginxeng Send a message via MSN to Ginxeng Send a message via Skype™ to Ginxeng
    bottiger
    AlliedModders Donor
    Join Date: Dec 2010
    Old 02-28-2011 , 15:56   Re: Dynamic Slots
    Reply With Quote #3

    Quote:
    Originally Posted by Ginxeng View Post
    No I think they use fake player counts. But I guess this could work, maybe I'll try it on one of my test servers.
    They also do this. That's why you see their servers bounce between 24 and 33 slots all day.

    http://forums.gamingterritory.com/to...what-the-shit/
    __________________

    Last edited by bottiger; 02-28-2011 at 16:09.
    bottiger is offline
    Savier
    New Member
    Join Date: Aug 2010
    Old 03-01-2011 , 08:36   Re: Dynamic Slots
    Reply With Quote #4

    How it work with reserved slots?
    Savier is offline
    SaintK
    Veteran Member
    Join Date: Mar 2004
    Old 03-15-2011 , 08:40   Re: Dynamic Slots
    Reply With Quote #5

    Quote:
    Originally Posted by Savier View Post
    How it work with reserved slots?
    Just was wondering the same. Has anyone tested this?
    SaintK is offline
    spec172
    Junior Member
    Join Date: Nov 2010
    Old 03-15-2011 , 13:42   Re: Dynamic Slots
    Reply With Quote #6

    no ;p
    spec172 is offline
    SaintK
    Veteran Member
    Join Date: Mar 2004
    Old 03-16-2011 , 06:20   Re: Dynamic Slots
    Reply With Quote #7

    This plugin doesn't seem to function at our server. Í have set the following cfg's;

    //dynamic slots
    dynamicslots_threshold 24
    dynamicslots_high 32
    dynamicslots_low 28

    sm_reserved_slots 4

    server boots with 32 slots. If i understand correctly my config should make the server 28 slots when it's lower then 24 active players, + 4 reserved slots would make a max pub slot count of 24.

    Currently the plugin doesn't seem to adjust the player count at all, so I wonder, how is this suppose to work?

    #edit
    For some reason the plugin seems to work now, but it's conflicting with sourcemod's reserved slot system. The reserved slots are set to hidden, which results in a weird battle in how many free/max slots to display. With the above settings it currently displays 14/28, and sometimes 14/24, and then when it hits 24 it goes to 24/28 for a while. Sometimes it shows 25/25 etc.

    Last edited by SaintK; 03-16-2011 at 15:28.
    SaintK is offline
    bottiger
    AlliedModders Donor
    Join Date: Dec 2010
    Old 03-19-2011 , 23:09   Re: Dynamic Slots
    Reply With Quote #8

    Quote:
    Originally Posted by Kyle12 View Post
    Do you have any desire to expand on this? I've added load calculation and some other features.
    I am willing to add your updates to the file.
    __________________
    bottiger is offline
    mats
    Senior Member
    Join Date: Jan 2005
    Old 03-21-2011 , 14:16   Re: Dynamic Slots
    Reply With Quote #9

    Quote:
    Originally Posted by Kyle12 View Post
    Do you have any desire to expand on this? I've added load calculation and some other features.
    Load calculation would be nice can you share it?
    __________________
    mats is offline
    uateam
    BANNED
    Join Date: Nov 2010
    Location: ua-team.net
    Old 03-24-2011 , 20:32   Re: Dynamic Slots
    Reply With Quote #10

    seems to me this plugin doesn't work on zps server :/ (currently with 24 slots isn't display 10 of 24 when server is empty)
    uateam is offline
    Reply


    Thread Tools
    Display Modes

    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 19:18.


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