2022-01-18 23:48:00 -08:00
<!DOCTYPE html>
2020-09-01 17:52:13 -07:00
< html >
< head >
< title > eagler< / title >
2022-07-21 15:46:43 -07:00
< meta charset = "UTF-8" / >
2022-07-16 22:02:55 -07:00
< script type = "text/javascript" src = "eagswebrtc.js" > < / script >
2022-08-29 21:18:30 -07:00
<!-- script type="text/javascript" src="music.js"></script -->
2022-07-18 08:07:59 -07:00
< script type = "text/javascript" src = "classes.js" > < / script >
2020-09-01 17:52:13 -07:00
< script type = "text/javascript" >
2022-04-09 23:06:43 -07:00
if(document.location.href.startsWith("file:")) {
alert("You're not supposed to 'open' this file in your browser. Please upload this folder to your HTTP(s) server and access it via the internet. This is not a bug, please read the documentation");
}else {
2022-08-29 21:18:30 -07:00
window.addEventListener("load", async function(){
/*
let wardUrl = "";
try {
wardUrl = (await (await fetch("https://pipedapi.tokhmi.xyz/streams/5VuDwU4bW8Q")).json()).audioStreams[0].url;
} catch (e) {}
*/
const relayId = Math.floor(Math.random() * 3);
2022-07-31 02:03:22 -07:00
window.eaglercraftOpts = {
container: "game_frame", assetsURI: "assets.epk", serverWorkerURI: "worker_bootstrap.js", worldsFolder: "TEST",
2022-08-28 21:34:49 -07:00
assetOverrides: {
2022-08-30 19:38:41 -07:00
// "title/no-pano-blur.flag": "",
2022-08-29 21:18:30 -07:00
"records/wait.mp3": "wait.mp3",
"records/mellohi.mp3": "https://stream.nightride.fm/chillsynth.m4a",
"records/far.mp3": "https://stream.nightride.fm/nightride.m4a",
"records/cat.mp3": "http://usa9.fastcast4u.com/proxy/jamz?mp=/1",
"records/ward.mp3": "http://fr4.1mix.co.uk:8000/192h",
"records/strad.mp3": "http://listen.011fm.com:8028/stream15",
"records/blocks.mp3": "https://www.ophanim.net:8444/s/9780",
"records/13.mp3": "https://s2.radio.co/s2b2b68744/listen"
// "sounds/gta.mp3": "https://invidious.zapashcanon.fr/latest_version?itag=251& id=YRlIl6K6S88"
// "records/ward.mp3": wardUrl
// "sounds/gta.mp3": ""
2022-08-28 21:34:49 -07:00
},
2022-08-27 15:20:27 -07:00
servers: [
{ serverName: "Local Test Server", serverAddress: "localhost:25565", hideAddress: false }
],
relays: [
2022-08-29 21:18:30 -07:00
{ addr: "wss://relay.deev.is/", name: "lax1dude relay #1", primary: relayId == 0 },
{ addr: "wss://relay.lax1dude.net/", name: "lax1dude relay #2", primary: relayId == 1 },
{ addr: "wss://relay.shhnowisnottheti.me/", name: "ayunami relay #1", primary: relayId == 2 }
2022-08-27 15:20:27 -07:00
],
2022-07-31 02:03:22 -07:00
mainMenu: { splashes: [
"Darviglet!", "eaglerenophile!", "You Eagler!", "Yeeeeeee!", "yeee",
"EEEEEEEEE!", "You Darvig!", "You Vigg!", ":>", "|>", "You Yumpster!"
2022-08-27 15:20:27 -07:00
], eaglerLogo: false }};
2022-03-31 20:03:46 -07:00
(function(){
var q = window.location.search;
if(typeof q === 'string' & & q.startsWith("?")) {
q = new URLSearchParams(q);
var s = q.get("server");
2022-07-31 02:03:22 -07:00
if(s) window.eaglercraftOpts.joinServer = s;
2022-03-31 20:03:46 -07:00
}
})();
main();
2022-04-09 23:06:43 -07:00
});}
2020-09-01 17:52:13 -07:00
< / script >
< / head >
< body style = "margin:0px;width:100vw;height:100vh;" id = "game_frame" >
< / body >
2022-07-18 08:07:59 -07:00
< / html >