tournament api option

For general discussion of the Poker Mavens software
Post Reply
ddominguez
Posts: 41
Joined: Sat Feb 12, 2011 11:32 pm

tournament api option

Post by ddominguez »

Hi kent is posible when to ádd a user in a tourney via api not apply the buy-in ?
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: tournament api option

Post by Kent Briggs »

ddominguez wrote:Hi kent is posible when to ádd a user in a tourney via api not apply the buy-in ?
Why would you want to do that? If they unregistered they would get chips back that they didn't put it.
ddominguez
Posts: 41
Joined: Sat Feb 12, 2011 11:32 pm

Re: tournament api option

Post by ddominguez »

well the primary idea is to create a system ticket , for example for enter in a tourney an user can use 3 ways , play money, poker points, or ticket, suppose the tourney id #12345 has a buy-in 1000+100 play money chips, but an user win a ticket for this tourney, in this case the system has no to debit the balance, i think to add the chips in the moment to register in the tourney, and remove these chips if the user unregister.
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: tournament api option

Post by Kent Briggs »

ddominguez wrote:i think to add the chips in the moment to register in the tourney, and remove these chips if the user unregister.
Yes, that's the way you would have to do it now. It would take a lot of modifications in the register, unregister, and prizepool calculation routines to allow for different players to have different buy-ins. Plus changes in the console interface, remote admin interface, and API.
Post Reply