Conquer Club

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.

Adding player spoils to gamelist API

Postby runewake2 on Thu Mar 22, 2012 11:34 pm

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.
User avatar
Corporal 1st Class runewake2
 
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Location: Betwixt Two Curly Braces

Re: Adding player spoils to gamelist API

Postby Dako on Fri Mar 23, 2012 5:00 am

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
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: Adding player spoils to gamelist API

Postby runewake2 on Fri Mar 23, 2012 11:33 am

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.
User avatar
Corporal 1st Class runewake2
 
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Location: Betwixt Two Curly Braces

Re: Adding player spoils to gamelist API

Postby chapcrap on Fri Mar 23, 2012 4:30 pm

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.
Lieutenant chapcrap
 
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City

Re: Adding player spoils to gamelist API

Postby runewake2 on Fri Mar 23, 2012 5:01 pm

oh, my bad, seems the ones I was looking at had no spoils. Then I ask again for the numbers.
User avatar
Corporal 1st Class runewake2
 
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Location: Betwixt Two Curly Braces

Re: Adding player spoils to gamelist API

Postby ben1212 on Sat Mar 24, 2012 10:59 am

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
User avatar
Captain ben1212
 
Posts: 40
Joined: Sat May 14, 2011 11:02 am

Re: Adding player spoils to gamelist API

Postby ThrushAAX on Sat Mar 24, 2012 11:20 am

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.
Colonel ThrushAAX
 
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: Adding player spoils to gamelist API

Postby SaviorShot on Sat Mar 24, 2012 5:30 pm

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
Colonel SaviorShot
 
Posts: 258
Joined: Fri Aug 27, 2010 7:32 pm

Re: Adding player spoils to gamelist API

Postby runewake2 on Sat Mar 24, 2012 8:46 pm

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
Corporal 1st Class runewake2
 
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Location: Betwixt Two Curly Braces

Re: Adding player spoils to gamelist API

Postby runewake2 on Tue Sep 11, 2012 7:25 pm

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
User avatar
Corporal 1st Class runewake2
 
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Location: Betwixt Two Curly Braces


Return to Tools Suggestions

Who is online

Users browsing this forum: No registered users