Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by borbn*:

 

Hi,

 

is someone already running this plugin with the R10 Patch?

I got the problem that after the first ppl join and the server size is adjusted battlelog shows that the server is full.

Actually only 9 ppl where on the server and it showed 14/14 playing. After i adjusted the player limit to 32 it shows 32/32 slots are full. Joining the server was also not possible.

 

Already contacted the server hoster but they dont know any new issues with the R10 patch right now.

So maybe the plugin needs some tuning for the R10 patch?

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Originally Posted by Frakkas*:

 

I can't replicate your issue. No problems here.

Just a little more clarity on my repro steps (I can certainly live with this, thanks for all your hard work!):

 

With R10, I restart the server with essentially all default settings, 64 player max (via battlelog). Restart procon layer. Connect with Adaptive server disabled, ensure Enable QuickMatch and Assume Round Started at Max are checked, then enable the plugin.

 

I get this debug:

 

[10:53:58 19] AdaptiveServerSize: Enabled!

[10:53:58 41] AdaptiveServerSize: WORK -> 0 players online. Server size changed to 8. Round started at 64.

[10:53:58 41] AdaptiveServerSize: WORK -> 0 players online. QuickMatch settings changed to specified defaults.

[10:53:58 83] AdaptiveServerSize: IDLE -> 0 players online. Server size set to 8. Round started at 64.

 

Server size is reported as 8 now (battlelog and procon). When I join, I need 7 players instead of 3. I restart the round, and the required players is now 3. This time I didn't need to use the manual procon settings to change the start/restart numbers, just had to restart the map.

 

Now, I change the map list and restart the server (not restarting procon or the plugin). When the server comes back up, no amount of restarting the map brings the start count down to 4.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GitSum*:

 

Hi,

 

is someone already running this plugin with the R10 Patch?

I got the problem that after the first ppl join and the server size is adjusted battlelog shows that the server is full.

Actually only 9 ppl where on the server and it showed 14/14 playing. After i adjusted the player limit to 32 it shows 32/32 slots are full. Joining the server was also not possible.

 

Already contacted the server hoster but they dont know any new issues with the R10 patch right now.

So maybe the plugin needs some tuning for the R10 patch?

This morning - one of our servers was showing the same thing, problem is - the Adaptive Server Size plugin for that server was not enabled because it is only a 16 slot server. A server restart fixed the problem
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

New version is up. When calculating the current number of players, the plug-in now 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. This is the functionality that Panther requested in post #125.

 

1.2.2.0 (11/26/2011)

- now includes joining players when calculating server size, in order to match Battlelog (most of the time)

 

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!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

Falcon, you did a perfect job and a realy good solution on that one!!! Awesome, it works now SO MUCH BETTER than before. It is realy realy accurate now. I realy love it!!! Update was worth it. Awesome sauce!

 

Now you use onPlayerLogin() i guess. Have you thought about firing OnSeverInfo on that event? Just a thought, not sure if it would work.

 

 

PS: My first Donation for my TrueBalancer will be farwarded to you :ohmy:. Thanks so much for this!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

Falcon, you did a perfect job and a realy good solution on that one!!! Awesome, it works now SO MUCH BETTER than before. It is realy realy accurate now. I realy love it!!! Update was worth it. Awesome sauce!

 

Now you use onPlayerLogin() i guess. Have you thought about firing OnSeverInfo on that event? Just a thought, not sure if it would work.

 

 

PS: My first Donation for my TrueBalancer will be farwarded to you :ohmy:. Thanks so much for this!

Thanks!

 

Yes, but not because it's more accurate than OnServerInfo. If you watch the console, you'll see that serverInfo is called each time before listPlayers, so there's no reason to fire it again. It uses OnServerInfo to get the round time and game mode, then does everything else in OnListPlayers. It gets the join information from OnPlayerJoin.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

It gets the join information from OnPlayerJoin.

Thats what i ment :smile:. You could fire OnServerInfo within onPlayerJoin or will this mess up your code? With that you would update your list exactly at the time a player joins.

 

Not sure if it would work, but i use this methode to fire OnListPlayers when a player teamchanges:

this.ExecuteCommand("procon.protected.send", "serverinfo", "all");

 

But i love your code allready like it is now. Just brainstorming loud here :ohmy:. If you dont want me to get on your nerfs, just tell me, I would understand it :ohmy:.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

Thats what i ment :smile:. You could fire OnServerInfo within onPlayerJoin or will this mess up your code? With that you would update your list exactly at the time a player joins.

serverInfo and listPlayers aren't updated immediately when a player joins, so it wouldn't make a difference. They aren't updated until sometime after the player gets to the "Loading" screen. That's why we had this problem in the first place.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

yeah, i thought that you could fire it up with your new code implemented in onPlayerJoin. I know it it is not update when a player joins, but your logic is in serverInfo and the size of the server will only update if serverInfo is fired. Maybe you can move this logic out of onServerinfo and fire it up seperatly when a player joins and on serverInfo. Not sure how much this would change the code.

 

I guess my english is so bad that i can't explain what i want to say =(.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

yeah, i thought that you could fire it up with your new code implemented in onPlayerJoin. I know it it is not update when a player joins, but your logic is in serverInfo and the size of the server will only update if serverInfo is fired. Maybe you can move this logic out of onServerinfo and fire it up seperatly when a player joins and on serverInfo. Not sure how much this would change the code.

