Page 1 of 1

ringgamesplaying cmd

Posted: Sun Jun 10, 2012 8:29 am
by madcow
I used to use this command in 2.x version and had no problem,but since the version 3.x, i can't able to use it, can you double check?

the command is:
$playing = "Password=" . $pw . "&Command=RingGamesPlaying&Fields=Name,Status";
There is no "Fields" parameter for that command. You need a "Name" parameter that specifies the name of the table. From the API docs:

RingGamesPlaying - retrieves the list of seated players for the ring game specified by the Name parameter. A sample response may look something like this:

Result=Ok
Player1=Aces123
Chips1=430
Net1=-70
Player2=BoneCrusher
Chips2=650
Net2=150
Count=2