Extension-specific high scores

General discussion about anything related to Transcendence.
Post Reply
george moromisato
Developer
Developer
Posts: 2997
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: 2997
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
Aury
Fleet Admiral
Fleet Admiral
Posts: 5421
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.

Great to see this made it in!
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
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