From b2fcdf25835131520bfbd503ae1a24292ba11d60 Mon Sep 17 00:00:00 2001 From: Conkley Date: Sun, 7 Aug 2022 11:17:13 +1000 Subject: [PATCH 1/3] small fixes --- resources/views/client/insertasset.blade.php | 2 +- resources/views/maintenance.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/client/insertasset.blade.php b/resources/views/client/insertasset.blade.php index b70f487..c3f4ff5 100644 --- a/resources/views/client/insertasset.blade.php +++ b/resources/views/client/insertasset.blade.php @@ -14,7 +14,7 @@ //header("location:" . "http://morblox.us/stamper/base/{$userid}.xml"); } //http://www.morblox.us/stamper/inseassetcollect.php?sid=433603 - if ($sid !== 0 && $type == 0) + if ($sid != 0 && $type == "0") { header("content-type:text/xml"); $file = "http://morblox.us/stamper/sid/{$sid}.xml"; diff --git a/resources/views/maintenance.blade.php b/resources/views/maintenance.blade.php index ff30fe9..d13e6ef 100644 --- a/resources/views/maintenance.blade.php +++ b/resources/views/maintenance.blade.php @@ -13,8 +13,8 @@

Oh Noes! ARCHBLOX is currently under maintenance.

ARCHBLOX will be back soon, so please be patient.


-

Impaitient? Join our Discord Server for status updates.

-@if (!Auth::guest() && Auth::user()->isAdmin()) +

Impatient? Join our Discord Server for status updates.

+@if (Auth::check() && Auth::user()->isAdmin())

Since you are an admin, you may access the main site during maintenance.

Note that some features may be broken during this period. From 0552e1ea9456b46fbb18f3d08ba2ef6d85052b19 Mon Sep 17 00:00:00 2001 From: Conkley Date: Sun, 7 Aug 2022 12:03:16 +1000 Subject: [PATCH 2/3] sid --- resources/views/client/insertasset.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/client/insertasset.blade.php b/resources/views/client/insertasset.blade.php index c3f4ff5..d5ac9a0 100644 --- a/resources/views/client/insertasset.blade.php +++ b/resources/views/client/insertasset.blade.php @@ -3,7 +3,7 @@ $nsets = (int)$_GET["nsets"]; $type = (string)$_GET["type"]; $userid = (int)$_GET["userid"]; - $sid = (int)$_GET["sid"]; + //$sid = (int)$_GET["sid"]; //http://roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=11744447 if ($nsets == 20 && $type == "user") { @@ -14,10 +14,10 @@ //header("location:" . "http://morblox.us/stamper/base/{$userid}.xml"); } //http://www.morblox.us/stamper/inseassetcollect.php?sid=433603 - if ($sid != 0 && $type == "0") + /*if ($sid != 0 && $type == "0") { header("content-type:text/xml"); $file = "http://morblox.us/stamper/sid/{$sid}.xml"; readfile($file); - } + }*/ @endphp \ No newline at end of file From 07f70e65d0933cd83bdcc20047d7008722209b43 Mon Sep 17 00:00:00 2001 From: Conkley Date: Sun, 7 Aug 2022 16:38:23 +1000 Subject: [PATCH 3/3] stamper fixes --- resources/views/client/insertasset.blade.php | 6 +++--- resources/views/client/join.blade.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/client/insertasset.blade.php b/resources/views/client/insertasset.blade.php index d5ac9a0..c3f4ff5 100644 --- a/resources/views/client/insertasset.blade.php +++ b/resources/views/client/insertasset.blade.php @@ -3,7 +3,7 @@ $nsets = (int)$_GET["nsets"]; $type = (string)$_GET["type"]; $userid = (int)$_GET["userid"]; - //$sid = (int)$_GET["sid"]; + $sid = (int)$_GET["sid"]; //http://roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=11744447 if ($nsets == 20 && $type == "user") { @@ -14,10 +14,10 @@ //header("location:" . "http://morblox.us/stamper/base/{$userid}.xml"); } //http://www.morblox.us/stamper/inseassetcollect.php?sid=433603 - /*if ($sid != 0 && $type == "0") + if ($sid != 0 && $type == "0") { header("content-type:text/xml"); $file = "http://morblox.us/stamper/sid/{$sid}.xml"; readfile($file); - }*/ + } @endphp \ No newline at end of file diff --git a/resources/views/client/join.blade.php b/resources/views/client/join.blade.php index 99eeac0..7f8e9c0 100644 --- a/resources/views/client/join.blade.php +++ b/resources/views/client/join.blade.php @@ -76,7 +76,7 @@ end) game:GetService("ChangeHistoryService"):SetEnabled(false) game:GetService("ContentProvider"):SetThreadPool(16) game:GetService("InsertService"):SetBaseSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=10&type=base") -game:GetService("InsertService"):SetUserSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d") +game:GetService("InsertService"):SetUserSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d&sid=%d) game:GetService("InsertService"):SetCollectionUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?sid=%d") game:GetService("InsertService"):SetAssetUrl("http://www.morblox.us/asset/?id=%d") game:GetService("InsertService"):SetAssetVersionUrl("http://www.morblox.us/Asset/?assetversionid=%d")