Page 1 of 1

Callbacks for when players takes or leaves a seat

PostPosted: Wed Jun 08, 2016 3:22 am
by enkindle
I would like to more closely track the when\how often players join and leave games. I could just poll every table for players once a minute but I would really like to be more curate than that, which ideally would use callbacks.

Re: Callbacks for when players takes or leaves a seat

PostPosted: Wed Jun 08, 2016 9:48 am
by Kent Briggs
enkindle wrote:I would like to more closely track the when\how often players join and leave games.


I'll look into adding that. In the mean time, you could use the Balance event since joining or leaving a ring table would trigger it. The Source parameter tells you the table name. Note that a rebuy would also trigger that event.

Re: Callbacks for when players takes or leaves a seat

PostPosted: Wed Jun 08, 2016 8:52 pm
by enkindle
Ahh, I didn't think of the Balance callback. If a player leaves a table after having lost all their money though, that would not trigger it, though counting balance going to 0 would pretty much count as the same thing.

Re: Callbacks for when players takes or leaves a seat

PostPosted: Thu Jun 09, 2016 9:44 am
by Kent Briggs
enkindle wrote:If a player leaves a table after having lost all their money though, that would not trigger it


Actually it's still triggered. It'll show a "Change" of 0.

Re: Callbacks for when players takes or leaves a seat

PostPosted: Sat Jun 11, 2016 3:37 pm
by Kent Briggs
enkindle wrote:I would like to more closely track the when\how often players join and leave games.


This has now been added to 5.03

http://www.briggsoft.com/forums/viewtopic.php?f=7&t=2223