From 1b7dbf351dee87bc1184803a0c96c5eedecac89f Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 28 Dec 2017 00:26:34 +0100 Subject: added note on webclient also added red for vanilla --- client.js | 3 ++- master.html | 5 +++++ master.js | 9 ++++++--- stylesheet.css | 5 +++++ 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/client.js b/client.js index 63ee646..8de2046 100644 --- a/client.js +++ b/client.js @@ -437,7 +437,8 @@ function onMessage(e) { break; case "EI": document.getElementById("client_loadingtext").innerHTML = "Loading Evidence " + arguments[1]; - serv.send("AE#" + (arguments[1] + 1) + "#%"); + //serv.send("AE#" + (arguments[1] + 1) + "#%"); + serv.send("RM#%"); break; case "EM": document.getElementById("client_loadingtext").innerHTML = "Loading Music " + arguments[1]; diff --git a/master.html b/master.html index 15db393..bc36f68 100644 --- a/master.html +++ b/master.html @@ -34,6 +34,11 @@
+
+

Please note that the webclient is still in beta


+

The downloadable client is recommended


+

The green servers are more likely to work, red ones will not

+
diff --git a/master.js b/master.js index 675db1a..abfdabd 100644 --- a/master.js +++ b/master.js @@ -7,7 +7,7 @@ masterserver.onmessage = function(evt) { onMessage(evt) }; masterserver.onerror = function(evt) { onError(evt) }; var idnow; var descs = []; -descs[99]="This is your computer. It probably sucks."; +descs[99]="This is your computer on port 27016"; var serverpics = []; function UrlExists(url) { @@ -49,9 +49,12 @@ function onMessage(e) { if (header == 'SN') { console.log(arguments[2].substring(0, 7)); if (arguments[2].substring(0, 7) == 'serverD') { - unavv = 'class="available" ' + unavv = 'class="available" '; + } + else if (arguments[2] == 'VANILLA'){ + unavv = 'class="unavailable" '; }else{ - unavv = '' + unavv = ''; } document.getElementById('masterlist').innerHTML += '
  • ' + arguments[4] + '

    WatchJoin

  • ' serverpics[arguments[0]] = arguments[2]; diff --git a/stylesheet.css b/stylesheet.css index cd9b2bc..15a81ea 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -241,6 +241,11 @@ body { border-color: #21AD21; } +.servs .unavailable { + background-color: #ff6b6B; + border-color: #ad2121; +} + .servs .button:hover { box-shadow: 0 0 0 1px #EFAD21; } -- cgit