From 478735fdc56e49e12172076f28520a4973ace917 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Fri, 7 Apr 2023 12:19:50 +1000 Subject: [PATCH] Add helpful information --- AssetIdConverterV2.lua | 52 +++++++++++++++++++++++++++ id.html | 82 ++++++++++++++++++++++++++++++++++++++++++ index.html | 8 ++++- launcher.html | 60 +++++++++++++++++++++++++++++++ studio.html | 59 ++++++++++++++++++++++++++++++ 5 files changed, 260 insertions(+), 1 deletion(-) create mode 100644 AssetIdConverterV2.lua create mode 100644 id.html create mode 100644 launcher.html create mode 100644 studio.html diff --git a/AssetIdConverterV2.lua b/AssetIdConverterV2.lua new file mode 100644 index 0000000..7780517 --- /dev/null +++ b/AssetIdConverterV2.lua @@ -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") \ No newline at end of file diff --git a/id.html b/id.html new file mode 100644 index 0000000..6561790 --- /dev/null +++ b/id.html @@ -0,0 +1,82 @@ + + + ARCHBLOX - ID Errors + + + + + + + + + + + + + + + + + + + +
+
+ ARCHBLOX Logo +
+
+

ID Errors

+

Use the Find feature on your browser to find your error.

+

If you can't find an ID, contact us on our discord.

+
+

ID 6

+

Check your internet connection, and check your ability to connect to client.txt or studio.txt. If the site is down, you cannot play ARCHBLOX or ARCHBLOX Studio. You can check the current site status here.

+
+

ID 17, ID 18

+

Ask the server host if they are using a VPN (such as Hamachi or RAdmin) or Port Forwarding.

+
+

Ask the hoster to check Windows Defender Firewall > Inbound Rules and make sure ARCHBLOX is Allowed on the firewall settings.

+
+

If you are using RAdmin, check that you are connected to the ARCHBLOX RAdmin server and RAdmin vpn is running on your computer.

+
+

Check if you are using the latest version of ARCHBLOX Launcher.

+
+

Try joining again.

+
+

If you are trying to join Thomas' test place, Thomas may not be hosting it at the moment.

+
+

ID 200

+

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.

+
+

ID 210

+

The server hoster is no longer hosting the game.

+
+

ID 400

+

You should not be seeing this error if guests are enabled.

+
+

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, watch this video.

+
+

ID 410

+

Your ARCHBLOX launcher does not support the new join method. Please update your launcher to 2.3 or newer.

+
+

ID 500

+

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.

+
+

Your ARCHBLOX launcher/studio does not support the newer launch arguments. Download a newer version.

+
+ + + diff --git a/index.html b/index.html index 5a4ff89..77416cc 100644 --- a/index.html +++ b/index.html @@ -32,10 +32,16 @@ +
+
+ ARCHBLOX Logo +

ARCHBLOX Help

-

nil

+

Get some help here.


+

ID Errors | Launcher Help | Studio Help

diff --git a/launcher.html b/launcher.html new file mode 100644 index 0000000..06960f5 --- /dev/null +++ b/launcher.html @@ -0,0 +1,60 @@ + + + ARCHBLOX - Launcher Help + + + + + + + + + + + + + + + + + + + +
+
+ ARCHBLOX Logo +
+
+

Launcher Help

+

Use the Find feature on your browser to find your error.

+

If you can't find what you're looking for, contact us on our discord.

+
+

"To run this application, you need .NET Core"

+

You need to download .NET Core 3.1.

+

64 Bit 32 Bit

+
+

General help

+

Check if you have the latest version of the Launcher.

+
+

Check if the latest version of ARCHBLOX is installed.

+
+

(if RBXL is in content folder) Move the RBXL to a different folder then retry.

+
+

Make sure that the RBXL you are using is in XML format.

+
+ + + diff --git a/studio.html b/studio.html new file mode 100644 index 0000000..b2b8f63 --- /dev/null +++ b/studio.html @@ -0,0 +1,59 @@ + + + ARCHBLOX - Studio Help + + + + + + + + + + + + + + + + + + + +
+
+ ARCHBLOX Logo +
+
+

Studio Help

+

Use the Find feature on your browser to find your error.

+

If you can't find what you're looking for, contact us on our discord.

+
+

"To run this application, you need .NET Core"

+

You need to download .NET Core 3.1.

+

64 Bit 32 Bit

+
+

"Side-By-Side Configuration is incorrect"

+

Download Microsoft Visual C++ 2008 Redistributable Package and choose x86 when prompted on what version to download.

+
+

Decals/Audio/Meshes are not loading

+

ARCHBLOX's asset servers may be down. If not, try this:

+
+

Replace references of "www.roblox.com" to "www.morblox.us", or run this script in studio: Asset ID Converter by Haze#7082

+
+ + +