Thrustmaster TX, Italia 458 wheel, T3PA-Pro, Firmware 54, Xbox One X, public OS, 24" 1080 monitor
Don't miss Yorkie065's excellent videos: Ep26-LiveTrack pt1. Ep 27-LiveTrack pt2.
Project CALC - unified leaderboards - Forum thread
Ok @cpcdem, have a look at https://projectcalc.org/stats.php
Been working on a WR ranking per your idea. Interesting to compare drivers. For example, Jack Scagnetti has "only" 14 WR, but is placed 11 on the Ranking board, with an average of over 915 drivers on his WR leaderboards. Whereas for example evolist, with 385 WR, has an average of 2 drivers per WR leaderboard.
Great idea, interesting data.
You can click on a header in the WR Ranking table to sort by that column.
Disclaimer: It's mostly correct I think, but sometimes the ranking points aren't 100% correct. My guess is that all laps by a player is counted if that player has multiple laps in the db for a combo.
This is the sql, if anyone has a solution:
Code:SELECT *, COUNT(*) AS wrrows, SUM(totalrows2) AS totalrows3 FROM ( SELECT t1.*, t2.totalrows AS totalrows2 FROM laptimes t1 JOIN ( SELECT gamertag,track,vehicle,laptime, MIN(laptime) AS min_laptime, COUNT(*) AS totalrows FROM laptimes GROUP BY track,vehicle) AS t2 ON t1.laptime = t2.min_laptime AND t1.track = t2.track AND t1.vehicle = t2.vehicle ORDER BY track,vehicle) AS t3 GROUP BY gamertag ORDER BY totalrows3 DESC LIMIT 200
Thrustmaster TX, Italia 458 wheel, T3PA-Pro, Firmware 54, Xbox One X, public OS, 24" 1080 monitor
Don't miss Yorkie065's excellent videos: Ep26-LiveTrack pt1. Ep 27-LiveTrack pt2.
Project CALC - unified leaderboards - Forum thread
The following 2 users likes this Post: cpcdem, JasonSandwich
Hey that's fantastic, thank you very much! This is I think way more representative of people's efforts.
I was thinking also about another variation, to count also how many people someone has "below" him in every combo, so if someone is in 20th place in a combo with 100 entries, he would get 80 points. This way you can include in the leaderboard also people who have none (or very few) WRs. But I think this is much more difficult to implement, right?
Btw, guess this has become a good learning tool for SQL for you! Sorry I cannot help in this area, I have refused learning SQL since a lot of years agoBut most probably someone else can step in...
Thanks, yeah, I'm learning a lot
I have thought about that too, but I think it might be too difficult, or too heavy to make it work. That's a lot of data to go through. Might need a beefier server, or maybe another language or something. But we'll see![]()
Thrustmaster TX, Italia 458 wheel, T3PA-Pro, Firmware 54, Xbox One X, public OS, 24" 1080 monitor
Don't miss Yorkie065's excellent videos: Ep26-LiveTrack pt1. Ep 27-LiveTrack pt2.
Project CALC - unified leaderboards - Forum thread
Yeah, with a procedural language, that's about 20-30 lines of code! Didn't you say you want to learn new things?![]()
The following user likes this Post: Maskmagog
New version of the PCalc tool, 0.6.0.8 - This time I (hopefully) managed to embed the fonts.
Download as usual from https://projectcalc.org/download.php
Last edited by Maskmagog; 19-10-2019 at 22:12. Reason: typo
Thrustmaster TX, Italia 458 wheel, T3PA-Pro, Firmware 54, Xbox One X, public OS, 24" 1080 monitor
Don't miss Yorkie065's excellent videos: Ep26-LiveTrack pt1. Ep 27-LiveTrack pt2.
Project CALC - unified leaderboards - Forum thread
The following user likes this Post: cpcdem
404 error unfortunately!
The following user likes this Post: Maskmagog
Thank you, it was a typo in the adress
Thrustmaster TX, Italia 458 wheel, T3PA-Pro, Firmware 54, Xbox One X, public OS, 24" 1080 monitor
Don't miss Yorkie065's excellent videos: Ep26-LiveTrack pt1. Ep 27-LiveTrack pt2.
Project CALC - unified leaderboards - Forum thread
The following user likes this Post: cpcdem