Jump to content

Adaptive Ticket Count (1.2.1.1 - 12/08/13)


ImportBot

Recommended Posts

Originally Posted by falcontx*:

 

Description

This plugin is intended to adjust the number of tickets based upon the number of players on the server just before the new maps is started (it checks right after the countdown on the stats screen finishes). The number of tickets can be specified as a percentage of the map default, or as an exact number (so that all maps will be the same).

 

This plugin can be used for any or all game modes. Each game mode can be enabled or disabled explicitly, and can use a default list of ticket counts or a list specifically for that game mode.

 

Commands

This plug-in has no in-game commands.

 

Settings

 

Adaptive Ticket Count

Enable for [Game Mode]?

Used to enable the plugin for the specified game mode. If "Use default ticket count" is chosen, the ticket count values from the default list will be used. If "Use game-mode-specific ticket count" is chosen, a new ticket count list will be added for this game mode.

 

Ticket percentage for disabled game modes

Ticket percentage to use on game modes for which the plugin is disabled.

 

Units used for ticket count

Choose whether you would prefer to specify the number of tickets as a percentage of the map default or as an exact number (so that all maps will be the same). On maps that start with a different number of tickets for each side (i.e. Back To Karkand maps), the specified ticket count will be applied to the side with the larger number of tickets.

 

Set preset after map loads?

[bF4 only] Optionally send a preset command after the round loads in order to show "Normal", "Hardcore", or "Infantry" in Battelog despite having a ticket count other than 100%.

 

[Game Mode] Ticket Count

