JSON output for RingGamesPlaying and TournamentsPlaying

Report bugs found in Poker Mavens

JSON output for RingGamesPlaying and TournamentsPlaying

Postby Raventhon » Tue Jul 29, 2014 5:42 pm

JSON output for RingGamesPlaying and TournamentsPlaying is non-coforming in certain cases and breaks most parsers.

When using the RingGamesPlaying and TournamentsPlaying API commands to retrieve the data for currently playing players, some cases can cause non-conforming JSON to be returned. In the case of RingGamesPlaying, when ClientNetChips is "No", the resulting JSON output for that data is '"Net":[,,,,,]' which is invalid, and should be something like '"Net":[0,0,0,0,0]' or some other placeholder to indicate a null or not-applicable value.

When using the TournamentsPlaying command, a similar thing occurs once players are out the tournament, the table JSON output is '"Table":[1,1,1,,]' and should probably be '"Tables":[1,1,1,0,0]' or some other placeholder to indicate someone is knocked out and no longer at a table.
Raventhon
 
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: JSON output for RingGamesPlaying and TournamentsPlaying

Postby Kent Briggs » Tue Jul 29, 2014 5:47 pm

Thanks, I'll take a look at it.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3765
Joined: Wed Mar 19, 2008 8:47 pm

Re: JSON output for RingGamesPlaying and TournamentsPlaying

Postby Kent Briggs » Tue Aug 05, 2014 5:08 pm

Now fixed in 4.26
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3765
Joined: Wed Mar 19, 2008 8:47 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 4 guests

cron