diff --git a/AlphalandRawKey.txt b/FinobeRawKey.txt
similarity index 100%
rename from AlphalandRawKey.txt
rename to FinobeRawKey.txt
diff --git a/AlphalandUtilityJsSource.js b/FinobeUtilityJsSource.js
similarity index 95%
rename from AlphalandUtilityJsSource.js
rename to FinobeUtilityJsSource.js
index f68e1b0..4f090c0 100644
--- a/AlphalandUtilityJsSource.js
+++ b/FinobeUtilityJsSource.js
@@ -1,5 +1,5 @@
/*
- Alphaland JS Utilities 2021
+ Finobe JS Utilities 2021
*/
//utility for populating HTML with data from object OR calling a function with the objects current position and replacing the marker with returned data
@@ -222,7 +222,7 @@ class Comments {
this.messageDelay = messageDelay;
this.newObject = newObject;
- var gameInfo = "https://api.alphaland.cc/game/info?id=" + this.assetid;
+ var gameInfo = "https://api.idk16.xyz/game/info?id=" + this.assetid;
var self = this;
getJSONCDS(gameInfo)
.done(function(jsonData) {
@@ -250,11 +250,11 @@ class Comments {
html += '';
html += '';
- multiPageHelper(this.newObject + ".commentsPage", [], "https://api.alphaland.cc/comments/", "https://api.alphaland.cc/logo", this.commentscontainer, this.buttonscontainer, html, page, 10, "", "No comments", "&assetId=" + this.assetid);
+ multiPageHelper(this.newObject + ".commentsPage", [], "https://api.idk16.xyz/comments/", "https://api.idk16.xyz/logo", this.commentscontainer, this.buttonscontainer, html, page, 10, "", "No comments", "&assetId=" + this.assetid);
}
submitComment(comment) {
var self = this;
- postJSONCDS("https://api.alphaland.cc/comments/newcomment?assetId=" + this.assetid, JSON.stringify({"comment": comment}))
+ postJSONCDS("https://api.idk16.xyz/comments/newcomment?assetId=" + this.assetid, JSON.stringify({"comment": comment}))
.done(function(object) {
var alert = object.alert;
var messageid = self.errorid;
diff --git a/IsAliveCheck.php b/IsAliveCheck.php
index 4b4b3d8..08ae473 100644
--- a/IsAliveCheck.php
+++ b/IsAliveCheck.php
@@ -1,12 +1,12 @@
prepare("UPDATE websettingsdeprecated SET maintenance = 1, maintenance_text = :t");
$setmaintenance->bindParam(":t", $text, PDO::PARAM_STR);
diff --git a/globals/Dependencies/Administration/SignupKey.php b/globals/Dependencies/Administration/SignupKey.php
index 707fe13..b939ffe 100644
--- a/globals/Dependencies/Administration/SignupKey.php
+++ b/globals/Dependencies/Administration/SignupKey.php
@@ -1,8 +1,8 @@
BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Hat ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/",
"png",
"750",
"750"
@@ -47,7 +47,7 @@ namespace Alphaland\Assets {
public static function RenderTShirt(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." tshirt", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." tshirt", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -59,9 +59,9 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render TShirt ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/asset/?id=38",
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/asset/?id=38",
+ "https://www.idk16.xyz/",
"png",
"750",
"750"
@@ -79,7 +79,7 @@ namespace Alphaland\Assets {
public static function RenderShirt(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." shirt", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." shirt", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -91,9 +91,9 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Shirt ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/asset/?id=38",
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/asset/?id=38",
+ "https://www.idk16.xyz/",
"png",
"750",
"750"
@@ -111,7 +111,7 @@ namespace Alphaland\Assets {
public static function RenderPants(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." pants", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." pants", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -123,9 +123,9 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Pants ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/asset/?id=38",
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/asset/?id=38",
+ "https://www.idk16.xyz/",
"png",
"750",
"750"
@@ -143,7 +143,7 @@ namespace Alphaland\Assets {
public static function RenderFace(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." face", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." face", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -155,8 +155,8 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Face ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/",
"png",
"750",
"750"
@@ -174,7 +174,7 @@ namespace Alphaland\Assets {
public static function RenderHead(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." head", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." head", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -186,9 +186,9 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Head ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/asset/?id=38",
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/asset/?id=38",
+ "https://www.idk16.xyz/",
"png",
"750",
"750"
@@ -206,7 +206,7 @@ namespace Alphaland\Assets {
public static function RenderGear(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." gear", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." gear", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -218,11 +218,11 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Gear ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
+ "https://www.idk16.xyz/asset/?id=".$assetid,
"png",
"750",
"750",
- "https://www.alphaland.cc/"
+ "https://www.idk16.xyz/"
))
);
@@ -237,7 +237,7 @@ namespace Alphaland\Assets {
public static function RenderPackage(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." package", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." package", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -249,10 +249,10 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Package ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=27112025;https://www.alphaland.cc/asset/?id=27112039;https://www.alphaland.cc/asset/?id=27112052",
- "https://www.alphaland.cc/",
- "https://www.alphaland.cc/asset/?id=38",
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=27112025;https://www.idk16.xyz/asset/?id=27112039;https://www.idk16.xyz/asset/?id=27112052",
+ "https://www.idk16.xyz/",
+ "https://www.idk16.xyz/asset/?id=38",
+ "https://www.idk16.xyz/",
"png",
"768",
"432"
@@ -270,7 +270,7 @@ namespace Alphaland\Assets {
public static function RenderModel(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." model", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." model", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -282,8 +282,8 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Model ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/",
"png",
"768",
"432"
@@ -301,7 +301,7 @@ namespace Alphaland\Assets {
public static function RenderMesh(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." mesh", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." mesh", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -313,8 +313,8 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Mesh ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/",
"png",
"768",
"432"
@@ -332,7 +332,7 @@ namespace Alphaland\Assets {
public static function RenderPlace(int $assetid, bool $fork=false)
{
if ($fork) {
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." place", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$assetid." place", "r"); //throwaway background process
if ($job !== FALSE); {
pclose($job);
return true;
@@ -344,8 +344,8 @@ namespace Alphaland\Assets {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Place ".$assetid, $thumbnailScript, array(
$assetid,
- "https://www.alphaland.cc/asset/?id=".$assetid,
- "https://www.alphaland.cc/",
+ "https://www.idk16.xyz/asset/?id=".$assetid,
+ "https://www.idk16.xyz/",
"png",
"768",
"432"
diff --git a/globals/Dependencies/Client/ClientSettings.php b/globals/Dependencies/Client/ClientSettings.php
index 4337c65..56e2390 100644
--- a/globals/Dependencies/Client/ClientSettings.php
+++ b/globals/Dependencies/Client/ClientSettings.php
@@ -12,7 +12,7 @@
*
* Open an issue if you want to see the values returned as their respective types and not as strings.
*
- * Licensed to Austin "Astrologies" of Alphaland, they are the owners of the code.
+ * Licensed to Austin "Astrologies" of Finobe, they are the owners of the code.
*/
// Note: This could be shortened slightly.
@@ -21,9 +21,9 @@
/*
Usage:
-use Alphaland\Client\ClientSettings;
-use Alphaland\Client\ClientSettingsApplications;
-use Alphaland\Client\ClientSettingsKind;
+use Finobe\Client\ClientSettings;
+use Finobe\Client\ClientSettingsApplications;
+use Finobe\Client\ClientSettingsKind;
require_once './globals/Dependencies/Client/ClientSettings.php';
@@ -59,7 +59,7 @@ echo "Get Application Bucket Test's settings, has dependencies '" . implode(', '
*/
-namespace Alphaland\Client {
+namespace Finobe\Client {
use Error;
use PDO;
diff --git a/globals/Dependencies/Common/ContentDelivery.php b/globals/Dependencies/Common/ContentDelivery.php
index 0586437..ad268ff 100644
--- a/globals/Dependencies/Common/ContentDelivery.php
+++ b/globals/Dependencies/Common/ContentDelivery.php
@@ -1,10 +1,10 @@
bindParam(":wb", $GLOBALS['user']->id, PDO::PARAM_INT);
$ban->execute();
if ($ban->rowCount() > 0) {
- kickUserIfInGame($uid, "You've been banned from Alphaland, '".$reason."'");
+ kickUserIfInGame($uid, "You've been banned from Finobe, '".$reason."'");
UserModerationManager::LogAction("Banned User ".$uid);
//ban user from discord with bot
if($bantype == 2) { //perm ban
- $discordid = $GLOBALS['pdo']->prepare("SELECT * FROM `alphaland_verification` WHERE `uid` = :id AND isactivated = 1");
+ $discordid = $GLOBALS['pdo']->prepare("SELECT * FROM `finobe_verification` WHERE `uid` = :id AND isactivated = 1");
$discordid->bindParam(":id", $uid, PDO::PARAM_INT);
$discordid->execute();
if ($discordid->rowCount() > 0) {
diff --git a/globals/Dependencies/UI/ImageHelper.php b/globals/Dependencies/UI/ImageHelper.php
index d14fc9b..6cea5b8 100644
--- a/globals/Dependencies/UI/ImageHelper.php
+++ b/globals/Dependencies/UI/ImageHelper.php
@@ -1,6 +1,6 @@
prepare("SELECT COUNT(*) FROM `alphaland_verification` WHERE `activationcode` = :ac");
+ $keycheck = $GLOBALS['pdo']->prepare("SELECT COUNT(*) FROM `finobe_verification` WHERE `activationcode` = :ac");
$keycheck->bindParam(":ac", $hash, PDO::PARAM_STR);
$keycheck->execute();
} while($keycheck->fetchColumn(0) != 0);
@@ -26,7 +26,7 @@ namespace Alphaland\Users {
public static function GetUserActivationCode(int $userid)
{
- $query = $GLOBALS['pdo']->prepare("SELECT `activationcode` FROM `alphaland_verification` WHERE `uid` = :uid");
+ $query = $GLOBALS['pdo']->prepare("SELECT `activationcode` FROM `finobe_verification` WHERE `uid` = :uid");
$query->bindParam(":uid", $userid, PDO::PARAM_INT);
$query->execute();
if ($query->rowCount() == 1) {
@@ -37,7 +37,7 @@ namespace Alphaland\Users {
public static function IsUserActivated(int $userid)
{
- $query = $GLOBALS['pdo']->prepare("SELECT COUNT(*) FROM `alphaland_verification` WHERE `isactivated` = 1 AND `uid` = :uid");
+ $query = $GLOBALS['pdo']->prepare("SELECT COUNT(*) FROM `finobe_verification` WHERE `isactivated` = 1 AND `uid` = :uid");
$query->bindParam(":uid", $userid, PDO::PARAM_INT);
$query->execute();
if ($query->fetchColumn(0) > 0) {
@@ -51,7 +51,7 @@ namespace Alphaland\Users {
if (!Activation::IsUserActivated($userid)) {
$activationcode = Activation::GenerateActivationCode();
- $n = $GLOBALS['pdo']->prepare("INSERT INTO `alphaland_verification`(`activationcode`,`uid`) VALUES(:ac, :userid)");
+ $n = $GLOBALS['pdo']->prepare("INSERT INTO `finobe_verification`(`activationcode`,`uid`) VALUES(:ac, :userid)");
$n->bindParam(":ac", $activationcode, PDO::PARAM_STR);
$n->bindParam(":userid", $userid, PDO::PARAM_INT);
$n->execute();
diff --git a/globals/Dependencies/Users/Badge.php b/globals/Dependencies/Users/Badge.php
index 8962cd5..3531ed4 100644
--- a/globals/Dependencies/Users/Badge.php
+++ b/globals/Dependencies/Users/Badge.php
@@ -1,10 +1,10 @@
BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Player Closeup ".$userid, $script, array(
$userid,
- "https://www.alphaland.cc/",
- "https://api.alphaland.cc/users/avatar-accoutrements?userId=".$userid,
+ "https://www.idk16.xyz/",
+ "https://api.idk16.xyz/users/avatar-accoutrements?userId=".$userid,
"png",
"840",
"840",
@@ -128,7 +128,7 @@ namespace Alphaland\Users {
{
if ($fork)
{
- $job = popen("cd C:/Webserver/nginx/Alphaland/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$userid." avatar", "r"); //throwaway background process
+ $job = popen("cd D:/Finobe/WebserviceTools/RenderTools && start /B php backgroundRenderJob.php ".$userid." avatar", "r"); //throwaway background process
if ($job !== FALSE);
{
pclose($job);
@@ -145,8 +145,8 @@ namespace Alphaland\Users {
$soap = $soap->BatchJobEx(
$soap->ConstructGenericJob(gen_uuid(), 25, 0, 3, "Render Player ".$userid, $script, array(
$userid,
- "https://api.alphaland.cc/users/avatar-accoutrements?userId=".$userid,
- "https://www.alphaland.cc/",
+ "https://api.idk16.xyz/users/avatar-accoutrements?userId=".$userid,
+ "https://www.idk16.xyz/",
"png",
"840",
"840"
diff --git a/globals/Dependencies/Users/Session.php b/globals/Dependencies/Users/Session.php
index 7c39c64..0e43634 100644
--- a/globals/Dependencies/Users/Session.php
+++ b/globals/Dependencies/Users/Session.php
@@ -1,17 +1,17 @@
bindParam(":i", $ip, PDO::PARAM_STR);
$session->bindParam(":ua", $user_agent, PDO::PARAM_STR);
if($session->execute()) {
- setcookie("token", $token, time() + (86400 * 30), "/", ".alphaland.cc"); //30 day expiration on token for (hopefully) all alphaland paths
+ setcookie("token", $token, time() + (86400 * 30), "/", ".idk16.xyz"); //30 day expiration on token for (hopefully) all finobe paths
$this->ValidateSession($token);
return true;
} else {
@@ -151,7 +151,7 @@ namespace Alphaland\Users
}
}
//No valid session
- setcookie("token", null, time(), "/", ".alphaland.cc"); //delete (all token?) cookies
+ setcookie("token", null, time(), "/", ".idk16.xyz"); //delete (all token?) cookies
return false;
}
diff --git a/globals/Dependencies/Users/TwoFactor.php b/globals/Dependencies/Users/TwoFactor.php
index 16268c9..1c30aa9 100644
--- a/globals/Dependencies/Users/TwoFactor.php
+++ b/globals/Dependencies/Users/TwoFactor.php
@@ -1,10 +1,10 @@
getQRCodeGoogleUrl($username, $secret, "Alphaland");
+ $qrcode = $GLOBALS['authenticator']->getQRCodeGoogleUrl($username, $secret, "Finobe");
$new2fa = $GLOBALS['pdo']->prepare("INSERT INTO `twofactor`(`userid`, `secret`, `qr`, `whenGenerated`) VALUES (:uid, :secret, :qr, UNIX_TIMESTAMP())");
$new2fa->bindParam(":uid", $userid, PDO::PARAM_INT);
$new2fa->bindParam(":secret", $secret, PDO::PARAM_STR);
diff --git a/globals/Dependencies/Users/User.php b/globals/Dependencies/Users/User.php
index 19124c1..f932db2 100644
--- a/globals/Dependencies/Users/User.php
+++ b/globals/Dependencies/Users/User.php
@@ -1,8 +1,8 @@
true
);
//host //db name //db user //db password //options
- $pdo = new PDO("mysql:host=localhost;dbname=alphalanddatabase", "aa9205c5b776b2368833bec1e8b34e1c", "68adae776e087fb1b34baf439710cf94", $pdoOptions);
+ $pdo = new PDO("mysql:host=localhost;dbname=finobedatabase", "aa9205c5b776b2368833bec1e8b34e1c", "68adae776e087fb1b34baf439710cf94", $pdoOptions);
//general vars
$jsversion = "12.00"; //update this after updating JS, this will re-cache the latest js for users
$cssversion = "12.00"; //update this after updating CSS, this will re-cache the latest css for users
- $siteName = "Alphaland"; //site name
- $domain = "alphaland.cc";
+ $siteName = "Finobe"; //site name
+ $domain = "idk16.xyz";
$url = "https://www.".$domain; //site URL
$ws = $pdo->query("SELECT * FROM websettings WHERE id = 1")->fetch(PDO::FETCH_OBJ); //websettings
$clientUserAgent = "Roblox/WinInet";
@@ -53,41 +53,41 @@ try
$defaultHeadshotHash = "fb5d52c08aa538483647373c5a20fd73"; //default headshot render for characters
//cdn urls
- $renderCDN = "https://trcdn.alphaland.cc"; //endpoint for renders
- $assetCDN = "https://acdn.alphaland.cc"; //endpoint for assets
- $thumbnailCDN = "https://tcdn.alphaland.cc"; //endpoint for thumbnails
+ $renderCDN = "https://trcdn.idk16.xyz"; //endpoint for renders
+ $assetCDN = "https://acdn.idk16.xyz"; //endpoint for assets
+ $thumbnailCDN = "https://tcdn.idk16.xyz"; //endpoint for thumbnails
//cdn paths
- $renderCDNPath = "C:/Webserver/nginx/Alphaland/html_renders_cdn/"; //path to where renders are stored
- $thumbnailCDNPath = "C:/Webserver/nginx/Alphaland/html_thumbs_cdn/"; //path to where thumbnails are stored
- $assetCDNPath = "C:/Webserver/nginx/Alphaland/html_assets_cdn/"; //path to where assets are stored
+ $renderCDNPath = "D:/Finobe/html_renders_cdn/"; //path to where renders are stored
+ $thumbnailCDNPath = "D:/Finobe/html_thumbs_cdn/"; //path to where thumbnails are stored
+ $assetCDNPath = "D:/Finobe/html_assets_cdn/"; //path to where assets are stored
//lua script paths
- $avatarthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/AvatarScript.lua";
- $facethumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/FaceScript.lua";
- $hatthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/HatScript.lua";
- $tshirtthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/TShirtScript.lua";
- $shirtthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/ShirtScript.lua";
- $pantsthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/PantsScript.lua";
- $headthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/HeadScript.lua";
- $placethumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/PlaceScript.lua";
- $modelthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/ModelScript.lua";
- $gearthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/GearScript.lua";
- $avatarcloseupthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/AvatarCloseupScript.lua";
- $meshthumbnailscript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/MeshScript.lua";
- $packagescript = "C:/Webserver/nginx/Alphaland/luascripts/thumbnails/PackageScript.lua";
- $gameserverscript = "C:/Webserver/nginx/Alphaland/luascripts/game/gameserver.lua";
+ $avatarthumbnailscript = "D:/Finobe/luascripts/thumbnails/AvatarScript.lua";
+ $facethumbnailscript = "D:/Finobe/luascripts/thumbnails/FaceScript.lua";
+ $hatthumbnailscript = "D:/Finobe/luascripts/thumbnails/HatScript.lua";
+ $tshirtthumbnailscript = "D:/Finobe/luascripts/thumbnails/TShirtScript.lua";
+ $shirtthumbnailscript = "D:/Finobe/luascripts/thumbnails/ShirtScript.lua";
+ $pantsthumbnailscript = "D:/Finobe/luascripts/thumbnails/PantsScript.lua";
+ $headthumbnailscript = "D:/Finobe/luascripts/thumbnails/HeadScript.lua";
+ $placethumbnailscript = "D:/Finobe/luascripts/thumbnails/PlaceScript.lua";
+ $modelthumbnailscript = "D:/Finobe/luascripts/thumbnails/ModelScript.lua";
+ $gearthumbnailscript = "D:/Finobe/luascripts/thumbnails/GearScript.lua";
+ $avatarcloseupthumbnailscript = "D:/Finobe/luascripts/thumbnails/AvatarCloseupScript.lua";
+ $meshthumbnailscript = "D:/Finobe/luascripts/thumbnails/MeshScript.lua";
+ $packagescript = "D:/Finobe/luascripts/thumbnails/PackageScript.lua";
+ $gameserverscript = "D:/Finobe/luascripts/game/gameserver.lua";
//soap paths
- $RCCwsdl = "C:/Webserver/nginx/Alphaland/RCCService.wsdl"; //wsdl path for SOAP
+ $RCCwsdl = "D:/Finobe/RCCService.wsdl"; //wsdl path for SOAP
//misc paths
- $pbsOverlayPath = "C:/Webserver/nginx/Alphaland/PersonalServerOverlay.png";
- $setupHtmlPath = "C:/Webserver/nginx/Alphaland/html_setup/";
- $defaultPlacesPath = "C:/Webserver/nginx/Alphaland/default_places/"; //path to where the default places are stored
- $defaultPbsPlacesPath = "C:/Webserver/nginx/Alphaland/default_pbs_places/"; //path to where the default pbs places are stored
- $defaultXmlsPath = "C:/Webserver/nginx/Alphaland/default_xmls/"; //path to where the default xmls stored
- $privateKeyPath = "C:/Webserver/nginx/Alphaland/AlphalandRawKey.txt"; //path to where the private key is stored
+ $pbsOverlayPath = "D:/Finobe/PersonalServerOverlay.png";
+ $setupHtmlPath = "D:/Finobe/html_setup/";
+ $defaultPlacesPath = "D:/Finobe/default_places/"; //path to where the default places are stored
+ $defaultPbsPlacesPath = "D:/Finobe/default_pbs_places/"; //path to where the default pbs places are stored
+ $defaultXmlsPath = "D:/Finobe/default_xmls/"; //path to where the default xmls stored
+ $privateKeyPath = "D:/Finobe/FinobeRawKey.txt"; //path to where the private key is stored
//machine ip's
$gameMachine = "167.114.96.92"; //IP address of the machine that runs gameservers
@@ -98,35 +98,35 @@ try
$thumbnailArbiter = $renderMachine.":64989"; //IP address/port of the Arbiter running on the render machine
//autoloader include
- require 'C:\Users\Administrator\vendor\autoload.php';
+ require 'D:/Finobe/vendor/autoload.php';
- //alphaland specfic dependencies (listing manually for now due to active rewrite of stuff)
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/Activation.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/TwoFactor.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/ReferralProgram.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Moderation/UserModerationManager.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Common/HashingUtiltity.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Web/WebContextManager.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Common/System.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Assets/Asset.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Games/Game.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Grid/RccServiceHelper.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Assets/Render.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/UI/ImageHelper.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/Render.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Common/Signing.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Common/Email.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Games/Ticket.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/User.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/Session.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/Outfit.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Moderation/Filter.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Users/Badge.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Administration/SignupKey.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Economy/EconomyHelper.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Groups/Group.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Web/WebsiteSettings.php";
- include "C:/Webserver/nginx/Alphaland/globals/Dependencies/Web/IpRange.php";
+ //finobe specfic dependencies (listing manually for now due to active rewrite of stuff)
+ include "D:/Finobe/globals/Dependencies/Users/Activation.php";
+ include "D:/Finobe/globals/Dependencies/Users/TwoFactor.php";
+ include "D:/Finobe/globals/Dependencies/Users/ReferralProgram.php";
+ include "D:/Finobe/globals/Dependencies/Moderation/UserModerationManager.php";
+ include "D:/Finobe/globals/Dependencies/Common/HashingUtiltity.php";
+ include "D:/Finobe/globals/Dependencies/Web/WebContextManager.php";
+ include "D:/Finobe/globals/Dependencies/Common/System.php";
+ include "D:/Finobe/globals/Dependencies/Assets/Asset.php";
+ include "D:/Finobe/globals/Dependencies/Games/Game.php";
+ include "D:/Finobe/globals/Dependencies/Grid/RccServiceHelper.php";
+ include "D:/Finobe/globals/Dependencies/Assets/Render.php";
+ include "D:/Finobe/globals/Dependencies/UI/ImageHelper.php";
+ include "D:/Finobe/globals/Dependencies/Users/Render.php";
+ include "D:/Finobe/globals/Dependencies/Common/Signing.php";
+ include "D:/Finobe/globals/Dependencies/Common/Email.php";
+ include "D:/Finobe/globals/Dependencies/Games/Ticket.php";
+ include "D:/Finobe/globals/Dependencies/Users/User.php";
+ include "D:/Finobe/globals/Dependencies/Users/Session.php";
+ include "D:/Finobe/globals/Dependencies/Users/Outfit.php";
+ include "D:/Finobe/globals/Dependencies/Moderation/Filter.php";
+ include "D:/Finobe/globals/Dependencies/Users/Badge.php";
+ include "D:/Finobe/globals/Dependencies/Administration/SignupKey.php";
+ include "D:/Finobe/globals/Dependencies/Economy/EconomyHelper.php";
+ include "D:/Finobe/globals/Dependencies/Groups/Group.php";
+ include "D:/Finobe/globals/Dependencies/Web/WebsiteSettings.php";
+ include "D:/Finobe/globals/Dependencies/Web/IpRange.php";
//authenticator
$authenticator = new PHPGangsta_GoogleAuthenticator();
@@ -138,7 +138,7 @@ try
$mail->SMTPSecure = "tls";
$mail->Port = 587;
$mail->Host = "smtp.gmail.com";
- $mail->Username = "alphalandtemp@gmail.com"; //google for now (easy and free)
+ $mail->Username = "finobetemp@gmail.com"; //google for now (easy and free)
$mail->Password = "117A7AE7CE40674453E00492CB699F54";
//cloudflare
@@ -233,5 +233,5 @@ try
}
catch (Exception $e)
{
- die("Alphaland is currently unavailable.");
+ die("Finobe is currently unavailable.");
}
\ No newline at end of file
diff --git a/globals/functions.php b/globals/functions.php
index 544eca5..7b24f1c 100644
--- a/globals/functions.php
+++ b/globals/functions.php
@@ -1,17 +1,17 @@
AssetTypeId;
switch ($assettypeid) {
@@ -606,13 +606,13 @@ function getRobloxProductInfo($assetid)
function ReturnAssetFromHash($hash) //asset CDN
{
- //alphaland assets cdn
+ //finobe assets cdn
WebContextManager::Redirect(constructAssetHashUrl($hash));
}
function ReturnThumbnailFromHash($hash) //thumb CDN (images)
{
- //alphaland thumb (images) cdn
+ //finobe thumb (images) cdn
WebContextManager::Redirect(constructThumbnailHashUrl($hash));
}
@@ -1097,7 +1097,7 @@ function canJoinUser($uid) //
function sendMail($from, $recipient, $subject, $body, $altbody)
{
- $job = popen("cd C:/Webserver/nginx/Alphaland && start /B php sendEmail.php ".$from." ".$recipient." ".base64_encode($subject)." ".base64_encode($body)." ".base64_encode($altbody), "r");
+ $job = popen("cd D:/Finobe && start /B php sendEmail.php ".$from." ".$recipient." ".base64_encode($subject)." ".base64_encode($body)." ".base64_encode($altbody), "r");
if ($job !== FALSE);
{
pclose($job);
@@ -1153,17 +1153,17 @@ function sendVerificationEmail($from, $recipient) //1 = success, 2 = cooldown, 3
$email_html = '
-

+
Click the button below to verify your email!
';
- $email_altbody = 'https://alphaland.cc/verifyemail?token='.$t.'';
+ $email_altbody = 'https://idk16.xyz/verifyemail?token='.$t.'';
$checkifverified = $GLOBALS['pdo']->prepare("SELECT * FROM users WHERE id = :u AND verified = 0");
$checkifverified->bindParam(":u", $localuser, PDO::PARAM_INT);
@@ -1217,7 +1217,7 @@ function changeEmail($newemail) //1 = success, 2 = cooldown, 3 = fail
{
$localuser = $GLOBALS['user']->id;
- $sendver = sendVerificationEmail("info@alphaland.cc", $newemail);
+ $sendver = sendVerificationEmail("info@idk16.xyz", $newemail);
if ($sendver == 1) //all good
{
@@ -1237,7 +1237,7 @@ function changeEmail($newemail) //1 = success, 2 = cooldown, 3 = fail
$unverify->bindParam(":u", $localuser, PDO::PARAM_INT);
if ($unverify->execute())
{
- $sendver2 = sendVerificationEmail("info@alphaland.cc", $newemail);
+ $sendver2 = sendVerificationEmail("info@idk16.xyz", $newemail);
if ($sendver2 == 1) //all good
{
@@ -1318,17 +1318,17 @@ function sendPasswordReset($from, $recipient, $recipientuid) //1 = success, 2 =
$email_html = '
-

+
Click the button below to reset your password!
';
- $email_altbody = 'https://alphaland.cc/settings/resetpassword?token='.$t.'';
+ $email_altbody = 'https://idk16.xyz/settings/resetpassword?token='.$t.'';
$check = $GLOBALS['pdo']->prepare("SELECT * FROM password_reset_keys WHERE uid = :u AND valid = 1");
$check->bindParam(":u", $recipientuid, PDO::PARAM_INT);
@@ -2568,47 +2568,47 @@ function getCurrentTheme() //returns the theme set (integer)
}
}
-function getCurrentThemeLogo() //grabs the alphaland logo for the users selected theme
+function getCurrentThemeLogo() //grabs the finobe logo for the users selected theme
{
$currenttheme = getCurrentTheme();
- //return $GLOBALS['url'] . "/alphaland/cdn/imgs/alpha-christmas/alphalandchristmas.png"; //force christmas logo
+ //return $GLOBALS['url'] . "/finobe/cdn/imgs/alpha-christmas/finobechristmas.png"; //force christmas logo
if ($currenttheme == 0) //light theme dark logo
{
- return $GLOBALS['url'] . "/alphaland/cdn/imgs/alphaland-logo.svg";
+ return $GLOBALS['url'] . "/finobe/cdn/imgs/finobe-logo.svg";
}
elseif ($currenttheme == 1) //dark theme light logo
{
- return $GLOBALS['url'] . "/alphaland/cdn/imgs/alphaland-white-1024.png";
+ return $GLOBALS['url'] . "/finobe/cdn/imgs/finobe-white-1024.png";
}
}
-function getCurrentThemeAlphabuxLogo() //grabs the alphaland alphabux logo for the users selected theme
+function getCurrentThemeAlphabuxLogo() //grabs the finobe alphabux logo for the users selected theme
{
$currenttheme = getCurrentTheme();
if ($currenttheme == 0) //light theme dark logo
{
- return $GLOBALS['url'] . "/alphaland/cdn/imgs/alphabux-black-1024.png";
+ return $GLOBALS['url'] . "/finobe/cdn/imgs/alphabux-black-1024.png";
}
elseif ($currenttheme == 1) //dark theme light logo
{
- return $GLOBALS['url'] . "/alphaland/cdn/imgs/alphabux-grey-1024.png";
+ return $GLOBALS['url'] . "/finobe/cdn/imgs/alphabux-grey-1024.png";
}
}
-function getCurrentThemeAnimatedLogo() //grabs the alphaland animated logo for the users selected theme
+function getCurrentThemeAnimatedLogo() //grabs the finobe animated logo for the users selected theme
{
$currenttheme = getCurrentTheme();
if ($currenttheme == 0) //light theme dark logo
{
- return $GLOBALS['url'] . "/alphaland/cdn/imgs/loading-dark.gif";
+ return $GLOBALS['url'] . "/finobe/cdn/imgs/loading-dark.gif";
}
elseif ($currenttheme == 1) //dark theme light logo
{
- return $GLOBALS['url'] . "/alphaland/cdn/imgs/loading-light.gif";
+ return $GLOBALS['url'] . "/finobe/cdn/imgs/loading-light.gif";
}
}
@@ -2624,7 +2624,7 @@ function getCurrentThemeStyle() //grabs the style sheet for the users selected t
if ($currenttheme == 1) //dark theme
{
- return '';
+ return '';
}
}
}
@@ -2638,16 +2638,16 @@ function getCSS($studio=false)
}
return '
-
-
+
+
'.$theme.'
-
- ';
+
+ ';
}
//end theme stuff
@@ -2667,7 +2667,7 @@ function getFooter()
@@ -2677,13 +2677,13 @@ function getFooter()
-
Alphaland is not affiliated with Lego, ROBLOX, MegaBloks, Bionicle, Pokemon, Nintendo, Lincoln Logs, Yu Gi Oh, K\'nex, Tinkertoys, Erector Set, or the Pirates of the Caribbean. ARrrr!
+
Finobe is not affiliated with Lego, ROBLOX, MegaBloks, Bionicle, Pokemon, Nintendo, Lincoln Logs, Yu Gi Oh, K\'nex, Tinkertoys, Erector Set, or the Pirates of the Caribbean. ARrrr!
@@ -2789,7 +2789,7 @@ function getNav()
'.$modbutton.'
'.(($user->IsAdmin())? '
- Admin
+ Admin
':'').'
@@ -2801,7 +2801,7 @@ function getNav()
-
-
'.$user->currency.'
+
'.$user->currency.'
-
@@ -2820,7 +2820,7 @@ function getNav()
'.$gameserverstatus.'
';
}
@@ -2828,7 +2828,7 @@ function getNav()