Oh, I see what you're saying. The logic is actually in OnListPlayers, but I guess I could move it out and have it called on joins as well. I try to avoid actually calling serverInfo and listPlayers directly, as many other scripts use them for timing updates, as well, and running them too much could cause an unnecessary burden on the server.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by WaxMyCarrot*:

 

Awesome work Falcon.. this is the MOST useful plugin so far for BF3.. without a full server the others are worthless. I dropped you a donation.. I hope others who appreciate your hard work do the same.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PBSGTS*:

 

Awesome work Falcon.. this is the MOST useful plugin so far for BF3.. without a full server the others are worthless. I dropped you a donation.. I hope others who appreciate your hard work do the same.

Exactly. This plugin saves me so much work, it used to save me even more. Back before R9 I didn't even have to seed the server with this plugin installed, ahh those were the days.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Ghostryder81*:

 

Exactly. This plugin saves me so much work, it used to save me even more. Back before R9 I didn't even have to seed the server with this plugin installed, ahh those were the days.

Same here :smile: Really awesome work!

I dropped you also a donation!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

There is a little problem at the roundstart. It looks like that the queue list is alittle bugged.

 

If at round end there are still players in the queue list and alot of players leave during loading the new map (Thanks to R10 nearly every new round like 5-10 players get a freeze) and the plugin regulates the server down to the next maxSlots it showes that the server is full.

eg: 48/48(1), but only 44 players are on the server. This happens very often at the beginning of a new round.

 

Maybe it is possible to add some timevariable, so the plugin waits a given time after roundstart before starting ajusting the players. I would like it, that the plugin forexample starts adjusting the playernumber 2-5minutes after a roundstart.

 

Do you think this would be possible?

 

Edit: It looks like, the queue list is bugged not only at the roundstart. It seems, that if the one and only player on the queuelist leaves that the server doesn't get his players updated in serverbrowser. This is realy sad =(.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by WaxMyCarrot*:

 

Yes.. this que bug exists with or without this plugin or even procon. I have tried shutting down procon altogether a few minutes before round end and it will show my server as full for a while after round start. Wish EA would finally get done with this beta and release the real game we paid for. :sad:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

yeah, this bug has nothing to do with the plugin. The only thing to update the Playernumber in battlelog is when a player joines. I have added to the code to wait until the first player joines after roundstart, to avoid this problem for the moment. It happens also during a round, sux realy much.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by teeth_03*:

 

Request:

 

Can this plugin be used to change the map cycle depending on how many people are in the server? For example, I want my server to be on TDM when empty up to ~20 people, then it would switch to Rush untill ~40 people join, then switch to conquest large past that, then perhaps when it gets above 60, only play the 4 larger maps with the jets.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PBSGTS*:

 

Request:

 

Can this plugin be used to change the map cycle depending on how many people are in the server? For example, I want my server to be on TDM when empty up to ~20 people, then it would switch to Rush untill ~40 people join, then switch to conquest large past that, then perhaps when it gets above 60, only play the 4 larger maps with the jets.

That's a great idea for a plugin, you might post that in the plugin ideas forum.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

Request:

 

Can this plugin be used to change the map cycle depending on how many people are in the server? For example, I want my server to be on TDM when empty up to ~20 people, then it would switch to Rush untill ~40 people join, then switch to conquest large past that, then perhaps when it gets above 60, only play the 4 larger maps with the jets.

Yeah, that's beyond the scope of this plugin, but it is a good idea. There was a plugin like this for BFBC2, which can be found here (www.phogue.net/forumvb/showth...ng-(28.7.2011)*), but it has not been ported to BF3, though there were some people asking about it in that thread.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

yeah, this bug has nothing to do with the plugin. The only thing to update the Playernumber in battlelog is when a player joines. I have added to the code to wait until the first player joines after roundstart, to avoid this problem for the moment. It happens also during a round, sux realy much.

Does waiting until after the first player joins really solve this issue? To me, it seems to happen even if the maxPlayers isn't changed. For example, on my 32-player server, it usually gets stuck at 32/32 [1]. I have had the case where this bug has caused my server to empty. I hope they fix it soon.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by teeth_03*:

 

Yeah, that's beyond the scope of this plugin, but it is a good idea. There was a plugin like this for BFBC2, which can be found here (www.phogue.net/forumvb/showth...ng-(28.7.2011)*), but it has not been ported to BF3, though there were some people asking about it in that thread.

yeah,I know. I am unsure of the status of that plugin, so I figured I would suggest it here. I figured a quick and dirty way of doing it,would be to add an option to send in custom commands when the player count reaches a certain size, just send in a bunch of commands to remove maps and add new ones.

 

As an example, you could have 3 boxes for typing in commands, A,B and C. You could set the plugin to execute the command set A once it reaches 20 players, which would remove maps,add more, possibly change some settings around, then do it again for higher player counts for B and C.

 

The only problem is,I'm not sure how to work that if the server is depopulating...

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Panther*:

 

Does waiting until after the first player joins really solve this issue? To me, it seems to happen even if the maxPlayers isn't changed. For example, on my 32-player server, it usually gets stuck at 32/32 [1]. I have had the case where this bug has caused my server to empty. I hope they fix it soon.

Yes it does. If a new player joines the server. The playernumber of the server is refreshed. check it yourself. if it gets stuck again, join yourself and you will see. The problem is if it happens during the round.
* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.