2024-06-17 19:41:16 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Subnautica Expanded</title>
|
|
|
|
<link rel="icon" type="image/png" href="media/Logo.png">
|
|
|
|
<link rel="stylesheet" href="media/style.css">
|
|
|
|
<link href="https://fonts.bunny.net/css?family=Space+Grotesk:wght@500&display=swap" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
|
|
|
<meta content="Subnuatica-Expanded" property="og:title" />
|
|
|
|
<meta content="Subnautica, but fishier." property="og:description" />
|
|
|
|
<meta content="https://lethal-extended.com/subnautica-expanded" property="og:url" />
|
|
|
|
<meta content="https://lethal-extended.com/media/projects/SubnuaticaExpanded.png" property="og:image" />
|
|
|
|
<meta content="#db5b04" data-react-helmet="true" name="theme-color" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
|
|
|
<nav class="desktop_navbar">
|
|
|
|
<a href="index.html"><img class="desktop_navbar_logo_img" src="media/Logo.png" width="96" height="64" alt="logo"></a>
|
|
|
|
<a href="https://merch.lethal-extended.com" class="desktop_navbar_link">Merch</a>
|
|
|
|
<a href="./aboutus.html" class="desktop_navbar_link">About Us</a>
|
|
|
|
<a href="./credits.html" class="desktop_navbar_link">Credits</a>
|
|
|
|
<a href="./projects.html" class="desktop_navbar_link">Projects</a>
|
|
|
|
<a class="desktop_navbar_link scroll">Current Version: 0.0.1</a>
|
|
|
|
<div class="desktop_navbar_link2_div">
|
|
|
|
<a href="./branches.html" class="desktop_navbar_link2">Download</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div class="mobile_navbar">
|
|
|
|
<a href="#" class="mobile_navbar_logo_img_a"><img class="mobile_navbar_logo_img" src="media/Logo.png" alt="logo"></a>
|
|
|
|
<div id="mobile_navbar_links">
|
|
|
|
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://ko-fi.com/pengucc">Donate</a>
|
|
|
|
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://merch.lethal-extended.com">Merch</a>
|
|
|
|
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./aboutus.html">About Us</a>
|
|
|
|
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./credits.html">Credits</a>
|
|
|
|
</div>
|
|
|
|
<div class="icon" onclick="mobile_navbar_link_hider()">
|
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function mobile_navbar_link_hider() {
|
|
|
|
var x = document.getElementById("mobile_navbar_links");
|
|
|
|
if (x.style.display === "flex") {
|
|
|
|
x.style.display = "none";
|
|
|
|
} else {
|
|
|
|
x.style.display = "flex";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
<div class="mainflex">
|
|
|
|
<div class="main1">
|
|
|
|
<a class="main1_logo_a" href="#">
|
|
|
|
<img class="main1_logo" src="media/Logo.png" height="412" alt="logo">
|
|
|
|
</a>
|
|
|
|
<div class="main1_description">
|
|
|
|
<a>Subnautica,<br>but</a>
|
|
|
|
<a class="main1_actcent">fishier</a><a>.</a>
|
|
|
|
</div>
|
2024-09-08 04:28:14 +00:00
|
|
|
<title>Player Counts</title>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
#player-count {
|
|
|
|
font-size: 2em;
|
|
|
|
color: #ebe3e3;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loading {
|
|
|
|
display: none;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="main1_actcent" id="player-count">Loading...</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
const playerCountElement = document.getElementById('player-count');
|
|
|
|
const prometheusURL = 'http://5.161.51.188:9090/api/v1/query?query=se_active_users';
|
|
|
|
|
|
|
|
// Function to fetch player count from Prometheus
|
|
|
|
async function fetchPlayerCount() {
|
|
|
|
try {
|
|
|
|
const response = await fetch(prometheusURL);
|
|
|
|
const data = await response.json();
|
|
|
|
|
|
|
|
// Extract the player count from the response
|
|
|
|
if (data.status === 'success' && data.data.result.length > 0) {
|
|
|
|
const playerCount = data.data.result[0].value[1];
|
|
|
|
playerCountElement.textContent = `Current Player Count: ${playerCount}`;
|
|
|
|
} else {
|
|
|
|
playerCountElement.textContent = 'No data';
|
|
|
|
}
|
|
|
|
} catch (error) {
|
|
|
|
console.error('Error fetching player count:', error);
|
|
|
|
playerCountElement.textContent = 'Error fetching data';
|
|
|
|
} finally {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fetch player count every 15 seconds
|
|
|
|
setInterval(fetchPlayerCount, 5000);
|
|
|
|
|
|
|
|
// Initial fetch when the page loads
|
|
|
|
fetchPlayerCount();
|
|
|
|
</script>
|
|
|
|
<p></p>
|
2024-06-17 19:41:16 +00:00
|
|
|
<div class="main1_ipcopier_div">
|
|
|
|
<button class="main1_ipcopier" type="button">
|
|
|
|
<span class="main1_ipcopier_text1"></span>
|
|
|
|
<a class="main1_ipcopier_text1" href="https://discord.gg/BkmEarDQxq">Discord Server</a>
|
|
|
|
</button>
|
|
|
|
<button class="main1_ipcopier" type="button">
|
2024-07-06 06:28:49 +00:00
|
|
|
<a class="main1_ipcopier_text1" href="https://forms.gle/xg75cWRE8jyiZ6ak6">Team Application</a>
|
2024-06-17 19:41:16 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<a href="#more" class="scroll">
|
|
|
|
<img alt="downarrow" class="main1_downarrow" src="media/downarrow.png">
|
|
|
|
</a>
|
|
|
|
<script>
|
|
|
|
const scrollLinks = document.querySelectorAll('.scroll');
|
|
|
|
scrollLinks.forEach(function(link) {
|
|
|
|
link.addEventListener('click', function(event) {
|
|
|
|
event.preventDefault();
|
|
|
|
const target = document.querySelector(link.getAttribute('href'));
|
|
|
|
const offsetTop = target.offsetTop;
|
|
|
|
window.scrollTo({
|
|
|
|
top: offsetTop,
|
|
|
|
behavior: 'smooth'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
<div id="more"></div>
|
|
|
|
<div class="main2">
|
2024-07-06 06:28:49 +00:00
|
|
|
<a class="headline">Features</a>
|
2024-06-17 19:41:16 +00:00
|
|
|
<div class="main2_features_div">
|
|
|
|
<div class="main2_feature">
|
|
|
|
<img class="main2_feature_img" alt="Feature Image" src="media/features/defabricate.webp">
|
|
|
|
<a class="main2_feature_headline">Defabricator</a>
|
|
|
|
<a class="main2_feature_text">Recycle Tools for materials!</a>
|
|
|
|
</div>
|
|
|
|
<div class="main2_feature">
|
|
|
|
<img class="main2_feature_img" alt="Feature Image" src="media/features/moreupgrades.webp">
|
|
|
|
<a class="main2_feature_headline">More Cyclops Upgrades</a>
|
|
|
|
<a class="main2_feature_text">build as many upgrade consoles as you need in your Cyclops!</a>
|
|
|
|
</div>
|
|
|
|
<div class="main2_feature">
|
|
|
|
<img class="main2_feature_img" alt="Feature Image" src="media/features/storageaccess.webp">
|
|
|
|
<a class="main2_feature_headline">Access Vehicle Storage</a>
|
|
|
|
<a class="main2_feature_text">Access Vehicle Storage from Vehicle bay!</a>
|
|
|
|
</div>
|
|
|
|
<div class="main2_feature">
|
|
|
|
<img class="main2_feature_img" alt="Feature Image" src="media/features/batteries.webp">
|
|
|
|
<a class="main2_feature_headline">More Batteries</a>
|
|
|
|
<a class="main2_feature_text">Tons of new batteries to use!</a>
|
|
|
|
</div>
|
|
|
|
<div class="main2_feature">
|
|
|
|
<img class="main2_feature_img" alt="Feature Image" src="media/features/more.avif">
|
|
|
|
<a class="main2_feature_headline">More</a>
|
|
|
|
<a class="main2_feature_text">So many more mods (Check Credits for a full list)</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|