Page 1 of 151 1231151101 ... LastLast
Results 1 to 10 of 1507
  1. #1

    Adaptive Server Size (1.3.5.3 - 06/14/15)

    Description
    This plug-in is intended to change the server size adaptively based upon the number of players currently on the server. The player count and desired server size is reevaluated when a player joins or leaves and changes occur dynamically throughout each round. When calculating the current number of players, the plug-in includes players who are joining the game, but are not in the PRoCon player list, in order to attempt to mimic the number displayed on Battlelog. Due to the fact that player timeouts aren't reported to PRoCon, it's not perfect, but it's accurate 80-90% of the time.

    Normally, if the server size is modified to a value greater than what it was when the round began, players exceeding the previous size are required to wait at a black screen until the round ends. This plugin actively works around this issue by setting the server to it's max size before each round begins.

    Optionally, the server can display welcome messages to new players when only a limited number of players are on the server in an effort to convince them to stick around and start the server. It will also notify all players on the server when new players join so that they will hopefully stick around if they see people joining.

    An adaptive idle kick feature is also available, which will disable the idle kick when less than a specified number of players online.

    Commands
    This plug-in has no in-game commands.

    Settings

    Adaptive Server Size
    Enable adaptive server size?
    If enabled, changes the server size based upon the current number of players.

    On startup, assume round started at max server size?
    When the plugin initially starts up, it has no way of knowing if the current round started at the maximum server size, or not. By default, if the server is empty, it will restart the round at the maximum server size, but if players are present, it will assume that the round started with the current server size, and will not increase the server size until the current round ends. If this option is enabled, when the plugin starts up, it will assume that the current round started at the maximum server size and make immediate server size changes, as necessary.

    Display welcome/join messages to help start server?
    If enabled, the server will display welcome messages to new players when only a limited number of players are on the server to encourage them to stick around and help start the server. It will also notify all players on the server when new players join so that they will hopefully stay if they see people joining.

    Display messages until how many players are on?
    The welcome/join messages will only be displayed until this number of players have joined. It should probably be set to somewhere between 3 and 5 players, as once 4 to 6 players are on your server, it should begin to fill up on it's own.

    Welcome messages
    These messages are sent to new players as soon as they reach the deploy screen. The second message is sent 5 seconds after the first. [soldierName] is replaced by the new player's name.

    Player joining messages
    These messages are sent to all players currently on the server when new player(s) are joining. The second message is sent 5 seconds after the first. [joinCount] is replaced by the number of players who are currently joining.

    Maximum server size
    The maximum number of slots that your server is allowed to have.

    Size with X players
    The server size that will be set when X players are active on the server.

    Maximum [Game Mode] size
    The maximum server size that will be set when the specified game mode is active

    Adaptive Idle Kick
    Enable adaptive idle kick?
    If enabled, disables the idle kick time when less than the specified number of players are online.

    Disable idle kick until how many players are on?
    Once this number of players is reached, idle kick will be enabled and set to the specified value.

    Desired idle kick time, in seconds
    The number of seconds that the idle kick timer will be set to, once it has been enabled.

    Extras
    Enable debug output?
    If enabled, displays debug info in the console window.

    Development

    Changelog
    1.3.5.3 (06/14/2015)
    - improved compatibility with BFHL
    1.3.5.2 (06/13/2015)
    - improved compatibility with BFHL
    1.3.5.1 (03/30/2015)
    - idle kick disable sets idle kick to 86400 for BFHL since 0 isn't valid
    1.3.5.0 (03/26/2015)
    - added support for BFHL
    1.3.4.6 (02/05/2014)
    - idle kick disable sets idle kick to 86400 for BF4 since 0 isn't valid
    1.3.4.5 (11/26/2013)
    - changed max players back to 64 for BF4
    1.3.4.4 (11/05/2013)
    - added game detection and support for up to 70 players for BF4
    1.3.4.1 (10/31/2013)
    - added include file in BF4 folder
    1.3.4.0 (06/14/2012)
    - game modes now pulled from BF3.def to ensure compatibility with new and all future game modes
    - welcome message now sent only to new player instead of team
    - player joining messages now limited to once every 15-30 seconds in order to prevent spam
    1.3.2.7 (03/30/2012)
    - more minor compatibility changes due to PRoCon/R-20 updates
    1.3.2.6 (03/29/2012)
    - minor compatibility changes due to upcoming PRoCon/R-20 updates
    1.3.2.5 (01/05/2012)
    - fixed wrong number of players detected when listplayers not called with 'all'
    - welcome/join messages will be skipped if they are left empty
    1.3.2.3 (12/31/2011)
    - added code to prevent restart if certain variables are not initialized for some reason
    1.3.2.2 (12/28/2011)
    - fixed server resize not working immediately after server restart in some cases
    1.3.2.1 (12/22/2011)
    - fixed idle kick timeout was not being reset after server restart
    1.3.2.0 (12/19/2011)
    - updated to properly override API methods
    - changed friendly names for map sizes to match PRoCon 1.1.3.1
    - added Adaptive Idle Kick (commissioned by Guy0510)
    - raised the max player limit for displaying welcome messages (previously 8)
    1.3.1.2 (12/13/2011)
    - added maximum size for Conquest Small Alt maps
    1.3.1.1 (12/12/2011)
    - added round detection timer in case OnLevelLoaded event isn't triggered
    1.3.1.0 (12/12/2011)
    - changed timer method to prevent sleep lock
    - fixed round start detection error caused by spawn after round end
    1.3.0.1 (12/10/2011)
    - fixed unable to change number of players for welcome message display
    1.3.0.0 (12/09/2011)
    - added optional messages to encourage players to stay when server is just getting started
    - removed QuickMatch options, since it's been documented that setting the variables to 8/4 is not required
    - minimum server size no longer restricted
    - fixed multiple restarts after server stops responding for a minute at the end of a round
    1.2.3.1 (12/06/2011)
    - adjusted allowable option values due to R11 patch
    1.2.3.0 (12/05/2011)
    - added additional checks on player join/leave in order to improve accuracy
    - added PayPal donation option
    1.2.2.0 (11/26/2011)
    - now includes joining players when calculating server size, in order to match Battlelog (most of the time)
    1.2.1.0 (11/22/2011)
    - fixed limits for various game modes not being enforced
    - adjusted allowable option values due to R9 patch
    1.2.0.1 (11/22/2011)
    - fixed inability to change max team deathmatch size
    1.2.0.0 (11/21/2011)
    - server size not initialized properly when "On startup, assume round started at max server size?" is set
    - set server size to round start size when plugin is disabled
    - fixed bug caused by serverInfo occasionally providing incorrect server size
    - added max player options for various game modes to prevent increases beyond what's desired
    - other minor fixes
    1.1.0.0 (11/20/2011)
    - max server size is set before each level is loaded, in order to provide dynamic changes without restarting
    - restart options removed, since they are no longer necessary
    - size for x players options are now saved and restored properly
    1.0.1.0 (11/19/2011)
    - server size was not being adjusted in some instances
    - minor fixes
    1.0.0.0 (11/19/2011)
    - initial version

    Support

    If you are having a problem, please follow the steps detailed in this thread:
    https://forum.myrcon.com/showthread....a-plugin-issue

    Contribution

    If you find this plugin useful, please consider making a donation via the plugin details page inside PRoCon! Donations help support the servers used for development and provide incentive for additional features and new plugins!

    Thanks to those who have donated! If you haven't, yet, please consider the value of filling your servers more quickly and keeping them full much longer than would ordinarily be possible without a lot of manual work!

    Download

    Latest version is attached.
    Attached Files Attached Files
    Last edited by falcontx; 15-06-2015 at 01:14. Reason: Removed BF4 icon.

  2. #2

  3. #3
    I will be testing this beauty here shortly on at least one of our servers. Will post back if I notice anything odd or have a problem

    Thank You for the plugin.

  4. #4
    The one and only Bassyboy
    Join Date
    Jul 2010
    Location
    Netherlands
    Posts
    3,261
    Nice! I was waiting for this one! Will test is out shortly
    I won't do support via PM: if you need help, make a topic on the public forums.

  5. #5
    Sweet plugin, thank-you very much.

    I'm having a problem getting the size to change automatically, even if I restart the level the plugin tells me it's waiting for the round to end.
    Last edited by PBSGTS; 20-11-2011 at 02:28.

  6. #6
    Just gave this a go on my 64 slot server after one the routine daily crashes.

    The plugin worked great until I noticed that it never increased passed 32 slots, even though there were 31 in game. I looked at the settings, and it should have went to 48 once there were 25. So, i had to adjust it myself from that point on. Changing to 48 and 64 automatically aren't working.

    my settings:

    Enable QuickMatch settings = No

    Enable Adaptive settings = Yes
    Restart round... = Yes, but only if players are waiting
    # needed to restart = 3
    Do not restart if this many = 16
    Max server size = 64

  7. #7
    Those of you having issues, do you have the debug output turned on? That information would help me. I'd also be willing to work with you more closely to solve any issues. Just shoot me a PM or join our TeamSpeak server at TS3.BITGOBLIN.COM

  8. #8
    Quote Originally Posted by falcontx View Post
    Those of you having issues, do you have the debug output turned on? That information would help me. I'd also be willing to work with you more closely to solve any issues. Just shoot me a PM or join our TeamSpeak server at TS3.BITGOBLIN.COM
    Here's what I get from the debug,

    *restart level*
    [22:53:54 35] AdaptiveServerSize: INFO -> Level loaded.
    [22:54:10 58] AdaptiveServerSize: TASK -> 0 players online. Server size should be 8; Round started at 16; waiting for round to end.
    *restart level*
    [22:55:47 82] AdaptiveServerSize: INFO -> Level loaded.
    [22:56:12 22] AdaptiveServerSize: TASK -> 0 players online. Server size should be 8; Round started at 16; waiting for round to end.

    It does it if I load a new map also.

    I have both adaptive quickmatch and adaptive server on.

    Thanks for the quick response!

  9. #9
    I found the issue. Please stand by for an update.

  10. #10
    Has this issue been fixed or should I wait till you reply?
    Last edited by WaxMyCarrot; 02-12-2011 at 23:15.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •