From 5bceba6adcad3fb4de9382d3ecefeca4e41bd5b4 Mon Sep 17 00:00:00 2001 From: Bitl Date: Sun, 18 Sep 2022 08:31:26 -0700 Subject: [PATCH] 2009l is actually fixed --- changelog.txt | 6 ++- scripts/batch/Novetus_launcher_legacy.bat | 31 +++++++----- scripts/game/2009L/CSMPFunctions.lua | 59 ++++++++++------------- scripts/launcher/info.ini | 2 +- 4 files changed, 50 insertions(+), 48 deletions(-) diff --git a/changelog.txt b/changelog.txt index a4cfd7e..01b31d2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,8 +1,12 @@ -1.3 Snapshot v22.8293.20101.1 +1.3 Snapshot v22.8296.15106.1 Enhancements: +- Novetus Console now doesn't load with the Novetus launcher by default via the bootstrapper/legacy launcher. +- Added -nocmd to launching the launcher without the Novetus Console. + Fixes: - Fixed an issue where you couldn't respawn in 2009L Play Solo. - Updated the Legacy Launcher. +- Fixed an issue where Novetus was using abnormal CPU usage. ---------------------------------------------------------------------------- 1.3 Snapshot v22.8293.20101.1 Enhancements: diff --git a/scripts/batch/Novetus_launcher_legacy.bat b/scripts/batch/Novetus_launcher_legacy.bat index fdceaf1..dd8edc6 100644 --- a/scripts/batch/Novetus_launcher_legacy.bat +++ b/scripts/batch/Novetus_launcher_legacy.bat @@ -37,36 +37,41 @@ ECHO. ECHO NOVETUS LEGACY LAUNCHER ECHO. ECHO 1 - Play -ECHO 2 = Install Required Dependencies -ECHO 3 - Novetus SDK -ECHO 4 - Novetus Console (Server Mode) -ECHO 5 - Novetus Console Help -ECHO 6 - Install URI -ECHO 7 - Exit +ECHO 2 - Play with Console +ECHO 3 = Install Required Dependencies +ECHO 4 - Novetus SDK +ECHO 5 - Novetus Console (Server Mode) +ECHO 6 - Novetus Console Help +ECHO 7 - Install URI +ECHO 8 - Exit ECHO. SET /P M=Choose an option by typing the number corresponding to which utility you want to launch: IF %M%==1 CLS -IF %M%==1 start "" "%CD%/bin/Novetus.exe" +IF %M%==1 start "" "%CD%/bin/Novetus.exe" -nocmd IF %M%==1 EXIT IF %M%==2 CLS -IF %M%==2 call "%CD%/Novetus_dependency_installer.bat" +IF %M%==2 start "" "%CD%/bin/Novetus.exe" +IF %M%==2 EXIT IF %M%==3 CLS -IF %M%==3 start "" "%CD%/bin/Novetus.exe" -sdk -IF %M%==3 EXIT +IF %M%==3 call "%CD%/Novetus_dependency_installer.bat" IF %M%==4 CLS -IF %M%==4 start "" "%CD%/bin/Novetus.exe" -cmd -cmdmode +IF %M%==4 start "" "%CD%/bin/Novetus.exe" -sdk IF %M%==4 EXIT IF %M%==5 CLS -IF %M%==5 start "" "%CD%/bin/Novetus.exe" -cmd -help +IF %M%==5 start "" "%CD%/bin/Novetus.exe" -cmdonly -cmdmode IF %M%==5 EXIT IF %M%==6 CLS -IF %M%==6 start "" "%CD%/bin/NovetusURI.exe" +IF %M%==6 start "" "%CD%/bin/Novetus.exe" -cmdonly -help IF %M%==6 EXIT +IF %M%==7 CLS +IF %M%==7 start "" "%CD%/bin/NovetusURI.exe" IF %M%==7 EXIT + +IF %M%==8 EXIT EXIT diff --git a/scripts/game/2009L/CSMPFunctions.lua b/scripts/game/2009L/CSMPFunctions.lua index 4efade8..46c398a 100644 --- a/scripts/game/2009L/CSMPFunctions.lua +++ b/scripts/game/2009L/CSMPFunctions.lua @@ -620,24 +620,22 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti pcall(function() _G.CSScript_OnPlayerAdded(Player) end) - coroutine.resume(coroutine.create(function() - while true do - wait(0.001) - if (game.Lighting:findFirstChild("DisableRespawns") == nil) then - if (Player.Character ~= nil) then - if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - end + while true do + wait(0.001) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end end end - end)) + end end) PlayerService.PlayerRemoving:connect(function(Player) print("Player '" .. Player.Name .. "' with ID '" .. Player.userId .. "' leaving") @@ -757,8 +755,6 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, wait(0.5) LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false) game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm") - newWaitForChild(game.StarterGui, "Health") - game.StarterGui.Health:clone().Parent = plr.PlayerGui game:GetService("Visit"):SetUploadUrl("") pcall(function() _G.CSScript_PostInit() end) coroutine.resume(coroutine.create(function() @@ -768,25 +764,22 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end end)) - coroutine.resume(coroutine.create(function() - while true do - wait(0.001) - print("test") - if (game.Lighting:findFirstChild("DisableRespawns") == nil) then - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - end + while true do + wait(0.001) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) end end end - end)) + end end function CSStudio() diff --git a/scripts/launcher/info.ini b/scripts/launcher/info.ini index 7f795da..e5dc0b8 100644 --- a/scripts/launcher/info.ini +++ b/scripts/launcher/info.ini @@ -10,4 +10,4 @@ ExtendedVersionEditChangelog=True ExtendedVersionTemplate=%version% Snapshot v22.%build%.%revision%.%extended-revision% ExtendedVersionRevision=1 IsLite=False -InitialBootup=False +InitialBootup=True