Another IP ban! 🦀

This commit is contained in:
Colon 2021-01-29 15:06:16 -05:00
parent 1c85b59d4d
commit 83ca3de7eb
3 changed files with 24 additions and 11 deletions

BIN
assets/privateservers.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View file

@ -17,18 +17,32 @@
<h1 id="msg" class="smaller" style="margin-bottom: 1.2%; white-space: normal;">Hey, hey</h1>
<img id="glubfub" src="../assets/keymaster.png" height="25%" class="gdButton">
<div id="footer" style="position: absolute; left: 1%; bottom: 0%; text-align: left">
<p style="line-height: 150%"><a class="vaultLink" href="https://gdcolon.com/tools">• GD Tools</a><br>
<p style="line-height: 150%">
<a class="vaultLink" href="./api">• API</a><br>
<a class="vaultLink" href="https://github.com/GDColon/GDBrowser">• GitHub</a><br>
<a class="vaultLink" href="https://gdcolon.com/tools">• GD Tools</a><br>
<a class="vaultLink" href="https://store.steampowered.com/app/322170/Geometry_Dash/">• Buy Geometry Dash!</a></p>
</div>
<div style="position:absolute; top: 2.8%; left: 0.5%; width: 4.5%; text-align: right;">
<a href="../?home"><img class="gdButton" src="../assets/arrow-left.png" width=80%;"></a>
</div>
<div style="position:absolute; bottom: 3%; right: 3%; width: 10%; text-align: right;">
<a href="../?home"><img class="gdButton" src="../assets/door.png" width=85%;"></a>
<a href="../gdps"><img class="gdButton" src="../assets/basement.png" width=85%;"></a>
</div>
<div style="position:absolute; bottom: 22%; right:7%; width: 10%; text-align: right; pointer-events: none">
<img src="../assets/privateservers.png" width=85%;">
</div>
<div style="position:absolute; top: 2.2%; right: 2.5%; text-align: right; width: 11%;">
<a href="../leaderboard"><img class="gdButton" src="../assets/leaderboard.png" width="55%"></a>
</div>
<div style="position:absolute; top: -1.5%; right: 10%; text-align: right; width: 10%;">
<div style="position:absolute; top: -1.5%; right: 11%; text-align: right; width: 10%;">
<a href="../iconkit"><img class="iconRope" src="../assets/iconrope.png" width="40%"></a>
</div>
</div>
@ -40,13 +54,12 @@
let line = 0
let dialogue = [
"Hi there!", "Wondering what happened to GDBrowser?", "Well, we got IP banned", "By RubRub himself", "Probably because of spam",
"Fear not, though.", "Things will be worked out ASAP", "And if I obey RubRub's orders...",
"We'll be back in no time", "Plus you get to hang out with me!", "But in the meantime", "Yeah nothing is gonna work",
"API is down as well", "But keep in mind we're on GitHub", "So you can use GDBrowser locally",
"Gotta be big brain for that though...", "At least the icon kit is okay", "Well, mostly", "Anywhooo",
"Enjoy your time here in the Vault", "I'm sure you'll find something to do", "Just stay six feet from me",
"...", ".....", "Yeah that's all I have to say", "You can stop clicking now",
"Hi there!", "We got IP banned again :)", "As usual we don't know why...", "Lately the GD servers have been slow",
"So maybe Rob tried to fix it...", "...by killing GDBrowser??", "Look I really don't know", "Anyways uhhh",
"Hopefully we're back soon", "You're stuck with me for now", "Some features still work though!",
"Accurate leaderboard works fine", "Icon kit too, mostly", "Also, keep in mind we're on GitHub", "So you can use GDBrowser locally",
"Gotta be big brain for that though...", "Anywhooo", "Enjoy your time here in the Vault", "I'm sure you'll find something to do",
"Go buy stocks or something", "...", ".....", "uwu", "Yeah that's all I have to say", "You can stop clicking now",
"I'm just gonna repeat myself", "*ahem*"
]

View file

@ -297,7 +297,7 @@ app.get("/api/achievements", function(req, res) { res.send({achievements, types:
app.get('/api/icons', function(req, res) {
let sample = [JSON.stringify(sampleIcons[Math.floor(Math.random() * sampleIcons.length)].slice(1))]
let iconserver = req.isGDPS ? req.server.name : undefined
res.send({icons: gdIcons, colors: colorList, colorOrder, whiteIcons, server: iconserver, noCopy: req.onePointNine, sample});
res.send({icons: gdIcons, colors: colorList, colorOrder, whiteIcons, server: iconserver, noCopy: req.onePointNine || req.offline, sample});
});
app.get('*', function(req, res) {