Add helpful information

This commit is contained in:
Thomas G 2023-04-07 12:19:50 +10:00
parent 946adef3ff
commit 478735fdc5
5 changed files with 260 additions and 1 deletions

52
AssetIdConverterV2.lua Normal file
View File

@ -0,0 +1,52 @@
local assetPropertyNames = {"Texture", "TextureId", "SoundId", "MeshId", "SkyboxUp", "SkyboxLf", "SkyboxBk", "SkyboxRt", "SkyboxFt", "SkyboxDn", "PantsTemplate", "ShirtTemplate", "Graphic", "Frame", "ImageLabel", "GuiMain", "Image", "LinkedSource", "AnimationId"}
local variations = {"http://www%.roblox%.com/asset/%?id=", "http://www%.roblox%.com/asset%?id=", "http://%.roblox%.com/asset/%?id=", "http://%.roblox%.com/asset%?id="}
function GetDescendants(o)
local allObjects = {}
function FindChildren(Object)
for _,v in pairs(Object:GetChildren()) do
table.insert(allObjects,v)
FindChildren(v)
end
end
FindChildren(o)
return allObjects
end
local replacedProperties = 0--Amount of properties changed
local replacedSourceCodes = 0
for i, v in pairs(GetDescendants(game)) do
if v.ClassName == 'Script' or v.ClassName == 'LocalScript' then
local SourceCode = v.Source
if SourceCode then
for _, variation in pairs(variations) do
local String, Number = string.gsub(SourceCode, variation, "http://www%.morblox%.us/asset/%?id=")
SourceCode = String
if Number > 0 then
replacedSourceCodes = replacedSourceCodes + Number
end
end
v.Source = SourceCode
end
end
for _, property in pairs(assetPropertyNames) do
pcall(function()
if v[property] and not v:FindFirstChild(property) then --Check for property, make sure we're not getting a child instead of a property
assetText = string.lower(v[property])
for _, variation in pairs(variations) do
v[property], matches = string.gsub(assetText, variation, "http://www%.morblox%.us/asset/%?id=")
if matches > 0 then
replacedProperties = replacedProperties + 1
print("Replaced " .. property .. " asset link for " .. v.Name)
break
end
end
end
end)
end
end
print("Updated " .. replacedProperties .. " AssetIds")
print("Changed " .. replacedSourceCodes .. " lines of code")

82
id.html Normal file
View File

