Callbacks for when players takes or leaves a seat

Add your suggestions for improving Poker Mavens
Post Reply
enkindle
Posts: 9
Joined: Thu Jul 11, 2013 11:03 pm

Callbacks for when players takes or leaves a seat

Post 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.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks for when players takes or leaves a seat

Post 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.
enkindle
Posts: 9
Joined: Thu Jul 11, 2013 11:03 pm

Re: Callbacks for when players takes or leaves a seat

Post 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.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks for when players takes or leaves a seat

Post 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.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks for when players takes or leaves a seat

Post 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/viewtop ... f=7&t=2223
Post Reply