Extension-specific high scores

General discussion about anything related to Transcendence.
Post Reply
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

I've just made an update to the Multiverse to allow separate high score tables for each extension. Here is how it works:

1. When a game is posted to the server, the high-score is indexed under every extension/adventure included in that game. For example, if you play a game with the Corporate Command expansion the high-score is index under both the adventure (Stars of the Pilgrim) and the extension (Corporate Command).

2. On the Multiverse, under each catalog entry, there is a High Scores page which shows the high scores for that extension. For example:

Corporate Command: http://multiverse.kronosaur.com/transEn ... HighScores
Osaka: http://multiverse.kronosaur.com/transEn ... HighScores

4. Note that for the Osaka extension, a game will be included in the high-score list when the extension is selected (included in the game), even if you don't actually use the Osaka player ship. In a later enhancement I should deal with that a little better.

5. For adventures, the high scores include any game regardless of extension. For example, for Stars of the Pilgrim you'll see scores using Corporate Command mixed in with vanilla. There currently isn't a way to display a table just for the vanilla adventure, but that can be a future enhancement also.

6. Libraries do not get their own high scores; only adventures and expansions.

7. You may access these high scores via JSON API. For example, here are the high-scores for Corporate Command:
http://multiverse.kronosaur.com/api/lis ... 3A00800000
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

This is awesome. You might want to make the IDs easier to input (perhaps url rewrite or something) that doesn't use url encoding for users to view since entering the unid might be a bit complex for a player who simply downloads their highscore

Is there a list of official extensions I can parse to download the json api feeds together?
Image
Image
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Ttech wrote:This is awesome. You might want to make the IDs easier to input (perhaps url rewrite or something) that doesn't use url encoding for users to view since entering the unid might be a bit complex for a player who simply downloads their highscore

Is there a list of official extensions I can parse to download the json api feeds together?
I'm hoping players don't have to enter these URLs--they can just get it from the catalog.

If you want a list of all (Transcendence) entries in the catalog, use the following:

http://multiverse.kronosaur.com/api/lis ... pansion%5D

[I should probably not output development info unless you're signed in, but other than that this should work.]
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Great to see this made it in!
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
NMS
Militia Captain
Militia Captain
Posts: 569
Joined: Tue Mar 05, 2013 8:26 am

Could we have some more information about this?

-What can we query? Username works, but score and epitaph don't seem to.
- Can we adjust the number of results? It seems to be limited to 10.
- Can it format them like the high score tables, with links to the game records?
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

NMS wrote:Could we have some more information about this?

-What can we query? Username works, but score and epitaph don't seem to.
- Can we adjust the number of results? It seems to be limited to 10.
- Can it format them like the high score tables, with links to the game records?
The API is available, I have a bot that currently stores all the information and creates long term stats but doesn't have a frontend.
Its currently a JSON formated api directly, the table is generated elsewhere for me at least.
Image
Image
Post Reply