@ -0,0 +1,82 @@
<html lang="en-us" class="loggedout">
<head>
<title>ARCHBLOX - ID Errors</title>
<meta charset="utf-8">
<meta content="ARCHBLOX - ID Errors" property="og:title">
<meta content="Get help about ID based errors here." property="og:description">
<meta content="https://help.archblox.com/id" property="og:url" />
<meta content="https://help.archblox.com/img/MORBLOXlogo.png" property="og:image" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="https://help.archblox.com/img/MORBLOX.png" />
<link rel="apple-touch-startup-image" href="https://help.archblox.com/img/MORBLOXsplash.png" />
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
<link rel="icon" type="image/x-icon" href="https://help.archblox.com/MORBLOX.ico">
<link href="https://help.archblox.com/css/app.css" rel="stylesheet">
<script src="https://help.archblox.com/js/darkmode.js"></script>
<script>
getDarkMode()
</script>
<script>
var a=document.getElementsByTagName("a");
for(var i=0;i<a.length;i++)
{
a[i].onclick=function()
{
window.location=this.getAttribute("href");
return false
}
}
</script>
<script src="https://help.archblox.com/js/detect.css" defer></script>
</head>
<body>
<br />
<div id="logo_signup">
<a href="https://help.archblox.com"><img alt="ARCHBLOX Logo" src="https://help.archblox.com/img/ARCHBLOXarched.png" width="200"
height="40" /></a>
</div>
<div class="content_signup">
<h1>ID Errors</h1>
<p>Use the Find feature on your browser to find your error.</p>
<p>If you can't find an ID, contact us on our discord.</p>
<br />
<h2>ID 6</h2>
<p>Check your internet connection, and check your ability to connect to <a href="http://archblox.com/client/version.txt">client.txt</a> or <a href="http://archblox.com/studio/version.txt">studio.txt</a>. If the site is down, you cannot play ARCHBLOX or ARCHBLOX Studio. <a href="https ://status.archblox.com">You can check the current site status here</a>.</p>
<br />
<h2>ID 17, ID 18</h2>
<p>Ask the server host if they are using a VPN (such as Hamachi or RAdmin) or Port Forwarding.</p>
<br />
<p>Ask the hoster to check Windows Defender Firewall > Inbound Rules and make sure ARCHBLOX is Allowed on the firewall settings.</p>
<br />
<p>If you are using RAdmin, check that you are connected to the ARCHBLOX RAdmin server and RAdmin vpn is running on your computer.</p>
<br />
<p>Check if you are using the latest version of ARCHBLOX Launcher.</p>
<br />
<p>Try joining again.</p>
<br />
<p>If you are trying to join Thomas' test place, Thomas may not be hosting it at the moment.</p>
<br />
<h2>ID 200</h2>
<p>Your internet connection has dropped out or disconnected, or the server hoster's internet connection has dropped out or disconnected, or the server hoster is no longer hosting the game.</p>
<br />
<h2>ID 210</h2>
<p>The server hoster is no longer hosting the game.</p>
<br />
<h2>ID 400</h2>
<p>You should not be seeing this error if guests are enabled.</p>
<br />
<p>You are not logged in. Open ARCHBLOX Studio, press Log In and log in from there. Turn on Remember Me and then try launching the game again. If you're having trouble, <a href="https://www.youtube.com/watch?v=HS7QJptF_Sk">watch this video</a>.</p>
<br />
<h2>ID 410</h2>
<p>Your ARCHBLOX launcher does not support the new join method. Please <a href="https://archblox.com/download">update your launcher</a> to 2.3 or newer.</p>
<br />
<h2>ID 500</h2>
<p>This means that you sent invalid arguments to the launcher. Make sure you spelt them correctly, and make sure there are no spaces. They are case sensitive.</p>
<br />
<p>Your ARCHBLOX launcher/studio does not support the newer launch arguments. <a href="https://archblox.com/download">Download a newer version</a>.</p>
</div>
</body>
</html>

View File

@ -32,10 +32,16 @@
</head>
<body>
<br />
<div id="logo_signup">
<a href="https://help.archblox.com"><img alt="ARCHBLOX Logo" src="https://help.archblox.com/img/ARCHBLOXarched.png" width="200"
height="40" /></a>
</div>
<div class="content_signup">
<h1>ARCHBLOX Help</h1>
<p>nil</p>
<p>Get some help here.</p>
<br />
<p><a href="https://help.archblox.com/id">ID Errors</a> | <a href="https://help.archblox.com/launcher">Launcher Help</a> | <a href="https://help.archblox.com/launcher">Studio Help</a></p>
</div>
</body>

60
launcher.html Normal file
View File

@ -0,0 +1,60 @@
<html lang="en-us" class="loggedout">
<head>
<title>ARCHBLOX - Launcher Help</title>
<meta charset="utf-8">
<meta content="ARCHBLOX - Launcher Help" property="og:title">
<meta content="Get help about ARCHBLOX Launcher here." property="og:description">
<meta content="https://help.archblox.com/launcher" property="og:url" />
<meta content="https://help.archblox.com/img/MORBLOXlogo.png" property="og:image" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="https://help.archblox.com/img/MORBLOX.png" />
<link rel="apple-touch-startup-image" href="https://help.archblox.com/img/MORBLOXsplash.png" />
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
<link rel="icon" type="image/x-icon" href="https://help.archblox.com/MORBLOX.ico">
<link href="https://help.archblox.com/css/app.css" rel="stylesheet">
<script src="https://help.archblox.com/js/darkmode.js"></script>
<script>
getDarkMode()
</script>
<script>
var a=document.getElementsByTagName("a");
for(var i=0;i<a.length;i++)
{
a[i].onclick=function()
{
window.location=this.getAttribute("href");
return false
}
}
</script>
<script src="https://help.archblox.com/js/detect.css" defer></script>
</head>
<body>
<br />
<div id="logo_signup">
<a href="https://help.archblox.com"><img alt="ARCHBLOX Logo" src="https://help.archblox.com/img/ARCHBLOXarched.png" width="200"
height="40" /></a>
</div>
<div class="content_signup">
<h1>Launcher Help</h1>
<p>Use the Find feature on your browser to find your error.</p>
<p>If you can't find what you're looking for, contact us on our discord.</p>
<br />
<h2>"To run this application, you need .NET Core"</h2>
<p>You need to download .NET Core 3.1.</p>
<p><a href=" https://download.visualstudio.microsoft.com/download/pr/b7692772-f2fd-4b38-bfc0-fc58948f34f0/1c615597c56348c7b742d2319bc1fe45/windowsdesktop-runtime-3.1.0-win-x64.exe">64 Bit</a> <a href="https://download.visualstudio.microsoft.com/download/pr/eb453afa-a90b-4782-9a93-9179be59525a/046c6b337c803a359673e35efa2a4cfc/windowsdesktop-runtime-3.1.0-win-x86.exe">32 Bit</a></p>
<br />
<h2>General help</h2>
<p>Check if you have the latest version of the Launcher.</p>
<br />
<p>Check if the latest version of ARCHBLOX is installed.</p>
<br />
<p>(if RBXL is in content folder) Move the RBXL to a different folder then retry.</p>
<br />
<p>Make sure that the RBXL you are using is in XML format.</p>
</div>
</body>
</html>

