resent-1.8/javascript/index.html

358 lines
197 KiB
HTML
Raw Normal View History

2022-12-27 10:59:46 -08:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Resent 1.8" />
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8, resent, hooman, kone, nitwit, lax1dude" />
<title>Resent Client</title>
<meta property="og:locale" content="en-US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Resent 1.8" />
<meta property="og:description" content="Resent 1.8" />
<link type="image/png" rel="shortcut icon" href="favicon.png" id="favicon"/>
<script type="text/javascript" src="classes.js"></script>
2022-12-27 10:59:46 -08:00
<script type="text/javascript" src="fix-webm-duration.js"></script>
<style>
@font-face {
font-family: Aller;
src: url(data:font/ttf;base64,AAEAAAASAQAABAAgRFNJR+Vn4MYAAd9YAAAWGEdQT1N9O0d1AAD4OAAAZlpHU1VCP2rDngABXpQAAEDMTFRTSO0YyusAAZ9gAAACnk9TLzKHSGQSAAABqAAAAGBWRE1Y9STfvQAB05wAAAu6Y21hcAr3g0EAAAxwAAAFtmdhc3AAFwAJAAD4KAAAABBnbHlmBEChjQAAEigAAKWcaGRteOyubWsAAaIAAAAxnGhlYWTts+xaAAABLAAAADZoaGVhCKYGrAAAAWQAAAAkaG10eLpMdYUAAAIIAAAKaGtlcm5FjzEUAAC8/AAAIlZsb2NhV2AuWAAAt8QAAAU2bWF4cAKtAOUAAAGIAAAAIG5hbWWTsqPLAADfVAAAAdtwb3N0Vrl3igAA4TAAABb4AAEAAAABAABwRFWsXw889QAZA+gAAAAAxNCGxgAAAADE1CHb/zf/BwWqA8wAAQAJAAIAAAAAAAAAAQAAA6j/BwAaBdP/N/83BaoAAQAAAAAAAAAAAAAAAAAAApoAAQAAApoAagAHAHkABwABAAAAAAAAAAAAAAAAAAQAAQADAjUCvAAFAAQCvAKKAAAAjAK8AooAAAHdADIA+gAAAgAIAwQAAAIABKAAAK9QAC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AD4DTAAPA0wADwNMAA8DTAAPAhEABQIRAAUCEQAFAhEABQH6ABgB+gAYAfoAGAO5ACMFQgAjAWIAEAFiABACqwAqARwAMgEhABQBMgAeATIAHgFPAEMBTwAeA
}
html {
font-family: sans-serif;
text-align: center;
}
2023-01-12 14:10:43 -08:00
#progresstext {
font-weight: bold;
top: 30vh;
position: relative;
font-size: 1.75vw;
transition: all 0.4s;
}
#clienttitle {
position: relative;
top: 25vh;
font-size: 8vw;
font-family: Aller;
transition: all 0.4s;
}
2023-01-12 14:10:43 -08:00
#clientversion {
position: absolute;
top: 31vh;
left: 74vw;
font-size: 2.5vw;
color: gray;
font-family: Aller;
transition: all 0.4s;
}
2023-01-12 14:10:43 -08:00
#progress {
width: 10%;
height: 5.5vh;
display: block;
border-radius: 10vw;
background-color: black;
transition: all 0.5s;
margin-top: -2.6vh;
margin-left: -1.3vw;
}
.ratio {
2023-03-03 11:34:14 -08:00
position: relative;
top: 13vh;
font-size: 2vh;
font-family: Aller;
opacity: 0;
transition: opacity 0.4s;
2023-03-03 11:34:14 -08:00
}
.ratio.show {
opacity: 1;
}
#meter {
width: 80vw;
margin:auto;
top: 28vh;
height: 1px;
position: relative;
border: 5px solid black;
border-radius: 20vw;
padding: 1vw;
}
#dividk {
background-color: white;
position: absolute;
top: 0px;
left: 0px;
width: 100vw;
height: 100vh;
}
#mojang {
position: absolute;
left: 50vw;
top: 35vh;
width: 50vw;
filter: invert(100%);
transform: translate(-50%);
opacity: 0;
}
</style>
<script type="text/javascript">
let versionNum = "";
let hasSiteInteractionHappened = false;
let tooLate = false;
let patchNumber;
2023-04-19 05:31:03 -07:00
if (localStorage.getItem("isTabSettingsModEnabled") == null){
localStorage.setItem("isTabSettingsModEnabled", false);
}
if (localStorage.getItem("isTabSettingsModEnabled")){
document.title = localStorage.getItem("tabTitle");
document.getElementById("favicon").href = localStorage.getItem("imageBase64");
}
document.addEventListener("click", () =>{
hasSiteInteractionHappened = true;
});
window.addEventListener('DOMContentLoaded', (event) => {
setTimeout(() => {
if (!tooLate){
document.getElementsByClassName("ratio")[0].className = "ratio show";
}
}, 2000);
});
function setVersion(version){
document.getElementById("clientversion").innerText = version;
versionNum = version;
}
function setBarProg(event, epkSize){
let progress = Math.round(event.loaded/1024/1024);
let size = Math.round(epkSize/1024/1024);
document.getElementById("progress").style.width = (Math.round(progress/size*100)+3.5)+"%";
document.getElementById("progresstext").innerText = Math.round(event.loaded/epkSize*10000)/100 + "% " + "(" + Math.round(event.loaded/1024/1024) + "MB" + "/" + Math.round(epkSize/1024/1024) + "MB)";
// why would you need to set the progress text in a different function???
}
function setPatchNum(patchNum){
patchNumber = patchNum;
}
function die(){
document.getElementById( "meter" ).style.display = "none";
tooLate = true;
document.getElementsByClassName("ratio")[0].className = "ratio";
setTimeout(() => {
document.getElementsByClassName("ratio")[0].display = "none";
}, 400);
document.getElementById("progresstext").innerText = "Decompressing Assets (May take 1-2 minutes on a slow device)";
}
let interval;
function enable(){
document.getElementById("progresstext").innerText = "Click anywhere on the screen to start Resent!";
let title = document.getElementById("clienttitle");
let versionText = document.getElementById("clientversion");
title.style.fontSize = "10vw";
versionText.style.left = "81vw";
versionText.style.top = "10vh";
title.style.top = "3vh";
versionText.style.fontSize = "3.5vw";
document.getElementById("progresstext").style.top = "3vh";
interval = setInterval(() => {
// checks if user clicked the screen
enableClick();
}, 10);
}
function enableClick(){
if (hasSiteInteractionHappened){
loading();
// gets rid of the loop made before in enable func
clearInterval(interval);
}
}
function loading(){
let title = document.getElementById("clienttitle");
let versionText = document.getElementById("clientversion");
title.style.fontSize = "8vw";
versionText.style.left = "74vw";
versionText.style.top = "31vh";
versionText.style.fontSize = "2.5vw";
title.style.top = "25vh";
document.getElementById("progresstext").style.top = "30vh";
document.getElementById("progresstext").innerText = "Loading Resent "+versionNum;
}
function showMojang(){
document.getElementById("dividk").style.transition = "background-color 0.2s";
document.getElementById("dividk").style.backgroundColor = "#f0323e";
document.getElementById("clienttitle").style.transition = "opacity 0.2s";
document.getElementById("clienttitle").style.opacity = "0";
document.getElementById("clientversion").style.transition = "opacity 0.2s";
document.getElementById("clientversion").style.opacity = "0";
document.getElementById("mojang").style.opacity = "1";
document.getElementById("progresstext").style.color = "white";
}
function die2(){
document.getElementById("progresstext").style.transition = "opacity 0.4s";
document.getElementById("progresstext").style.opacity = "0";
document.getElementById("mojang").style.transition = "all 0.4s";
document.getElementById("mojang").style.top = "50vh";
document.getElementById("mojang").style.transform = "translate(-50%, -50%)";
setTimeout(() => {
document.getElementById("mojang").style.transition = "all 0.7s";
document.getElementById("mojang").style.width = "135vw";
document.getElementById("dividk").style.transition = "opacity 0.4s";
document.getElementById("dividk").style.opacity = "0";
setTimeout(() => {
document.getElementById("dividk").style.display = "none";
}, 200);
}, 500);
}
function returnHasSiteInteractionHappened(){
return hasSiteInteractionHappened;
}
function setFavicon(){
let inputElem = document.createElement("input");
inputElem.type = "file";
inputElem.multiple = false;
inputElem.accept = ".png, .jpg, .jpeg, .webp";
//document.body.appendChild(inputElem);
inputElem.addEventListener("change", handleFileSelect, false)
inputElem.click();
}
function handleFileSelect(evt) {
var files = evt.target.files; // FileList object
// Loop through the FileList and render image files as thumbnails.
for (var i = 0, f; f = files[i]; i++) {
// Only process image files.
if (!f.type.match('image.*')) {
continue;
}
var reader = new FileReader();
// Closure to capture the file information.
reader.onload = (function(theFile) {
return function(e) {
localStorage.setItem("imageBase64", e.target.result);
document.getElementById("favicon").href = e.target.result;
};
})(f);
// Read in the image file as a data URL.
reader.readAsDataURL(f);
}
}
function setTitle(){
let title = prompt("Type Tab Title here:");
localStorage.setItem("tabTitle", title);
document.title = title;
}
function toggleTabSettingsMod(isEnabled){
localStorage.setItem("isTabSettingsModEnabled", isEnabled);
if (!isEnabled){
document.title = "Resent Client";
document.getElementById("favicon").href = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAc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uncO6/fKMLOozxJxvF/cfMNBWuJmQl4enZZPKfRgu52/fj2c6Dsy5CFRAoI+TmzXVU0HqFWFFbVku1Kr1ZkRNPioxMSUJ1ob09pttTj85674WxzHh/6Ku6NyvHbCD0f7p3XVURqvmtJBoFkm2vRp5SpABwTtx4iBc4j0vB78btb9URuPOUAth6yfhHbjhB1GatobS1X18BEd0Z6lLhwYFWx+ecYOHJxa50ie01XklvMGru9ArStvECjpEJN3FdDL65eSsSuC1cLhdmY2K4v+ZgyFcDMn4ba4fSVf+MiO4/llPjffvvfwo9kAj2cqQ/7FgHZtGNcOyJMtLos7gbuFrrcvEIg7gvLW0BorELdvv407dn1AeoLzWc7gtXG4bijjlhynpse8+HkQLed1zPEhcg+xW0/uZJ8SpkKQJL/z/WreK5jg8BDrcJIwFFCP8AXJWIBS99B+EWA6aRJVG9s/7HMBcQVO/biDUuCPOQleQ+m/jvHRcHcerjzox5fW8notrMc4ZY+QdgcdcNzMePHGwGwDSlAs4ub/QKAFce1oFz9i48pcwHM+m6w3bk19TXBxZXLRIUfZdDzNxoQBRrQdWdQBQQ0IL8uj6D7tDBrF+k/YrD2Wd0sep5RAOQcFjOClk9KJOSU/qUETHzoawuZfOdUVj3kkSDM+
}
else {
document.title = localStorage.getItem("tabTitle");
document.getElementById("favicon").href = localStorage.getItem("imageBase64");
}
}
</script>
<script type="text/javascript">
"use strict";
window.addEventListener("load", () => {
if(document.location.href.startsWith("file:")) {
alert("HTTP please, do not open this file locally, run a local HTTP server and load it via HTTP");
}else {
window.eaglercraftXOpts = {
2022-12-27 10:59:46 -08:00
container: "game_frame",
assetsURI: "assets.epk",
localesURI: "lang/",
servers: [
{ addr: "wss://mc.arch.lol/", name: "ArchMC" },
{ addr: "wss://zentic.org/", name: "Zentic" },
{ addr: "wss://hyper-network.me/", name: "Hyper Network" },
{ addr: "wss://mc.asspixel.net/", name: "Ass Pixel" },
2023-04-19 16:54:31 -07:00
{ addr: "wss://konemc.ga/", name: "koneMC" },
{ addr: "wss://eagler.lopobia.com/", name: "Lopobia Network" },
2022-12-27 10:59:46 -08:00
]
};
var q = window.location.search;
if(typeof q === "string" && q.startsWith("?")) {
q = new URLSearchParams(q);
var s = q.get("server");
if(s) window.eaglercraftXOpts.joinServer = s;
}
main();
}
});
</script>
2023-04-19 05:31:03 -07:00
<script>
function doMobileStuff() {
document.body.style.overflowX = "hidden";
document.body.style.overflowY = "scroll";
document.body.style.width = "85vw";
document.body.style.height = "85vh";
2023-04-19 16:54:31 -07:00
document.getElementById("keyboardButton").style.display = "block";
document.getElementById("fakeKeyboard").style.display = "block";
document.getElementById("toggleControls").style.display = "block";
2023-04-19 05:31:03 -07:00
}
2023-04-19 16:54:31 -07:00
2023-04-19 05:31:03 -07:00
</script>
</head>
2023-04-19 16:54:31 -07:00
<body style="margin:0px;width:100vw;height:100vh;overflow:hidden; user-select: none;" id="game_frame">
<div id = "dividk">
<h1 id="clienttitle">Resent Client</h1>
<!--everything breaks if u remove this and i dont feel like changing the functions in here to fix it-->
<p class="ratio" ></p>
<img id="mojang" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMjI1NS4wMDAwMDBwdCIgaGVpZ2h0PSI1NzIuMDAwMDAwcHQiIHZpZXdCb3g9IjAgMCAyMjU1LjAwMDAwMCA1NzIuMDAwMDAwIgogcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCI+Cgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAw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zYwIDAgYzM1OCAwIDM2MCAwIDM4MSAyMiAyMCAyMiAyMCAyOCAyMCAxMjE0CjAgMTA3MCAtMiAxMTk0IC0xNiAxMjA4IC0yMyAyNCAtNDAgMjUgLTI3NCAyOCBsLTIxNSAzIC02NSAzMiBjLTk5IDQ5IC0xNjMKMTExIC0yMDcgMjAxIGwtMzggNzcgLTMgMjE1IGMtMSAxMTggLTUgMjI1IC03IDIzNyAtMTIgNTUgNCA1MyAtNTE4IDUyIC0yNjUKLTEgLTUwNCAtNSAtNTMyIC0xMHoiLz4KPHBhdGggZD0iTTE1NDMwIDUzNjAgYy0yMCAtMjAgLTIwIC0zMyAtMjAgLTE2MjAgbDAgLTE2MDEgMjUgLTI0IDI0IC0yNSAzNTEKMCBjMzQ4IDAgMzgyIDMgNDAyIDM0IDQgNiA4IDU
<h2 id="clientversion">3.6</h2>
<p id="progresstext">0%</p>
<div id="meter">
<span style="width: 0%" id="progress"></span>
</div>
2023-04-19 05:31:03 -07:00
2023-04-19 05:31:03 -07:00
</div>
2023-04-19 16:54:31 -07:00
<button id="keyboardButton" style="display:none; position: absolute; left: 85vw; top: 0px; font-size: 15px; height: 50px; width: 100px;">Open Keyboard</button> <input type="text" id="fakeKeyboard" style="display:none; position: absolute; top: 0px; left: 85vw; width: 100px; height: 50px; opacity: 0;">
<button id="toggleControls" style="display:none; position: absolute; left: 85vw; top: 50px; font-size: 15px; height: 50px; width: 100px;">Toggle Controls</button>
</body>
2022-12-27 10:59:46 -08:00
</html>