Tournament Square Update! |
Post Reply
|
Page <12345 7> |
| Author | |
Sheza
Forum Warrior
Joined: 16 Oct 2012 Location: Kumala Status: Offline Points: 325 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 Apr 2016 at 20:52 |
|
i got all excited for GM Stormcrow post ....and it was about cake. sigh...
|
|
|
If Horses don't go to Heaven when they die. then I want to go where they go.
|
|
![]() |
|
GM Stormcrow
Moderator Group
GM Joined: 23 Feb 2010 Location: Illyria Status: Offline Points: 3820 |
Post Options
Thanks(2)
Quote Reply
Posted: 06 Apr 2016 at 17:12 |
|
I like cake.
That is all. SC
|
|
![]() |
|
Cilcain
Wordsmith
Joined: 13 Oct 2012 Status: Offline Points: 106 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 Apr 2016 at 13:45 |
Diva - I am rubbish at baking cakes. And friends never come around to my house for a cup of tea and amateurish discourse on APIs. You win. ![]() C
|
|
![]() |
|
Diva
Forum Warrior
Joined: 20 Dec 2011 Location: United States Status: Offline Points: 416 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 Apr 2016 at 17:22 |
|
I am very limited in what was .. ok, all the way limited in what was said below. But I am grateful to know there are such great geeks all about in Illyriad that can answer these type of questions and make it seem effortless. SUCH BRAINIACS. I thank you!! Now can I teach you to bake a cake?? I truly could!! LOL ![]()
|
|
|
"Um diva.... you are sort of acting like a .... diva...." - PhoenixFire
|
|
![]() |
|
Rill
Postmaster General
Player Council - Geographer Joined: 17 Jun 2011 Location: California Status: Offline Points: 6903 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Apr 2016 at 19:55 |
|
Awesome news, this removes another barrier to tournament participation.
/me sighs I guess this means VTX will win Larn yet again ...
|
|
![]() |
|
Cilcain
Wordsmith
Joined: 13 Oct 2012 Status: Offline Points: 106 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Apr 2016 at 14:15 |
|
That's great news - thanks SC.
|
|
![]() |
|
Mahaut
Wordsmith
Joined: 20 Jan 2012 Location: North West UK Status: Offline Points: 173 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Apr 2016 at 14:14 |
|
Many thanks Stormy, very much appreciated.
|
|
|
|
![]() |
|
Solanar
Forum Warrior
Joined: 11 Jan 2015 Status: Offline Points: 312 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Apr 2016 at 13:58 |
|
Kudos for that! Thanks SC
|
|
![]() |
|
GM Stormcrow
Moderator Group
GM Joined: 23 Feb 2010 Location: Illyria Status: Offline Points: 3820 |
Post Options
Thanks(2)
Quote Reply
Posted: 04 Apr 2016 at 13:49 |
Indeed. I'm going to be looking into this (providing a new, tournament-square-specific Key_Type and API_Key) sometime this week. SC
Edited by GM Stormcrow - 04 Apr 2016 at 13:52 |
|
![]() |
|
Cilcain
Wordsmith
Joined: 13 Oct 2012 Status: Offline Points: 106 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Apr 2016 at 12:30 |
Dung - yes, you're spot on. I believe there is an easy way to do this (for the Devs). The existing mechanism for accessing the API (i.e. the bit of code on the Illy servers) requires two parameters (other than the server name) - these are a Key_Type and the API_Key. The API_Key is the long string that identifies the player's data that is requested - and is specific to each Key_Type. The Key_Type is a shorter string (e.g. COMRP) for Combat Reports, that defines the content of the data requested. A player must generate an API_Key for each type of Key_Type. Presumably, the actual API accessed on the Illy servers is the same API regardless of the request - it's just a case of filtering/authenticating to determine what data is passed back to the requester. Therefore, this model supports the introduction of additional Key_Types (for example "Tourney Combats": TCOMRP). By calling the API with this Key_Type, and an associated valid API_Key, the API could pass back the required data - which in this case should just be a subset of the data returned under the COMRP Key_Type. In development terms, the API (or API broker service if used) would need a small code change to handle the new Key_Type. This would be very similar to the code for handling the COMRP call, but with a few data fields deleted - the XML schema would not need to change, neither would the core API logic. Further code could be added to just return reports from combats on the set of tourney square co-ords - but that would just be icing on the cake. A UI change would also be required to add a fourth button to the API Key screen, labelled something like "Tourney Combat Reports" - but that would mostly just copy the logic/code from the other three buttons. I expect that accommodating this type of change request with little effort is exactly why the API was designed this way in the first place.... Cilcain |
|
![]() |
|
Post Reply
|
Page <12345 7> |
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |