Author Topic: Variables for SummaryExport  (Read 1403 times)

mcfrojd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Variables for SummaryExport
« on: December 08, 2012, 06:36:13 AM »
Is there a variable for number of players that bought in to the tournament that i can ad to my SummaryExport.html?

Tried <players> <Buyins> <buyins> with no luck

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Variables for SummaryExport
« Reply #1 on: December 08, 2012, 04:30:22 PM »
<buyinscount>

The list of available tokens is in the user manual:

35.6      Summary Export
Default template file: SummaryExport.html
 
timestamp: The current date and time.
eventname: The tournament name.
description: The tournament description.
buyins: The total amount paid by all players to buy-in to the tournament.
buyinscount: The total number of buy-ins.
rebuys: The total amount paid for all rebuys.
rebuyscount: The total number of rebuys.
addons: The total amount paid for all add-ons.
addonscount: The total number of add-ons.
totaltakein: The total amount of money collected from players.
totaltakeincount: The total number of buy-ins, rebuys, and add-ons.
buyinsrake: The amount of money raked from buy-ins.
rebuysrake: The amount of money raked from rebuys.
addonsrake: The amount of money raked from add-ons.
fixedrake: The amount of fixed rake.
totalrake: The total amount of money raked.
housecontribution: The amount of money contributed to the pot by the house.
preguaranteepot: The total amount of money available for the pot (from buy-ins, rebuys, and add-ons) before any house guaranteed contribution is added.
guaranteedpot: The amount that the house guarantees the pot will be.  If the sum of the money collected from players and the house contribution minus the rake is less than the guaranteed pot, the house will make up the difference.
houseadds: The amount that must be added (typically by the house) to the pot in order to reach the guaranteed pot amount.
totalpot: The total amount in the pot (from buy-ins, rebuys, and add-ons, plus any house contribution).
prizesvariable: The total amount of prize pool money allocated to variable prizes.
prizesvariablecount: The total number of variable prizes.
prizesfixed: The total amount of the prize pool money allocated to fixed prizes.
prizesfixedcount: The total number of fixed prizes.
prizesnonmonetarycount: The number of non-monetary prizes.
totalprizes: The sum of the prizes allocated.
totalprizescount: The total number of prizes allocated.
bountiesbought: The sum of all bounty chips bought.
bountiesboughtcount: The total number of bounty chips bought.
bountieswon: The sum of all bounty chips won.
bountieswoncount: The total number of bounty chips won
bountieskept: The sum of all bounty chips bought and not won.  A player keeps their bounty chip when they either win the tournament, or they are busted out by a player who did not purchase a bounty chip.
bountieskeptcount: The total number of bounty chips bought and not won
starttime: The time that the tournament started.
endtime: The time that the tournament ended.
firstplayerout: The first player to bust out of the tournament.
winner: The winner of the tournament.
actionsummary: The list of actions that have occurred in the tournament.

mcfrojd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Re: Variables for SummaryExport
« Reply #2 on: March 25, 2013, 06:13:41 AM »
Any chance that this will work with summary export?

<tr>
<td class="fieldname">GP Rake:</td>
<td class="rake">(<totalRake rakeName="GP Rake">)</td>
</tr>

The <totalRake> works fine but i would really like to be able to show all my 4 Rakes on the export

// McFrojd

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Variables for SummaryExport
« Reply #3 on: March 25, 2013, 01:06:02 PM »
Not currently, no.  The rakes aren't broken out that way, and the tokens, while similar, don't work the same way they do in the layout.  But it might be possible to add the rakes in a numbered fashion: <buyinsrake1>, <buyinsrake2>, etc

mcfrojd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Re: Variables for SummaryExport
« Reply #4 on: March 25, 2013, 03:34:46 PM »
Well that would work for me if it was added..
// McFrojd