Setting up a Callback event
Setting up a Callback event
Is it possible to set up a callback event for when a user sits at a table and for when a user leaves a table? And have the callback include the user ID and table\seat they just sat at or left?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Setting up a Callback event
"Ring game join" and "Ring game leave" in the Callback Settings do exactly that. It doesn't include the seat number but you can call RingGamesPlaying in the API if you need it.Bojik wrote:Is it possible to set up a callback event for when a user sits at a table and for when a user leaves a table? And have the callback include the user ID and table\seat they just sat at or left?
Re: Setting up a Callback event
Will ring game callback work for tournament as well?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Setting up a Callback event
Tournaments have their own set of callbacks. You can see all of these just by looking at the "Callback Events" group of settings on the System tab.Bojik wrote:Will ring game callback work for tournament as well?
Re: Setting up a Callback event
I see those but do not see one for tracking a player sitting at or leaving a table. I need the callback to return something like 'Player A, NLH tourney #x, table 3'. So I can track what table each player is at like the leave\join for ring games. And get updates as the tourney progress and players are moved from table to table.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Setting up a Callback event
A player will only get moved to another table for balancing after a knockout. So you could trigger on the knockout event and then call TournamentsPlaying to see where everyone is seated. The move won't be immediate, however. Might be better to track the Hand event instead.Bojik wrote:I see those but do not see one for tracking a player sitting at or leaving a table. I need the callback to return something like 'Player A, NLH tourney #x, table 3'. So I can track what table each player is at like the leave\join for ring games. And get updates as the tourney progress and players are moved from table to table.
Re: Setting up a Callback event
Sending you a quick email.