[XXX] Tickets with [#] players

The percentage or number of tickets that will be set when X players are active on the server. There is a default list, as well as a list for each game mode that is configured to have it's own ticket ocunt list. If you don't run a 64-player server, just ignore the options above your max server size, as they will not be used.

 

Extras

Enable debug output?

If enabled, displays debug info in the console window.

 

Development

 

Changelog

1.2.1.1 (12/08/2013)

- Added Air Superiority for BF4

1.2.1.0 (12/07/2013)

- Added China Rising maps for BF4

- Added default ticket counts to hopefully support new map packs before the plugin is updated

- Added percentage limits for BF4 (min 75, max 400)

- Added option to set preset after map loads in BF4

1.2.0.1 (11/14/2013)

- fixed ticket count not always being calculated correctly at round end in BF4

1.2.0.0 (11/11/2013)

- added game detection

- added support for BF4, including all new maps and game modes

- ticket count is set between every round, even if it hasn't changed

- ticket count now defaults to 100% on unsupported game modes (Obliteration, etc.)

1.1.4.2 (03/14/2013)

- fixed Capture The Flag ticket percentage calculation

1.1.4.1 (03/12/2013)

- fixed Capture The Flag ticket calculation

1.1.4.0 (03/12/2013)

- added support for Air Superiority, Capture The Flag and new maps

1.1.3.2 (12/20/2012)

- fixed ticket calculation bug caused by changes in version 1.1.3.1

1.1.3.1 (12/12/2012)

- fixed ticket calculation bug when map list is changed

- added support for TDM Close Quarters on the XP4 maps

1.1.3.0 (12/04/2012)

- added support for Scavenger and new maps

1.1.2.0 (09/09/2012)

- added support for Tank Superiority

1.1.1.3 (07/20/2012)

- fixed minor bug that may have affected the ticket count for disabled game modes on startup

1.1.1.2 (07/10/2012)

- fixed minor bug caused by changes in PRoCon 1.3

1.1.1.1 (06/15/2012)

- fixed minor bug surrounding new game modes

1.1.1.0 (06/14/2012)

- added support for new game modes

1.1.0.0 (04/17/2012)

- added options to enable the plugin for each game mode individually

- fixed "Actual number of tickets" calculation for non-Conquest game modes

- minor compatibility changes due to PRoCon/R-20 updates

1.0.1.2 (01/05/2012)

- fixed wrong number of players detected when listplayers not called with 'all'

1.0.1.1 (12/19/2011)

- minor bug fix related to saving/restoring ticket values

- plugin will no longer send command to server if new ticket count is the same as last round

1.0.1.0 (12/14/2011)

- added defaults for Conquest Small maps, so "Actual number of tickets" is calculated properly in this mode

- added option to specify value for non-Conquest maps

1.0.0.0 (12/14/2011)

- initial version

 

Support

 

If you are having a problem, please follow the steps detailed in this thread:

showthread....t+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!

 

Download

 

Attached Files:

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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Originally Posted by falcontx*:

 

Well, I designed it with CQ64 in mind, so I only got those counts. So, although it will work with all game modes, the "Actual number of tickets" units option will only calculate properly for CQ64. I'll get the others added within the next couple of days.

 

The "Percentage (default)" units option will work properly for all game modes.

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

Originally Posted by Haemogod*:

 

Looking at the phrasing for "change tickets on conquest only_" Does this mean the plugin remembers the startup value that was in vars.gameModeCounter in order to return it to that value when a non conquest map is active?

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

Originally Posted by falcontx*:

 

Looking at the phrasing for "change tickets on conquest only_" Does this mean the plugin remembers the startup value that was in vars.gameModeCounter in order to return it to that value when a non conquest map is active?

No. It just sets non-Conquest maps to 100%.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by 0mni*:

 

It would be a nice feature if it could be setup so that you could specify a ticket size no matter how many players are in the server. I run a 1200 Ticket server, and I don't have some maps in rotation because I can't have 1200 tickets for them all.

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

Originally Posted by falcontx*:

 

It would be a nice feature if it could be setup so that you could specify a ticket size no matter how many players are in the server. I run a 1200 Ticket server, and I don't have some maps in rotation because I can't have 1200 tickets for them all.

It can. Just use "Actual number of tickets" for units and put the number you want (1200) in every "Tickets with [#] players" box. If every box has the same number, then the server will always keep that ticket count, regardless of the map and number of players.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

New version is up.

 

1.0.1.0 (12/14/2011)

- added defaults for Conquest Small maps, so "Actual number of tickets" is calculated properly in this mode

- added option to specify value for non-Conquest maps

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

Originally Posted by falcontx*:

 

hehe, I mean, instead of having to hit 1200, 64 times, I just type it in once :smile:

Ahh. Well, it does take some effort, but you only have to set it up once. If you, or someone else, really wants that feature, send me a donation and I'll get it added in.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Jee*:

 

nice, i could find how to install a plugin so i tryed myself.

 

now in procon in see on menu 'events' that plugin is loaded. But were can is see those settings you are talking about becaus i could find them.

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

Originally Posted by falcontx*:

 

It depends on whether the plugin is installed on your local copy of PRoCon or on your layer server. If it's local, there's a Plugins tab, and if it's on a layer server, there's a Parent Layer Control tab with a Plugins sub-tab.

 

Once you're in there, click the name of the plugin, then the Plugin Settings tab.

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

Originally Posted by Achyleus*:

 

I am not able to load the plugin, got the following error:

 

Compiling CAdaptiveTicketCount.cs... Errors or Warnings

[15:40:45 74] CAdaptiveTicketCount.cs (Line: 342, C: 30) CS0115: 'PRoConEvents.CAdaptiveTicketCount.OnMaplistGetRou nds(int, int)'*: aucune méthode appropriée n'a été trouvée pour la substitution

[15:40:45 74] CAdaptiveTicketCount.cs (Line: 346, C: 30) CS0115: 'PRoConEvents.CAdaptiveTicketCount.OnMaplistGetMap Indices(int, int)'*: aucune méthode appropriée n'a été trouvée pour la substitution

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

Originally Posted by falcontx*:

 

I am not able to load the plugin, got the following error:

 

Compiling CAdaptiveTicketCount.cs... Errors or Warnings

[15:40:45 74] CAdaptiveTicketCount.cs (Line: 342, C: 30) CS0115: 'PRoConEvents.CAdaptiveTicketCount.OnMaplistGetRou nds(int, int)'*: aucune méthode appropriée n'a été trouvée pour la substitution

[15:40:45 74] CAdaptiveTicketCount.cs (Line: 346, C: 30) CS0115: 'PRoConEvents.CAdaptiveTicketCount.OnMaplistGetMap Indices(int, int)'*: aucune méthode appropriée n'a été trouvée pour la substitution

You need to update to the latest version of PRoCon.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

Can it be setup so that we can choose which game modes to use this in?

 

Conquest T/F

Rush T/F

TDM T/F

 

Instead of Conquest only or all modes supported.

It's possible, but not a priority at the moment.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by codlink*:

 

Everytime the map changes the settings get reset to an enormous percentage.. Any thoughts?

 

latest versions of everything, and server is running Conquest.

 

Code:

"Tickets with 0 players" "2700"
"Tickets with 1 players" "2700"
"Tickets with 2 players" "2700"
"Tickets with 3 players" "2700"
"Tickets with 4 players" "2700"
"Tickets with 5 players" "2700"
"Tickets with 6 players" "2700"
"Tickets with 7 players" "2700"
"Tickets with 8 players" "2700"
"Tickets with 9 players" "2700"
"Tickets with 10 players" "2700"
"Tickets with 11 players" "2700"
"Tickets with 12 players" "2700"
"Tickets with 13 players" "2700"
"Tickets with 14 players" "3375"
"Tickets with 15 players" "3375"
"Tickets with 16 players" "3375"
"Tickets with 17 players" "3375"
"Tickets with 18 players" "3375"
"Tickets with 19 players" "3375"
"Tickets with 20 players" "3375"
"Tickets with 21 players" "3375"
"Tickets with 22 players" "4050"
"Tickets with 23 players" "4050"
"Tickets with 24 players" "4050"
"Tickets with 25 players" "4050"
"Tickets with 26 players" "4050"
"Tickets with 27 players" "4050"
"Tickets with 28 players" "5400"
"Tickets with 29 players" "5400"
"Tickets with 30 players" "5400"
"Tickets with 31 players" "5400"
"Tickets with 32 players" "5400"
"Tickets with 33 players" "121500"
"Tickets with 34 players" "121500"
"Tickets with 37 players" "121500"
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

Everytime the map changes the settings get reset to an enormous percentage.. Any thoughts?

 

latest versions of everything, and server is running Conquest.

It's a known bug, usually caused by clicking the "Reload plugins" link in PRoCon. I'm releasing a new version today that will solve that problem.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by falcontx*:

 

New version is up.

 

SET "UNITS USED FOR TICKET COUNT" TO "ACTUAL NUMBER OF TICKETS" BEFORE YOU UPGRADE! If you don't, your ticket percentage will be multiplied by 3 when the new version loads. Once you have upgraded, you can leave it set on Percentage.

 

1.0.1.1 (12/19/2011)

- minor bug fix related to saving/restoring ticket values

- plugin will no longer send command to server if new ticket count is the same as last round

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

Originally Posted by WaxMyCarrot*:

 

Hey Falcon.. you should PM Phogue or whoever to see about getting your plugin listed in the Packages page so that when you release an update people can just click the Update option. Keep up the good work.

* 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.