Adding player spoils to gamelist API

Have suggestion for a new or old tool/enhancement? Come on in!

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
runewake2
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Gender: Male
Location: Betwixt Two Curly Braces
Contact:

Adding player spoils to gamelist API

Post by runewake2 »

This would be an extremely useful addition. Not sure what else to say.

It would add that extra point of detail to my app that it doesn't have right now.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: Adding player spoils to gamelist API

Post by Dako »

Interesting, but either that has to be session protected, or we will be able to get info of other people spoils which is not good at all.
Image
User avatar
runewake2
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Gender: Male
Location: Betwixt Two Curly Braces
Contact:

Re: Adding player spoils to gamelist API

Post by runewake2 »

I just want a number, not the actual cards. As the number is publicly available this should not violate anything.

Simply knowing the number of cards a player owns can drastically effect my strategy, so it would be nice to be able to view this.

Edit: I take back what I just said, it turns out spoil numbers are not publicly available.
chapcrap
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Gender: Male
Location: Kansas City

Re: Adding player spoils to gamelist API

Post by chapcrap »

runewake2 wrote:I just want a number, not the actual cards. As the number is publicly available this should not violate anything.

Simply knowing the number of cards a player owns can drastically effect my strategy, so it would be nice to be able to view this.

Edit: I take back what I just said, it turns out spoil numbers are not publicly available.

They are available to the public. I can look in games I'm not in right now and see how many spoils people have.
User avatar
runewake2
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Gender: Male
Location: Betwixt Two Curly Braces
Contact:

Re: Adding player spoils to gamelist API

Post by runewake2 »

oh, my bad, seems the ones I was looking at had no spoils. Then I ask again for the numbers.
User avatar
ben1212
Posts: 40
Joined: Sat May 14, 2011 11:02 am

Re: Adding player spoils to gamelist API

Post by ben1212 »

it would be useful to see what colour of spoils that the other players have. But if you know your opponents spoils in a nuke game, then its not as fun
ThrushAAX
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: Adding player spoils to gamelist API

Post by ThrushAAX »

This makes quite a bit of sense. Maybe adding another attribute to the player tag in the gamelist response for the number of cards would work and be simple.
User avatar
SaviorShot
Posts: 260
Joined: Fri Aug 27, 2010 7:32 pm

Re: Adding player spoils to gamelist API

Post by SaviorShot »

I just want an invite warning. And a back button. Spoils u can always see once u enter the game. This app is awesome so far. Saves me so much time not having I log in every time.
User avatar
runewake2
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Gender: Male
Location: Betwixt Two Curly Braces
Contact:

Re: Adding player spoils to gamelist API

Post by runewake2 »

Question Mark. My app is not available yet, it is currently undergoing certification by Microsoft. I do not make, nor have anything to do with the IPhone or Android apps for CC.

Also ben1212. showing colors would be very bad. You can't tell if others can play their spoils or not, simple adding an attribute that would contain the spoils would be great and shouldn't be too difficult. Perhaps displaying "NS" or "-1" if the player is playing a game without spoils, though I guess I could just read a few other attributes...
User avatar
runewake2
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Gender: Male
Location: Betwixt Two Curly Braces
Contact:

Re: Adding player spoils to gamelist API

Post by runewake2 »

I'm going to bump this, because I feel it's kind of important.

All I am looking for is changing the output of the gamelist API to include each players spoils as an attribute to that player. So that instead of this:

Code: Select all

<players>
<player state="Waiting">
567199
</player>
<player state="Waiting">
427135
</player>
<player state="Lost">
577500
</player>
<player state="Waiting">
591399
</player>
<player state="Waiting">
577281
</player>
<player state="Ready">
582395
</player>
</players>


It would return something like this:

Code: Select all

<players>
<player state="Waiting" spoils="4">
567199
</player>
<player state="Waiting" spoils="5">
427135
</player>
<player state="Lost" spoils="0">
577500
</player>
<player state="Waiting" spoils="3">
591399
</player>
<player state="Waiting" spoils="2">
577281
</player>
<player state="Ready" spoils="3">
582395
</player>
</players>
Conquer Club Mobile Apps: Conqueror for Windows Phone and Windows 8
Conqueror's going Open Source: Conqueror on CodePlex
Post Reply

Return to “Tools Suggestions”