Callbacks for when players takes or leaves a seat

Add your suggestions for improving Poker Mavens

Callbacks for when players takes or leaves a seat

Postby enkindle » Wed Jun 08, 2016 3:22 am

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

Re: Callbacks for when players takes or leaves a seat

Postby Kent Briggs » Wed Jun 08, 2016 9:48 am

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks for when players takes or leaves a seat

Postby enkindle » Wed Jun 08, 2016 8:52 pm

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

Re: Callbacks for when players takes or leaves a seat

Postby Kent Briggs » Thu Jun 09, 2016 9:44 am

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 - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Callbacks for when players takes or leaves a seat

Postby Kent Briggs » Sat Jun 11, 2016 3:37 pm

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
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm


Return to Wish List

Who is online

Users browsing this forum: No registered users and 4 guests

cron