fixed Novetus breaking when trying to load addons. Bitl moment.

This commit is contained in:
Bitl 2022-07-06 11:53:22 -07:00
parent 9e3fd050c1
commit 75daff0663
13 changed files with 37 additions and 37 deletions

View File

@ -1,4 +1,4 @@
1.3 Snapshot v22.8222.19775.1
1.3 Snapshot v22.8222.20490.1
Enhancements:
- Every client now has support for custom addon scripts!
- Install it to clients/[Client Name]/scripts/addon.lua.

View File

@ -228,7 +228,7 @@ end
print("ROBLOX Client version '0.3.368.0' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:service("NetworkServer")
RunService = game:service("RunService")
PlayerService = game:service("Players")
@ -393,7 +393,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:service("RunService"):run()
local plr = game.Players:createLocalPlayer(UserID)
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
@ -422,7 +422,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -228,7 +228,7 @@ end
print("ROBLOX Client version '0.3.368.0' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:service("NetworkServer")
RunService = game:service("RunService")
PlayerService = game:service("Players")
@ -393,7 +393,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:service("RunService"):run()
local plr = game.Players:createLocalPlayer(UserID)
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
@ -422,7 +422,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -290,7 +290,7 @@ end
print("ROBLOX Client version '0.3.368.0' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:service("NetworkServer")
RunService = game:service("RunService")
PlayerService = game:service("Players")
@ -451,7 +451,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:service("RunService"):run()
local plr = game.Players:createLocalPlayer(UserID)
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
@ -480,7 +480,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -290,7 +290,7 @@ end
print("ROBLOX Client version '0.3.368.0' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:service("NetworkServer")
RunService = game:service("RunService")
PlayerService = game:service("Players")
@ -451,7 +451,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:service("RunService"):run()
local plr = game.Players:createLocalPlayer(UserID)
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
@ -480,7 +480,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -350,7 +350,7 @@ end
print("ROBLOX Client version '0.3.512.0' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:GetService("NetworkServer")
RunService = game:GetService("RunService")
PlayerService = game:GetService("Players")
@ -510,7 +510,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):run()
local plr = game.Players:CreateLocalPlayer(UserID)
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
@ -538,7 +538,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -350,7 +350,7 @@ end
print("ROBLOX Client version '0.3.512.0' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:GetService("NetworkServer")
RunService = game:GetService("RunService")
PlayerService = game:GetService("Players")
@ -510,7 +510,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):run()
local plr = game.Players:CreateLocalPlayer(UserID)
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
@ -538,7 +538,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -468,7 +468,7 @@ rbxversion = version()
print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:GetService("NetworkServer")
RunService = game:GetService("RunService")
Server:start(Port, 20)
@ -628,7 +628,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):run()
local plr = game.Players:CreateLocalPlayer(UserID)
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
@ -657,7 +657,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -549,7 +549,7 @@ rbxversion = version()
print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:GetService("NetworkServer")
RunService = game:GetService("RunService")
Server:start(Port, 20)
@ -722,7 +722,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):run()
local plr = game.Players:CreateLocalPlayer(UserID)
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
@ -751,7 +751,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -549,7 +549,7 @@ rbxversion = version()
print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
Server = game:GetService("NetworkServer")
RunService = game:GetService("RunService")
Server:start(Port, 20)
@ -722,7 +722,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):run()
local plr = game.Players:CreateLocalPlayer(UserID)
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
@ -751,7 +751,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -554,7 +554,7 @@ rbxversion = version()
print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.")
local NetworkServer=game:GetService("NetworkServer")
local RunService = game:GetService("RunService")
@ -744,7 +744,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):Run()
local plr = game.Players:CreateLocalPlayer(UserID)
plr.Name = PlayerName
@ -776,7 +776,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -578,7 +578,7 @@ rbxversion = version()
print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.")
local NetworkServer=game:GetService("NetworkServer")
local RunService = game:GetService("RunService")
@ -777,7 +777,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
game:GetService("RunService"):Run()
local plr = game.Players:CreateLocalPlayer(UserID)
plr.Name = PlayerName
@ -816,7 +816,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio()
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
end
_G.CSServer=CSServer

View File

@ -576,7 +576,7 @@ rbxversion = version()
print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts,NewGUI)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
pcall(function()
id = -1
if NewGUI == true then
@ -781,7 +781,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
end
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,NewGUI)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
pcall(function()
id = -1
if NewGUI == true then
@ -829,7 +829,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
end
function CSStudio(NewGUI)
dofile("rbxasset://scripts//Addon.lua")
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
pcall(function()
id = -1
if NewGUI == true then