Removed IsolatePlayerGui; Use IsolateLocalPlayer Instead

This commit is contained in:
htt-py
2024-04-01 10:00:36 +02:00
parent 5112c962b7
commit 06edc4d67e
3 changed files with 25 additions and 25 deletions

View File

@@ -117,7 +117,7 @@ https://discord.com/invite/wx4ThpAsmw **/** https://discord.gg/wx4ThpAsmw<br />
* [x] SavePlayers
* [x] ShowStatus
* [ ] Add Drawing Library support for ShowStatus
* [ ] IsolatePlayerGui
* ~~[-] IsolatePlayerGui~~ Use IsolateLocalPlayer instead
* [ ] Callback
* [ ] Clipboard
* [ ] Binary (rbxl/rbxm)

View File

@@ -875,7 +875,6 @@ PropertiesBlacklist = {},
IgnoreNotArchivable = true,
IgnorePropertiesOfNotScriptsOnScriptsMode = false, -- Ignores property of every instance that is not a script in "scripts" mode
IgnoreSpecialProperties = false, -- true will disable Terrain & Break MeshPart Sizes (very likely)
IsolatePlayerGui = false,
IsolateStarterPlayer = false, --If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
IsolateLocalPlayer = false, -- Saves Children of LocalPlayer as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
IsolateLocalPlayerCharacter = false, -- Saves Children of LocalPlayer.Character as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
@@ -961,17 +960,18 @@ IgnoreSharedStrings = true, -- ! FIXES CRASHES (TEMPORARY, TESTED ON ROEXEC ONLY
if mode == "optimized" then -- ! NOT supported with Model file mode
mode = "full"
end
if not CustomOptions.IsolateLocalPlayerCharacter then
OPTIONS.IsolateLocalPlayerCharacter = false
end
if not CustomOptions.IsolateStarterPlayer then
OPTIONS.IsolateStarterPlayer = false
end
if not CustomOptions.IsolateLocalPlayer then
OPTIONS.IsolateLocalPlayer = false
end
if not CustomOptions.NilInstances then
OPTIONS.NilInstances = false
for _, key in next,
{
"IsolateLocalPlayerCharacter",
"IsolateStarterPlayer",
"IsolateLocalPlayer",
"NilInstances",
}
do
if not CustomOptions[key] then
OPTIONS[key] = false
end
end
placename = (FilePath or "model" .. PlaceId .. "_" .. ToSaveInstance:GetDebugId(0)) .. ".rbxmx" -- * GetDebugId is only unique per instance within same game session, after rejoining it might be different

View File

@@ -874,7 +874,6 @@ local function synsaveinstance(CustomOptions)
IgnoreNotArchivable = true,
IgnorePropertiesOfNotScriptsOnScriptsMode = false, -- Ignores property of every instance that is not a script in "scripts" mode
IgnoreSpecialProperties = false, -- true will disable Terrain & Break MeshPart Sizes (very likely)
IsolatePlayerGui = false,
IsolateStarterPlayer = false, --If enabled, StarterPlayer will be cleared and the saved starter player will be placed into folders.
IsolateLocalPlayer = false, -- Saves Children of LocalPlayer as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
IsolateLocalPlayerCharacter = false, -- Saves Children of LocalPlayer.Character as separate folder and prevents any instance of ClassName Player with .Name identical to LocalPlayer.Name from saving
@@ -960,17 +959,18 @@ local function synsaveinstance(CustomOptions)
if mode == "optimized" then -- ! NOT supported with Model file mode
mode = "full"
end
if not CustomOptions.IsolateLocalPlayerCharacter then
OPTIONS.IsolateLocalPlayerCharacter = false
end
if not CustomOptions.IsolateStarterPlayer then
OPTIONS.IsolateStarterPlayer = false
end
if not CustomOptions.IsolateLocalPlayer then
OPTIONS.IsolateLocalPlayer = false
end
if not CustomOptions.NilInstances then
OPTIONS.NilInstances = false
for _, key in
{
"IsolateLocalPlayerCharacter",
"IsolateStarterPlayer",
"IsolateLocalPlayer",
"NilInstances",
}
do
if not CustomOptions[key] then
OPTIONS[key] = false
end
end
placename = (FilePath or "model" .. PlaceId .. "_" .. ToSaveInstance:GetDebugId(0)) .. ".rbxmx" -- * GetDebugId is only unique per instance within same game session, after rejoining it might be different