Jump to content
ImportBot

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

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.

Share this post


Link to post

Originally Posted by Haemogod*:

 

Default ticket counts for all the new maps.*

 

Hope this helps people reading this. Though i presume you had this info in order to make the plugin falcon, good work again!


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by Haemogod*:

 

I see an all other maps box in this plugins future!


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

Share this post


Link to post

Originally Posted by 0mni*:

 

I was just thinking of something like this :biggrin:


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by 0mni*:

 

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


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by Jee*:

 

sorry but i dont see any of those 2


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

Share this post


Link to post

Originally Posted by Jee*:

 

maybe i installed it wrong, is there not a topic for how to install plugins?

i downloaded the fille and puted them in to my procon map


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

Share this post


Link to post

Originally Posted by falcontx*:

 

maybe i installed it wrong, is there not a topic for how to install plugins?

i downloaded the fille and puted them in to my procon map

Please post your question in the PRoCon Support forum:

Plugins


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

Share this post


Link to post

Originally Posted by Jee*:

 

owke lol, setting hide local pluigins was on :biggrin:


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

Share this post


Link to post

Originally Posted by Waterboyeee*:

 

This is going to be an invaluable plugin. Thank you for your hard work. I will get it installed and checked out here within a few days.

 

Thanks again


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

Share this post


Link to post

Originally Posted by QUACK-Major-Pain*:

 

Ver. needs updating in the subject line.


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

Share this post


Link to post

Originally Posted by falcontx*:

 

Ver. needs updating in the subject line.

Fixed. Thanks.

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

Share this post


Link to post

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.

Share this post


Link to post

Originally Posted by QUACK-Major-Pain*:

 

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.


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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • 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

       
      • 10 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.

       
      • 6 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.