59
studio.html Normal file
View File

@ -0,0 +1,59 @@
<html lang="en-us" class="loggedout">
<head>
<title>ARCHBLOX - Studio Help</title>
<meta charset="utf-8">
<meta content="ARCHBLOX - Studio Help" property="og:title">
<meta content="Get help about ARCHBLOX Studio here." property="og:description">
<meta content="https://help.archblox.com/launcher" property="og:url" />
<meta content="https://help.archblox.com/img/MORBLOXlogo.png" property="og:image" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="https://help.archblox.com/img/MORBLOX.png" />
<link rel="apple-touch-startup-image" href="https://help.archblox.com/img/MORBLOXsplash.png" />
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
<link rel="icon" type="image/x-icon" href="https://help.archblox.com/MORBLOX.ico">
<link href="https://help.archblox.com/css/app.css" rel="stylesheet">
<script src="https://help.archblox.com/js/darkmode.js"></script>
<script>
getDarkMode()
</script>
<script>
var a=document.getElementsByTagName("a");
for(var i=0;i<a.length;i++)
{
a[i].onclick=function()
{
window.location=this.getAttribute("href");
return false
}
}
</script>
<script src="https://help.archblox.com/js/detect.css" defer></script>
</head>
<body>
<br />
<div id="logo_signup">
<a href="https://help.archblox.com"><img alt="ARCHBLOX Logo" src="https://help.archblox.com/img/ARCHBLOXarched.png" width="200"
height="40" /></a>
</div>
<div class="content_signup">
<h1>Studio Help</h1>
<p>Use the Find feature on your browser to find your error.</p>
<p>If you can't find what you're looking for, contact us on our discord.</p>
<br />
<h2>"To run this application, you need .NET Core"</h2>
<p>You need to download .NET Core 3.1.</p>
<p><a href="https://download.visualstudio.microsoft.com/download/pr/b7692772-f2fd-4b38-bfc0-fc58948f34f0/1c615597c56348c7b742d2319bc1fe45/windowsdesktop-runtime-3.1.0-win-x64.exe">64 Bit</a> <a href="https://download.visualstudio.microsoft.com/download/pr/eb453afa-a90b-4782-9a93-9179be59525a/046c6b337c803a359673e35efa2a4cfc/windowsdesktop-runtime-3.1.0-win-x86.exe">32 Bit</a></p>
<br />
<h2>"Side-By-Side Configuration is incorrect"</h2>
<p><a href="https://www.microsoft.com/en-us/download/details.aspx?id=26368">Download Microsoft Visual C++ 2008 Redistributable Package</a> and choose x86 when prompted on what version to download.</p>
<br />
<h2>Decals/Audio/Meshes are not loading</h2>
<p>ARCHBLOX's asset servers may be down. If not, try this:</p>
<br />
<p>Replace references of "www.roblox.com" to "www.morblox.us", or run this script in studio: <a href="https://help.archblox.com/AssetIdConverterV2.lua">Asset ID Converter</a> by Haze#7082</p>
</div>
</body>
</html>