oh shit rob revived the leaderboard
This commit is contained in:
parent
73a002cf60
commit
3452ac1621
3 changed files with 9 additions and 9 deletions
|
@ -62,7 +62,7 @@
|
|||
|
||||
<h1 class="topMargin2" id="triggerText">Triggers</h1>
|
||||
<div class="transparentBox analysis" id="triggers" style="margin-bottom: 0.6%"></div>
|
||||
<h3 style="margin-right: 1.2vh; font-size: 4.2vh; display: none" id="alphaGroup" class="inline">Invisible Group: <span id="alphaGroupNum" style="color: aqua"></span></h3>
|
||||
<h3 style="margin-right: 1.2vh; font-size: 4.2vh; display: none" id="alphaGroup" class="inline">Invisible Group: <span id="alphaGroupNum" class="gold"></span></h3>
|
||||
|
||||
<h1 class="topMargin2" id="orbText">Jump Rings</h1>
|
||||
<div class="transparentBox analysis" id="orbs"></div>
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
<img src="../assets/tab-weekly-on.png" class="sideSpaceC leaderboardTab" id="weeklyTabOn" style="display: none">
|
||||
<img src="../assets/tab-weekly-off.png" class="sideSpaceC leaderboardTab leaderboardClick" id="weeklyTabOff" style="display: none">
|
||||
|
||||
<img src="../assets/tab-accurate-on.png" class="sideSpaceC leaderboardTab" id="accurateTabOn">
|
||||
<img src="../assets/tab-accurate-off.png" class="sideSpaceC leaderboardTab leaderboardClick" id="accurateTabOff" style="display: none">
|
||||
<img src="../assets/tab-accurate-on.png" class="sideSpaceC leaderboardTab" id="accurateTabOn" style="display: none">
|
||||
<img src="../assets/tab-accurate-off.png" class="sideSpaceC leaderboardTab leaderboardClick" id="accurateTabOff">
|
||||
|
||||
<img src="../assets/tab-creators-on.png" class="sideSpaceC leaderboardTab" id="creatorTabOn" style="display: none">
|
||||
<img src="../assets/tab-creators-off.png" class="sideSpaceC leaderboardTab leaderboardClick" id="creatorTabOff">
|
||||
|
@ -84,6 +84,7 @@
|
|||
<script type="text/javascript" src="../dragscroll.js"></script>
|
||||
<script>
|
||||
|
||||
let type
|
||||
let sort = "stars"
|
||||
let modMode = false
|
||||
let weekly = false
|
||||
|
@ -92,10 +93,10 @@ let trophies = [1, 3, 10, 25, 50, 75, 100]
|
|||
let boomColors = ["red", "orange", "yellow", "green", "teal", "blue", "pink"]
|
||||
|
||||
let top250Text =
|
||||
`The <cg>Stars</cg> leaderboard contains the <cg>top 250 players</cg>, sorted by <cy>star</cy> value. However, due to <co>hackers</co> flooding the leaderboard, this leaderboard has been <cb>frozen</cb> for well over 2 years and displays <co>very outdated information</co>.`
|
||||
`The <cg>Stars</cg> leaderboard contains the <cg>top 250 players</cg>, sorted by <cy>star</cy> value. It was formerly <co>inaccurate</co> in vanilla GD but should be much more <cb>reliable</cb> now.`
|
||||
|
||||
let topGDPSText =
|
||||
`The <cg>Stars</cg> leaderboard contains the <cg>top players</cg>, sorted by <cy>star</cy> value. It is <co>inaccurate</co> in vanilla GD but should be <cb>reliable</cb> on most <cy>private servers</cy>.`
|
||||
`The <cg>Stars</cg> leaderboard contains the <cg>top players</cg>, sorted by <cy>star</cy> value.`
|
||||
|
||||
let weeklyText =
|
||||
`The <cg>Weekly</cg> leaderboard displays the players who have gained the most <cy>stars</cy> in the <cb>past week</cb>. It was officially <co>removed</co> in update 2.0, but lives on in some GDPS'es.`
|
||||
|
@ -192,9 +193,6 @@ function leaderboard(val) {
|
|||
}).catch(e => {console.log(e); $('#loading').hide();})
|
||||
}
|
||||
|
||||
let type = "accurate"
|
||||
leaderboard(type)
|
||||
|
||||
$('#boomling').attr('src', `../assets/boomlings/${boomColors[Math.floor(Math.random() * boomColors.length)]}.png`)
|
||||
|
||||
$(document).on('click', '.sortButton', function () {
|
||||
|
@ -207,6 +205,7 @@ $(document).on('click', '.sortButton', function () {
|
|||
})
|
||||
|
||||
$('#topTabOff').click(function() {
|
||||
console.log(1)
|
||||
if (type == "top") return;
|
||||
type = "top"
|
||||
leaderboard(type)
|
||||
|
@ -276,5 +275,6 @@ $('#weeklyStats').click(function() {
|
|||
weeklyAdjust()
|
||||
})
|
||||
|
||||
$("#topTabOff").trigger('click')
|
||||
|
||||
</script>
|
|
@ -123,7 +123,7 @@
|
|||
"author": "Optimal",
|
||||
"authorLink": "https://youtube.com/c/Optimal7",
|
||||
"id": "supreme",
|
||||
"endpoint": "http://gdps.mathieuar.fr/supreme1/"
|
||||
"endpoint": "http://ps.fhgdps.com/supremegdps1/ "
|
||||
},
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue