Callbacks for when players takes or leaves a seat
Callbacks for when players takes or leaves a seat
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.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Callbacks for when players takes or leaves a seat
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 wrote:I would like to more closely track the when\how often players join and leave games.
Re: Callbacks for when players takes or leaves a seat
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.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Callbacks for when players takes or leaves a seat
Actually it's still triggered. It'll show a "Change" of 0.enkindle wrote:If a player leaves a table after having lost all their money though, that would not trigger it
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Callbacks for when players takes or leaves a seat
This has now been added to 5.03enkindle wrote:I would like to more closely track the when\how often players join and leave games.
http://www.briggsoft.com/forums/viewtop ... f=7&t=2223