API Request: include start time in gamelist queries

Discuss developing tools and get details on Conquer Club's API.
Forum rules
Please read the Community Guidelines before posting.

API Request: include start time in gamelist queries

Postby barrycarter on Tue Sep 21, 2010 6:22 pm

Any chance CC could include the game start time in response to a
gamelist query?

The XML event logs don't include this, but the information IS
available, since the HTML game logs have it.

You can get the end time by looking at the "won the game" event, but
there's no such trick for start time.
Sergeant 1st Class barrycarter
 
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am
Medals: 7
Standard Achievement (2) Doubles Achievement (2) Manual Troops Achievement (2) General Achievement (1)

Re: API Request: include start time in gamelist queries

Postby ender516 on Tue Sep 21, 2010 8:52 pm

What time do you want to see, the time when the game is initialized (due to the last empty slot being filled), or the time when the first player begins his first turn?
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: API Request: include start time in gamelist queries

Postby barrycarter on Wed Sep 22, 2010 12:57 am

Ideally, both, but if I had to choose one: game initialization time.

We could then answer questions like "what's the highest number of games I've had 'open' at one time?", since most people include "initialized-but-no-turns-taken" as "open". Of course, most people joining a game that now becomes full take their turn pretty quickly (?).

Ideally, the game creation time (when the creator made it) would be good too, but, of the 3 choices, initialization time is probably the best.
Sergeant 1st Class barrycarter
 
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am
Medals: 7
Standard Achievement (2) Doubles Achievement (2) Manual Troops Achievement (2) General Achievement (1)

Re: API Request: include start time in gamelist queries

Postby ender516 on Wed Sep 22, 2010 8:35 am

In a sequential game, the last person to join a game is not necessarily the first one eligible to play, so that person may not even be online to know that the game is ready.
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: API Request: include start time in gamelist queries

Postby barrycarter on Wed Sep 22, 2010 10:52 am

Yup, you're right. OK, I still think the game initialization time is what most people count as the "start" of the game, so, if I had to choose one, that would be it.
Sergeant 1st Class barrycarter
 
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am
Medals: 7
Standard Achievement (2) Doubles Achievement (2) Manual Troops Achievement (2) General Achievement (1)

Re: API Request: include start time in gamelist queries

Postby ender516 on Wed Sep 22, 2010 12:16 pm

I feel that I should point out that despite my coloured name as a member of the Tech Team, I have little more influence over such changes than you do. I asked my question mostly because I thought those who can make such changes would want the answer. I will see if I can draw more attention to your request.
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: API Request: include start time in gamelist queries

Postby barrycarter on Wed Sep 22, 2010 10:41 pm

Given permission, I'd love to simply download the full logs (HTML) from all games, but given that there are over 6 million of them, I'm guessing that's not going to happen :)
Sergeant 1st Class barrycarter
 
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am
Medals: 7
Standard Achievement (2) Doubles Achievement (2) Manual Troops Achievement (2) General Achievement (1)

Re: API Request: include start time in gamelist queries

Postby ender516 on Wed Sep 22, 2010 11:48 pm

What on earth would you do with all that?
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: API Request: include start time in gamelist queries

Postby barrycarter on Thu Sep 23, 2010 3:18 pm

Create a really big database to answer many of the questions in the other threads.

Whose played the most games at a time. "What's my best map"? "Which opponent am I best against?" etc etc etc

I'm already doing this for my own games, but there might be some players out there interested in other games.
Sergeant 1st Class barrycarter
 
Posts: 51
Joined: Sat Jul 31, 2010 10:42 am
Medals: 7
Standard Achievement (2) Doubles Achievement (2) Manual Troops Achievement (2) General Achievement (1)

Re: API Request: include start time in gamelist queries

Postby Dako on Fri Sep 24, 2010 8:58 am

Basically, this project is an ultimate map/user/game/clan rank system :D.
Image
User avatar
Colonel Dako
 
Posts: 3946
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia
Medals: 116
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (3) Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Battle Royale Achievement (1) Ratings Achievement (3) Tournament Achievement (14) General Achievement (24)
Clan Achievement (20) General Contribution (20)


Return to Tools Development

Who is online

Users browsing this forum: No registered users

Login