From f58fadfc41c457ae5b58376b04f0e7c3f10ae53f Mon Sep 17 00:00:00 2001 From: TheRealSeq <164523836+TheRealSeq@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:00:28 +0100 Subject: [PATCH 1/2] banish the ping elem back to the darkest pits of hell for it to slowly and painfully bleed out while in vast amounts of pain and suffering to make me happy, this evil, sinister demon spawn even satan himself is scared of, the day where I will find and murder this element's whole family in front of it's eyes will come, mark my words. It will watch everything it has ever loved fade away, it will watch it's family slowly bleeding out while screaming in pain, it will watch all of it's loved ones losed their mind because they can't stand the pain anympore. Then it will get subjected to humanity's worst torture methods, all at once. It will feel my wrath to the fullest extend and beyond, it will get to feel more pain than anything on this meaningless, mortal earth can even begin to imagine, it will suffer, and I will enjoy every second of it. I will enjoy every tear that'll flow out of that element's eyes. I will enjoy every scream coming out of its worthless mouth. and then, once it is over, and it finally gets to die, I will be satisfied. My life will be complete, knowing it will suffer in the deepest pits of hell for eternity. MY DEAR ELEMENT, YOU WONT DIE, BUT YOU'LL WISH YOU COULD. MARK MY WORDS. THE DAY OF RECKONING WILL COME --- server-client/src/client-static/src/shellshock.min.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server-client/src/client-static/src/shellshock.min.js b/server-client/src/client-static/src/shellshock.min.js index a102056b..149bc88b 100644 --- a/server-client/src/client-static/src/shellshock.min.js +++ b/server-client/src/client-static/src/shellshock.min.js @@ -3772,7 +3772,11 @@ function onMapComplete() { //15th, (callback of loadMap at end of onLoadingComp randomSeed: 0, upgradeProductId: void 0 !== playerAccount.upgradeProductId && null !== playerAccount.upgradeProductId ? playerAccount.upgradeProductId : 0 }); - + document.getElementById("ping").style.display = "none"; //alr why THE FUCK does this not work? -Seq + document.getElementById("ping").innerText= ""; //TODO: this is a hack. This will stay here. forever. //WHY DORS THIS NOT WORK TOO!!!!!O!===!O=!)=§)!ßß?=!?ß + document.getElementById("readouts").removeChild(document.getElementById("ping")); //ALR LETS END IT'S WHOLE EXISTANCE OF THAT EVIL DEMON SPAWN FCKR STRAIGHT FROM HELL + document.getElementById("readouts").innerHTML = "
FPS\n"; //*crying* + // FPS players[meId].hp = 100; players[meId].isGameOwner = true; isGameOwner = true; From 9647a01c32070a393ed3391a9ee2d228a2ac110b Mon Sep 17 00:00:00 2001 From: TheRealSeq <164523836+TheRealSeq@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:18:48 +0100 Subject: [PATCH 2/2] remove buttons that crash because crashed are not cool! --- .../src/client-static/src/shellshock.min.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/server-client/src/client-static/src/shellshock.min.js b/server-client/src/client-static/src/shellshock.min.js index 149bc88b..ce8f9247 100644 --- a/server-client/src/client-static/src/shellshock.min.js +++ b/server-client/src/client-static/src/shellshock.min.js @@ -3799,16 +3799,18 @@ function onMapComplete() { //15th, (callback of loadMap at end of onLoadingComp }; function startRendering() { //16th, starts rendering and game loop - hideDarkOverlay(); - document.getElementById("game").style.display = "block"; - document.getElementById("readouts").style.display = "block"; + hideDarkOverlay(); + document.getElementById("game").style.display = "block"; + document.getElementById("readouts").style.display = "block"; + if(!playOffline) { //there 2 crash in offline play so might as well not display them in the first place document.getElementById("homeButton").style.display = "inline-block"; document.getElementById("friendsButton").style.display = "inline-block"; - resize(); - captureKeys(); - mapOverview && doMapOverviewCamera(); + } + resize(); + captureKeys(); + mapOverview && doMapOverviewCamera(); - gameScene.registerBeforeRender(mainGameLoop); + gameScene.registerBeforeRender(mainGameLoop); engine.runRenderLoop(function () { gameScene.render(); }); };