getting player seat and number

For general discussion of the Poker Mavens software
Post Reply
aminwxy
Posts: 17
Joined: Wed Apr 22, 2015 12:35 pm

getting player seat and number

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

Re: getting player seat and number

Post 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
Post Reply