tournament api option
-
- Posts: 41
- Joined: Sat Feb 12, 2011 11:32 pm
tournament api option
Hi kent is posible when to ádd a user in a tourney via api not apply the buy-in ?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: tournament api option
Why would you want to do that? If they unregistered they would get chips back that they didn't put it.ddominguez wrote:Hi kent is posible when to ádd a user in a tourney via api not apply the buy-in ?
-
- Posts: 41
- Joined: Sat Feb 12, 2011 11:32 pm
Re: tournament api option
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.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: tournament api option
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.ddominguez wrote:i think to add the chips in the moment to register in the tourney, and remove these chips if the user unregister.