Page 1 of 1

getting player seat and number

Posted: Tue Nov 03, 2015 1:32 am
by aminwxy
hi
i have 2 question.
first one :
we have a php website Connect to poker mavens,
we need to find that, when Player login to website, see the number of his Filled Seats and which game and tournament he is on that,
for example :
player name : john
player seat on : 12
player seat in game : holdem 12

second one :
if we use ifarme to show the movens game in a php page like game.php
i write a code to get active tables to me , so the code give me this result :

omaha 23 #5000-1000
holdem 14 #2000-4000

i need the code that if the Player click on one of these omaha or holdem, show that table and can Play game inside another tables.

thank you

Re: getting player seat and number

Posted: Tue Nov 03, 2015 10:49 am
by Kent Briggs
See the "Player Search" example on the API Examples page:
http://www.briggsoft.com/docs/pmavens/A ... yer_search
You basically need to loop through all the ring tables and tournaments, calling RingGamesPlaying and TournamentsPlaying to get the list of players.

To open a table after the client is already loaded, call RingGamesOpen or TournamentsOpen in the API. To open one or more during the load, you can specify them in the URL parameters. See the "Client Startup Parameters" section of the help file:
http://www.briggsoft.com/docs/pmavens/T ... tartup.htm