Leaderboards - Simple leaderboard data extraction | Manialink by BigBang1112

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
BigBang1112
Posts: 372
Joined: 20 Jul 2015, 12:44
Location: Český Krumlov, Czech Republic
Contact:

Leaderboards - Simple leaderboard data extraction | Manialink by BigBang1112

Post by BigBang1112 » 24 Dec 2019, 02:04

Image
Image

Welcome to Leaderboards!
Leaderboards is a manialink project focused on simple leaderboard data extraction.

As extracting leaderboard records without user's (extractor's) identity is nearly impossible, the manialink tries to solve this with ingame requests - those from official title packs where you can view or race against world records and such. The project is being developed by BigBang1112.

You may know this manialink name from the past. I made a prototype of Leaderboards back in August, but unfortunately, I was too busy with Challenge to continue. 4 months later though, I'm safe to say that this is THE leaderboards manialink I wanted to code back then.

The manialink is based in a folder environment.

Image

The manialink does everything for you. Just join any title pack, wait about half a minute, and the data is there! Look at all the Top 10s way quicker than in the title pack - you just wait once instead of waiting for every leaderboard.

For each Top 10 you view, you'll also download all of the ghosts in an asynchronous way (all at once) - all 10 ghosts in just a second! That allows not only instant replay saving but also reading record checkpoints.

Image

Just like old Leaderboards, at the top of each map, its world record can be seen right away. No more plain text, now with colors and actually cool font.

Image

The other features include:
  • Many additional fancy statistics about the leaderboards:
    • Players participated
    • Total records driven - for each campaign, each map group, and each map
    • Map worth in skillpoints
    • Percentage of finished players (who drove at least 1 campaign map)
  • Ranked checkpoints - see the track potential
  • Copyable records for easy sharing
  • Saveable replays if you're on the map
  • Button to quickly find a leaderboard on a map you're currently on
What's about to come?
  • Specific player leaderboard information
  • Ranking of other zones than World
  • Saving replays of all 10 ghosts at once
  • Replay browser for saving replays
  • Customizable format of copy-to-clipboard
  • More checkpoint related stuff
Image

Image

Image

Image

The manialink is also alternatively available under worldrecords manialink code.

I never forget though
Good old leaderboards prototype is currently available under the manialink code leaderboards?old.

Leaderboards manialink is available open-source on GitHub. Contribute!

If you have any issues with the manialink, don't hesitate to post it here, DM me on any platform (I recommend Discord) or join my Discord server and discuss it there.



MERRY CHRISTMAS EVERYONE :3
Last edited by BigBang1112 on 25 Dec 2019, 19:09, edited 6 times in total.
Creator and competent racer. YouTube Discord
- Nadeo Envimix (remake coming 2020)
- Videomaker (coming 2020)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows

User avatar
BigBang1112
Posts: 372
Joined: 20 Jul 2015, 12:44
Location: Český Krumlov, Czech Republic
Contact:

Leaderboard Tracker - History tracking web tool for Leaderboards manialink

Post by BigBang1112 » 24 Dec 2019, 02:04

Image

I think the most powerful thing about Leaderboards is its ability to send data to the Leaderboard Tracker. Leaderboard Tracker is a small web tool that catches leaderboard data into its own special location - as Maniaplanet doesn't support good permanent storage, this was the best solution I've found.
The leaderboard data can be then accessed by the manialink back throughout the same URL you define in the manialink. This allows history tracking and record comparisons.
To be able to use Leaderboard Tracker, you have to authorize with Leaderboards.

So, let's setup leaderboard history tracking! UPDATED ON 24.12.2019 13:55 due to security flaw.
  1. Download and setup any web server you like. I used XAMPP and it worked just good. Start at least a service that contains PHP server
  2. Download the Leaderboard Tracker tool here on GitHub by clicking on the Clone or download button and clicking Download ZIP
  3. Go to your web server's public folder (htdocs in XAMPP's case)
  4. Extract the downloaded ZIP there
  5. Construct your URL - if you extracted straight in the public folder, then the URL would be http://localhost/leaderboard-tracker-master. If you put the Leaderboard Tracker folder to a folder called tools that is located in the public folder, then the URL would be http://localhost/tools/leaderboard-tracker-master
  6. Paste your constructed URL into the Leaderboard Tracker URL here: Image
If you have a public IP address,
I highly recommend you to enable the secure mode.
  1. Go to the Tracker's settings.inc.php
  2. Set secure_mode to true
  3. Copy the secret key here: Image
  4. Paste the secret key into the secret_key variable value
That should be it. If you're not seeing a warning sign next to the URL, then you successfully managed to set up the Leaderboard Tracker! A new point of time should be tracked each time you visit the manialink.

If I broke any security rules, let me know about them as I'm still not fairly confident about my security knowledge. :D

Leaderboard Tracker, as already mentioned, is also available open-source on GitHub!

Oh hey, are you thinking the same? Automatic report of new world records?..
Not entirely yet, but it's in thought.
Last edited by BigBang1112 on 24 Dec 2019, 13:59, edited 6 times in total.
Creator and competent racer. YouTube Discord
- Nadeo Envimix (remake coming 2020)
- Videomaker (coming 2020)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows

User avatar
ThaumicTom
Posts: 35
Joined: 22 Jan 2017, 15:34

Re: Leaderboards - Simple leaderboard data extraction | Manialink by BigBang1112

Post by ThaumicTom » 24 Dec 2019, 02:26

nice
ThaumicTom | TMX | MX | Twitch | Twitter | xd
Specs: Ryzen 7 1800X, Radeon RX Vega 56, Corsair Vengeance LPX 2x8GB DDR4 RAM, Samsung 860 Evo 500GB SSD, be quiet! 600W PSU

User avatar
Harest
Posts: 129
Joined: 26 Mar 2018, 04:21
Contact:

Re: Leaderboards - Simple leaderboard data extraction | Manialink by BigBang1112

Post by Harest » 24 Dec 2019, 07:28

I asked myself a few times how we could download the ghosts to analyze them more easily. I don't need to ask myself this question i guess :p. Nice ML, thx o/. I'm always impressed by your UI work also.

User avatar
Miss
Posts: 2046
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Leaderboards - Simple leaderboard data extraction | Manialink by BigBang1112

Post by Miss » 24 Dec 2019, 13:29

Wow very nice work!! :thumbsup: :1010
1070 GTX, Ryzen 3700X, 16GB RAM, Windows 10
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

User avatar
BigBang1112
Posts: 372
Joined: 20 Jul 2015, 12:44
Location: Český Krumlov, Czech Republic
Contact:

Re: Leaderboards - Simple leaderboard data extraction | Manialink by BigBang1112

Post by BigBang1112 » 24 Dec 2019, 21:29

ThaumicTom wrote:
24 Dec 2019, 02:26
nice
Harest wrote:
24 Dec 2019, 07:28
I asked myself a few times how we could download the ghosts to analyze them more easily. I don't need to ask myself this question i guess :p. Nice ML, thx o/. I'm always impressed by your UI work also.
Miss wrote:
24 Dec 2019, 13:29
Wow very nice work!! :thumbsup: :1010
Thank you all :thx:
Creator and competent racer. YouTube Discord
- Nadeo Envimix (remake coming 2020)
- Videomaker (coming 2020)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows

Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 1 guest