From 7a4c188b385bcfc9f0039ff404a65bc155822ad6 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sat, 22 Oct 2022 10:32:35 +1100 Subject: [PATCH] enable guest mode --- resources/views/client/join.blade.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/client/join.blade.php b/resources/views/client/join.blade.php index 68acd0a..5ce0c8c 100644 --- a/resources/views/client/join.blade.php +++ b/resources/views/client/join.blade.php @@ -15,7 +15,7 @@ if (Auth::check()) { } else { $randName = mt_rand(1, 9999); $username = "Guest " . $randName; - $id = 0; + $id = mt_rand(1000, 9999); $app = 'http://morblox.us/Asset/CharacterFetch.ashx?userId=0'; } $ip = addslashes($_GET["ip"]); @@ -116,10 +116,10 @@ function setMessage(message) end -- Check if client is not logged in -if == 0 then - setMessage("You are not logged in. (ID: 400)", "Kick", "Kick") - error("Not logged in") -end +--if == 0 then +-- setMessage("You are not logged in. (ID: 400)", "Kick", "Kick") +-- error("Not logged in") +--end function showErrorWindow(message, errorType, errorCategory) game:SetMessage(message)