hxe wrote:So I ripped off the code, made some changes to my environment and realized a few things.
2) The code above only awards the bounties to people knocked out. The winner actually "loses" his bounty to the "EntryFee" account. It has to be either credited back manually or awarded through more code.
Oh... I skipped that part because I'm using Telegram instead of Discord.
I wasn't aware that this awarded the winner back their fee too.
I'll rip that part off too
hxe wrote:
I can't fix 1 at all due to the lack of callbacks for rebuys.
Asked Kent in another thread about a callback for rebuys.
Turns out I can poll the balance event which would work for all situations that aren't bounties.
Unless I'm missing something (which I very well could be) there's no way to poll the "reason" a person rebought.
So there's still no way to fix 1 despite having a callback for a rebuy since no one is actually "out" until they finish rebuying.
So it looks like freezeouts only until this is native.
It appends the words "rebuy" and "add-on" to the end of the tourney name in the "Source" field. Perhaps that could be used for now?
I actually thought about that but unfortunately there's no easy way to parse out who "got" the guy.
There's the TournamentsPlaying but I'd have to continually record the chip stacks of everyone and then find the guy with the "rebuy" and figure out who got him.
hxe wrote:
I actually thought about that but unfortunately there's no easy way to parse out who "got" the guy.
There's the TournamentsPlaying but I'd have to continually record the chip stacks of everyone and then find the guy with the "rebuy" and figure out who got him.
If KO events is turned on in the callback system you should get this in the callback file ...
Event = TourneyKnockout
Name = FREEROLL 2 HIVE Afternoon NLH
Table = 2
Player = Player1
Bounty = Player2
Hand = 117031-23
Time = 2020-04-30 13:21:58