Converted client loading from strings to ints
This commit is contained in:
parent
eb3c2110d1
commit
53f512c42f
|
|
@ -164,7 +164,6 @@ end
|
||||||
|
|
||||||
function LoadCharacterNew(playerApp,newChar)
|
function LoadCharacterNew(playerApp,newChar)
|
||||||
--authentic roblox style loading
|
--authentic roblox style loading
|
||||||
wait(1.5)
|
|
||||||
local charparts = {[1] = newWaitForChild(newChar,"Head"),[2] = newWaitForChild(newChar,"Torso"),[3] = newWaitForChild(newChar,"Left Arm"),[4] = newWaitForChild(newChar,"Right Arm"),[5] = newWaitForChild(newChar,"Left Leg"),[6] = newWaitForChild(newChar,"Right Leg")}
|
local charparts = {[1] = newWaitForChild(newChar,"Head"),[2] = newWaitForChild(newChar,"Torso"),[3] = newWaitForChild(newChar,"Left Arm"),[4] = newWaitForChild(newChar,"Right Arm"),[5] = newWaitForChild(newChar,"Left Leg"),[6] = newWaitForChild(newChar,"Right Leg")}
|
||||||
for _,newVal in pairs(playerApp:GetChildren()) do
|
for _,newVal in pairs(playerApp:GetChildren()) do
|
||||||
if (newVal.CustomizationType.Value == 1) then
|
if (newVal.CustomizationType.Value == 1) then
|
||||||
|
|
@ -328,152 +327,162 @@ function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,Torso
|
||||||
typeValue.Value = 1
|
typeValue.Value = 1
|
||||||
end
|
end
|
||||||
--HATS
|
--HATS
|
||||||
for i=1,3,1 do
|
if (rbxlegacyversion ~= "pre-alpha") then
|
||||||
local newHat = Instance.new("StringValue",newCharApp)
|
for i=1,3,1 do
|
||||||
if (i == 1) then
|
local newHat = Instance.new("StringValue",newCharApp)
|
||||||
if (Hat1ID ~= nil) then
|
if (i == 1) then
|
||||||
newHat.Value = Hat1ID
|
if (Hat1ID ~= nil) then
|
||||||
newHat.Name = Hat1ID
|
newHat.Value = Hat1ID
|
||||||
else
|
newHat.Name = Hat1ID
|
||||||
newHat.Value = "NoHat.rbxm"
|
else
|
||||||
newHat.Name = "NoHat.rbxm"
|
newHat.Value = "NoHat.rbxm"
|
||||||
end
|
newHat.Name = "NoHat.rbxm"
|
||||||
elseif (i == 2) then
|
end
|
||||||
if (Hat2ID ~= nil) then
|
elseif (i == 2) then
|
||||||
newHat.Value = Hat2ID
|
if (Hat2ID ~= nil) then
|
||||||
newHat.Name = Hat2ID
|
newHat.Value = Hat2ID
|
||||||
else
|
newHat.Name = Hat2ID
|
||||||
newHat.Value = "NoHat.rbxm"
|
else
|
||||||
newHat.Name = "NoHat.rbxm"
|
newHat.Value = "NoHat.rbxm"
|
||||||
end
|
newHat.Name = "NoHat.rbxm"
|
||||||
elseif (i == 3) then
|
end
|
||||||
if (Hat3ID ~= nil) then
|
elseif (i == 3) then
|
||||||
newHat.Value = Hat3ID
|
if (Hat3ID ~= nil) then
|
||||||
newHat.Name = Hat3ID
|
newHat.Value = Hat3ID
|
||||||
else
|
newHat.Name = Hat3ID
|
||||||
newHat.Value = "NoHat.rbxm"
|
else
|
||||||
newHat.Name = "NoHat.rbxm"
|
newHat.Value = "NoHat.rbxm"
|
||||||
|
newHat.Name = "NoHat.rbxm"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newHat
|
||||||
|
typeValue.Value = 2
|
||||||
end
|
end
|
||||||
local typeValue = Instance.new("NumberValue")
|
|
||||||
typeValue.Name = "CustomizationType"
|
|
||||||
typeValue.Parent = newHat
|
|
||||||
typeValue.Value = 2
|
|
||||||
end
|
end
|
||||||
--T-SHIRT
|
--T-SHIRT
|
||||||
local newTShirt = Instance.new("StringValue",newCharApp)
|
if (rbxlegacyversion ~= "pre-alpha") then
|
||||||
if (TShirtID ~= nil or TShirtID ~= "0") then
|
local newTShirt = Instance.new("StringValue",newCharApp)
|
||||||
newTShirt.Value = TShirtID
|
if (TShirtID ~= nil or TShirtID ~= "0") then
|
||||||
else
|
newTShirt.Value = TShirtID
|
||||||
newTShirt.Value = "0"
|
else
|
||||||
end
|
newTShirt.Value = "0"
|
||||||
newTShirt.Name = "T-Shirt"
|
|
||||||
local typeValue = Instance.new("NumberValue")
|
|
||||||
typeValue.Name = "CustomizationType"
|
|
||||||
typeValue.Parent = newTShirt
|
|
||||||
typeValue.Value = 3
|
|
||||||
--SHIRT
|
|
||||||
local newShirt = Instance.new("StringValue",newCharApp)
|
|
||||||
if (ShirtID ~= nil or ShirtID ~= "0") then
|
|
||||||
newShirt.Value = ShirtID
|
|
||||||
else
|
|
||||||
newShirt.Value = "0"
|
|
||||||
end
|
|
||||||
newShirt.Name = "Shirt"
|
|
||||||
local typeValue = Instance.new("NumberValue")
|
|
||||||
typeValue.Name = "CustomizationType"
|
|
||||||
typeValue.Parent = newShirt
|
|
||||||
typeValue.Value = 4
|
|
||||||
--PANTS
|
|
||||||
local newPants = Instance.new("StringValue",newCharApp)
|
|
||||||
if (PantsID ~= nil or PantsID ~= "0") then
|
|
||||||
newPants.Value = PantsID
|
|
||||||
else
|
|
||||||
newPants.Value = "0"
|
|
||||||
end
|
|
||||||
newPants.Name = "Pants"
|
|
||||||
local typeValue = Instance.new("NumberValue")
|
|
||||||
typeValue.Name = "CustomizationType"
|
|
||||||
typeValue.Parent = newPants
|
|
||||||
typeValue.Value = 5
|
|
||||||
--FACE
|
|
||||||
local newFace = Instance.new("StringValue",newCharApp)
|
|
||||||
if (FaceID ~= nil) then
|
|
||||||
newFace.Value = FaceID
|
|
||||||
newFace.Name = FaceID
|
|
||||||
else
|
|
||||||
newFace.Value = "DefaultFace.rbxm"
|
|
||||||
newFace.Name = "DefaultFace.rbxm"
|
|
||||||
end
|
|
||||||
local typeValue = Instance.new("NumberValue")
|
|
||||||
typeValue.Name = "CustomizationType"
|
|
||||||
typeValue.Parent = newFace
|
|
||||||
typeValue.Value = 6
|
|
||||||
--HEADS
|
|
||||||
local newHead = Instance.new("StringValue",newCharApp)
|
|
||||||
if (HeadID ~= nil) then
|
|
||||||
newHead.Value = HeadID
|
|
||||||
newHead.Name = HeadID
|
|
||||||
else
|
|
||||||
newHead.Value = "DefaultHead.rbxm"
|
|
||||||
newHead.Name = "DefaultHead.rbxm"
|
|
||||||
end
|
|
||||||
local typeValue = Instance.new("NumberValue")
|
|
||||||
typeValue.Name = "CustomizationType"
|
|
||||||
typeValue.Parent = newHead
|
|
||||||
typeValue.Value = 7
|
|
||||||
--PACKAGES
|
|
||||||
for i=2,5,1 do
|
|
||||||
local BodyMesh = Instance.new("StringValue",newCharApp)
|
|
||||||
if (i == 2) then
|
|
||||||
if (TorsoID ~= nil) then
|
|
||||||
BodyMesh.Value = TorsoID
|
|
||||||
BodyMesh.Name = TorsoID
|
|
||||||
else
|
|
||||||
BodyMesh.Value = "DefaultTorso.rbxm"
|
|
||||||
BodyMesh.Name = "DefaultTorso.rbxm"
|
|
||||||
end
|
|
||||||
elseif (i == 3) then
|
|
||||||
if (LArmID ~= nil) then
|
|
||||||
BodyMesh.Value = LArmID
|
|
||||||
BodyMesh.Name = LArmID
|
|
||||||
else
|
|
||||||
BodyMesh.Value = "DefaultLArm.rbxm"
|
|
||||||
BodyMesh.Name = "DefaultLArm.rbxm"
|
|
||||||
end
|
|
||||||
elseif (i == 4) then
|
|
||||||
if (RArmID ~= nil) then
|
|
||||||
BodyMesh.Value = RArmID
|
|
||||||
BodyMesh.Name = RArmID
|
|
||||||
else
|
|
||||||
BodyMesh.Value = "DefaultRArm.rbxm"
|
|
||||||
BodyMesh.Name = "DefaultRArm.rbxm"
|
|
||||||
end
|
|
||||||
elseif (i == 5) then
|
|
||||||
if (LLegID ~= nil) then
|
|
||||||
BodyMesh.Value = LLegID
|
|
||||||
BodyMesh.Name = LLegID
|
|
||||||
else
|
|
||||||
BodyMesh.Value = "DefaultLLeg.rbxm"
|
|
||||||
BodyMesh.Name = "DefaultLLeg.rbxm"
|
|
||||||
end
|
|
||||||
elseif (i == 6) then
|
|
||||||
if (RLegID ~= nil) then
|
|
||||||
BodyMesh.Value = RLegID
|
|
||||||
BodyMesh.Name = RLegID
|
|
||||||
else
|
|
||||||
BodyMesh.Value = "DefaultRLeg.rbxm"
|
|
||||||
BodyMesh.Name = "DefaultRLeg.rbxm"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
local indexValue = Instance.new("NumberValue")
|
newTShirt.Name = "T-Shirt"
|
||||||
indexValue.Name = "MeshIndex"
|
|
||||||
indexValue.Parent = BodyColor
|
|
||||||
indexValue.Value = i
|
|
||||||
local typeValue = Instance.new("NumberValue")
|
local typeValue = Instance.new("NumberValue")
|
||||||
typeValue.Name = "CustomizationType"
|
typeValue.Name = "CustomizationType"
|
||||||
typeValue.Parent = BodyColor
|
typeValue.Parent = newTShirt
|
||||||
typeValue.Value = 8
|
typeValue.Value = 3
|
||||||
|
end
|
||||||
|
--SHIRTS AND PANTS
|
||||||
|
if (rbxlegacyversion ~= "pre-alpha" or rbxlegacyversion ~= "pre-alpha-ext") then
|
||||||
|
local newShirt = Instance.new("StringValue",newCharApp)
|
||||||
|
if (ShirtID ~= nil or ShirtID ~= "0") then
|
||||||
|
newShirt.Value = ShirtID
|
||||||
|
else
|
||||||
|
newShirt.Value = "0"
|
||||||
|
end
|
||||||
|
newShirt.Name = "Shirt"
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newShirt
|
||||||
|
typeValue.Value = 4
|
||||||
|
|
||||||
|
local newPants = Instance.new("StringValue",newCharApp)
|
||||||
|
if (PantsID ~= nil or PantsID ~= "0") then
|
||||||
|
newPants.Value = PantsID
|
||||||
|
else
|
||||||
|
newPants.Value = "0"
|
||||||
|
end
|
||||||
|
newPants.Name = "Pants"
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newPants
|
||||||
|
typeValue.Value = 5
|
||||||
|
end
|
||||||
|
--FACE AND HEADS
|
||||||
|
if (rbxlegacyversion ~= "pre-alpha" or rbxlegacyversion ~= "pre-alpha-ext" or rbxlegacyversion ~= "alpha" or rbxlegacyversion ~= "beta" or rbxlegacyversion ~= "delta-beta" or rbxlegacyversion ~= "pre-gamma-beta" or rbxlegacyversion ~= "delta-pre-gamma-beta") then
|
||||||
|
local newFace = Instance.new("StringValue",newCharApp)
|
||||||
|
if (FaceID ~= nil) then
|
||||||
|
newFace.Value = FaceID
|
||||||
|
newFace.Name = FaceID
|
||||||
|
else
|
||||||
|
newFace.Value = "DefaultFace.rbxm"
|
||||||
|
newFace.Name = "DefaultFace.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newFace
|
||||||
|
typeValue.Value = 6
|
||||||
|
|
||||||
|
local newHead = Instance.new("StringValue",newCharApp)
|
||||||
|
if (HeadID ~= nil) then
|
||||||
|
newHead.Value = HeadID
|
||||||
|
newHead.Name = HeadID
|
||||||
|
else
|
||||||
|
newHead.Value = "DefaultHead.rbxm"
|
||||||
|
newHead.Name = "DefaultHead.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newHead
|
||||||
|
typeValue.Value = 7
|
||||||
|
end
|
||||||
|
--PACKAGES
|
||||||
|
if (rbxlegacyversion ~= "pre-alpha" or rbxlegacyversion ~= "pre-alpha-ext" or rbxlegacyversion ~= "alpha" or rbxlegacyversion ~= "beta" or rbxlegacyversion ~= "delta-beta" or rbxlegacyversion ~= "pre-gamma" or rbxlegacyversion ~= "delta-pre-gamma" or rbxlegacyversion ~= "pre-gamma-beta" or rbxlegacyversion ~= "delta-pre-gamma-beta") then
|
||||||
|
for i=2,5,1 do
|
||||||
|
local BodyMesh = Instance.new("StringValue",newCharApp)
|
||||||
|
if (i == 2) then
|
||||||
|
if (TorsoID ~= nil) then
|
||||||
|
BodyMesh.Value = TorsoID
|
||||||
|
BodyMesh.Name = TorsoID
|
||||||
|
else
|
||||||
|
BodyMesh.Value = "DefaultTorso.rbxm"
|
||||||
|
BodyMesh.Name = "DefaultTorso.rbxm"
|
||||||
|
end
|
||||||
|
elseif (i == 3) then
|
||||||
|
if (LArmID ~= nil) then
|
||||||
|
BodyMesh.Value = LArmID
|
||||||
|
BodyMesh.Name = LArmID
|
||||||
|
else
|
||||||
|
BodyMesh.Value = "DefaultLArm.rbxm"
|
||||||
|
BodyMesh.Name = "DefaultLArm.rbxm"
|
||||||
|
end
|
||||||
|
elseif (i == 4) then
|
||||||
|
if (RArmID ~= nil) then
|
||||||
|
BodyMesh.Value = RArmID
|
||||||
|
BodyMesh.Name = RArmID
|
||||||
|
else
|
||||||
|
BodyMesh.Value = "DefaultRArm.rbxm"
|
||||||
|
BodyMesh.Name = "DefaultRArm.rbxm"
|
||||||
|
end
|
||||||
|
elseif (i == 5) then
|
||||||
|
if (LLegID ~= nil) then
|
||||||
|
BodyMesh.Value = LLegID
|
||||||
|
BodyMesh.Name = LLegID
|
||||||
|
else
|
||||||
|
BodyMesh.Value = "DefaultLLeg.rbxm"
|
||||||
|
BodyMesh.Name = "DefaultLLeg.rbxm"
|
||||||
|
end
|
||||||
|
elseif (i == 6) then
|
||||||
|
if (RLegID ~= nil) then
|
||||||
|
BodyMesh.Value = RLegID
|
||||||
|
BodyMesh.Name = RLegID
|
||||||
|
else
|
||||||
|
BodyMesh.Value = "DefaultRLeg.rbxm"
|
||||||
|
BodyMesh.Name = "DefaultRLeg.rbxm"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local indexValue = Instance.new("NumberValue")
|
||||||
|
indexValue.Name = "MeshIndex"
|
||||||
|
indexValue.Parent = BodyColor
|
||||||
|
indexValue.Value = i
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = BodyColor
|
||||||
|
typeValue.Value = 8
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -119,81 +119,68 @@
|
||||||
</resheader>
|
</resheader>
|
||||||
<data name="richTextBox1.Text" xml:space="preserve">
|
<data name="richTextBox1.Text" xml:space="preserve">
|
||||||
<value>VERSION CODENAME DOCUMENTATION
|
<value>VERSION CODENAME DOCUMENTATION
|
||||||
|
USE NUMBERS PROVIDED AS VALUES
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
pre-alpha
|
1 - Pre-Alpha
|
||||||
- Mid-2008 or lower.
|
- Mid-2008 or lower.
|
||||||
- Support for "fake" 2006/2007 clients, or the real things.
|
- Support for "fake" 2006/2007 clients, or the real things.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Does not support hats or any other form of customization besides body colors.
|
- Does not support hats or any other form of customization besides body colors.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
pre-alpha-ext
|
2 - Pre-Alpha (Ext.)
|
||||||
- Mid-2008 or lower.
|
- Mid-2008 or lower.
|
||||||
- Support for "fake" 2006/2007 clients, or the real things.
|
- Support for "fake" 2006/2007 clients, or the real things.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Supports only hats, body colors, and T-Shirts.
|
- Supports only hats, body colors, and T-Shirts.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
alpha
|
3 - Alpha
|
||||||
- Mid-2008 or lower.
|
- Mid-2008 or lower.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Supports only hats, body colors, T-Shirts, shirts, and pants.
|
- Supports only hats, body colors, T-Shirts, shirts, and pants.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
beta
|
4 - Beta
|
||||||
- Late-2008-Early 2009.
|
- Late-2008-Early 2009.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Supports only hats, body colors, T-Shirts, shirts, and pants.
|
- Supports only hats, body colors, T-Shirts, shirts, and pants.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
delta-beta
|
5 - Pre-Gamma Beta
|
||||||
- Late-2008-Early 2009.
|
|
||||||
- Uses RBXPri joinscript.
|
|
||||||
- Supports only hats, body colors, T-Shirts, shirts, and pants.
|
|
||||||
-------------------------------------------------------------
|
|
||||||
pre-gamma-beta
|
|
||||||
- Early-2009-Early 2010.
|
- Early-2009-Early 2010.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Supports most kinds of customization except faces and body meshes.
|
- Supports most kinds of customization except faces and body meshes.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
delta-pre-gamma-beta
|
6 - Pre-Gamma
|
||||||
- Early-2009-Early 2010.
|
|
||||||
- Uses RBXPri joinscript.
|
|
||||||
- Supports most kinds of customization except faces and body meshes.
|
|
||||||
-------------------------------------------------------------
|
|
||||||
pre-gamma
|
|
||||||
- Early-2009-Early 2010.
|
- Early-2009-Early 2010.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Supports most kinds of customization except body meshes.
|
- Supports most kinds of customization except most body meshes.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
delta-pre-gamma
|
7 - Gamma
|
||||||
- Early-2009-Early 2010.
|
|
||||||
- Uses RBXPri joinscript.
|
|
||||||
- Supports most kinds of customization except body meshes.
|
|
||||||
-------------------------------------------------------------
|
|
||||||
gamma
|
|
||||||
- Mid-2010-November 2010.
|
- Mid-2010-November 2010.
|
||||||
- Uses Legacy joinscript.
|
- Uses Legacy joinscript.
|
||||||
- Supports all kinds of customization.
|
- Supports all kinds of customization.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
delta-gamma
|
8 - Delta
|
||||||
- Mid-2010-November 2010.
|
|
||||||
- Uses RBXPri joinscript.
|
|
||||||
- Supports all kinds of customization.
|
|
||||||
-------------------------------------------------------------
|
|
||||||
delta
|
|
||||||
- December-2010-Early 2011.
|
- December-2010-Early 2011.
|
||||||
- Uses RBXPri joinscript.
|
- Uses RBXPri joinscript.
|
||||||
- Supports the more modern 2011 user interface.
|
- Supports the more modern 2011 user interface.
|
||||||
- Supports all kinds of customization.
|
- Supports all kinds of customization.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
delta-omega
|
9 - Delta Omega
|
||||||
- Mid-2011-Early-2012.
|
- Mid-2011-Early-2012.
|
||||||
- Uses RBXPri joinscript.
|
- Uses RBXPri joinscript.
|
||||||
- Supports the more modern 2011 user interface.
|
- Supports the more modern 2011 user interface.
|
||||||
- Supports all kinds of customization.
|
- Supports all kinds of customization.
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
omega
|
10 - Omega
|
||||||
- Mid-2011-Early-2012.
|
- Mid-2011-Early-2012.
|
||||||
- Uses RBXPri joinscript.
|
- Uses RBXPri joinscript.
|
||||||
- Meant for more modern clients which don't use early 2011's UI.
|
- Meant for more modern clients which don't use early 2011's UI.
|
||||||
- Supports all kinds of customization.
|
- Supports all kinds of customization.
|
||||||
|
-------------------------------------------------------------
|
||||||
|
11 - Ultra
|
||||||
|
- ???-???.
|
||||||
|
- Uses RBXPri joinscript.
|
||||||
|
- Meant for more modern clients over ones supported with Ultra.
|
||||||
|
- Supports all kinds of customization.
|
||||||
-------------------------------------------------------------</value>
|
-------------------------------------------------------------</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
public static bool LoadsAssetsOnline = false;
|
public static bool LoadsAssetsOnline = false;
|
||||||
public static bool LegacyMode = false;
|
public static bool LegacyMode = false;
|
||||||
public static string SelectedClientMD5 = "";
|
public static string SelectedClientMD5 = "";
|
||||||
public static string SelectedClientVersion = "";
|
public static int SelectedClientVersion = 0;
|
||||||
public static bool HasRocky = false;
|
public static bool HasRocky = false;
|
||||||
// clientinfo creator
|
// clientinfo creator
|
||||||
public static bool ClientCreator_UsesPlayerName = false;
|
public static bool ClientCreator_UsesPlayerName = false;
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
public static string ClientCreator_SelectedClientDesc = "";
|
public static string ClientCreator_SelectedClientDesc = "";
|
||||||
public static bool ClientCreator_LegacyMode = false;
|
public static bool ClientCreator_LegacyMode = false;
|
||||||
public static string ClientCreator_SelectedClientMD5 = "";
|
public static string ClientCreator_SelectedClientMD5 = "";
|
||||||
public static string ClientCreator_SelectedClientVersion = "";
|
public static int ClientCreator_SelectedClientVersion = 0;
|
||||||
public static bool ClientCreator_HasRocky = false;
|
public static bool ClientCreator_HasRocky = false;
|
||||||
// info editor
|
// info editor
|
||||||
public static string InfoEditor_Version = "";
|
public static string InfoEditor_Version = "";
|
||||||
|
|
|
||||||
|
|
@ -266,7 +266,8 @@ namespace RBXLegacyLauncher
|
||||||
|
|
||||||
GlobalVars.SelectedClientMD5 = Decryptline6;
|
GlobalVars.SelectedClientMD5 = Decryptline6;
|
||||||
|
|
||||||
GlobalVars.SelectedClientVersion = Decryptline7;
|
int iline7 = Convert.ToInt32(Decryptline7);
|
||||||
|
GlobalVars.SelectedClientVersion = iline7;
|
||||||
|
|
||||||
GlobalVars.SelectedClientDesc = Decryptline8;
|
GlobalVars.SelectedClientDesc = Decryptline8;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,19 +85,19 @@ namespace RBXLegacyLauncher
|
||||||
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
|
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
|
||||||
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" +GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" +GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false)
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -680,19 +680,19 @@ namespace RBXLegacyLauncher
|
||||||
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
|
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
|
||||||
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(" + GlobalVars.UserID + ",'localhost'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(" + GlobalVars.UserID + ",'localhost'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(" + GlobalVars.UserID + ",'localhost'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(" + GlobalVars.UserID + ",'localhost'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(0,'localhost'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(0,'localhost'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false)
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false)
|
||||||
{
|
{
|
||||||
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSConnect(0,'localhost'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = "-script " + quote + "dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSConnect(0,'localhost'," + GlobalVars.RobloxPort + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -748,19 +748,19 @@ namespace RBXLegacyLauncher
|
||||||
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
|
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
|
||||||
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
||||||
{
|
{
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSSolo(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSSolo(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
||||||
{
|
{
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSSolo(" + GlobalVars.UserID + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSSolo(" + GlobalVars.UserID + ",'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
||||||
{
|
{
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSSolo(0,'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSSolo(0,'" + GlobalVars.PlayerName + "','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false )
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false )
|
||||||
{
|
{
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSSolo(0,'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSSolo(0,'Player','" + HatIDOffline1 + "','" + HatIDOffline2 + "','" + HatIDOffline3 + "'," + GlobalVars.HeadColorID + "," + GlobalVars.TorsoColorID + "," + GlobalVars.LeftArmColorID + "," + GlobalVars.RightArmColorID + "," + GlobalVars.LeftLegColorID + "," + GlobalVars.RightLegColorID + ",'" + GlobalVars.Custom_TShirt + "','" + GlobalVars.Custom_Shirt + "','" + GlobalVars.Custom_Pants + "','" + GlobalVars.FaceID + "','" + GlobalVars.HeadID + "','" + GlobalVars.TorsoID + "','" + GlobalVars.RightArmID + "','" + GlobalVars.LeftArmID + "','" + GlobalVars.RightLegID + "','" + GlobalVars.LeftLegID + "','" + GlobalVars.Custom_IconType + "');" + quote;
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -780,7 +780,7 @@ namespace RBXLegacyLauncher
|
||||||
string rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
string rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||||
string quote = "\"";
|
string quote = "\"";
|
||||||
string args = "";
|
string args = "";
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSServer(" + GlobalVars.ServerPort + "," + GlobalVars.PlayerLimit + "); " + quote;
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSServer(" + GlobalVars.ServerPort + "," + GlobalVars.PlayerLimit + "); " + quote;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ConsolePrint("Server Loaded.", 4);
|
ConsolePrint("Server Loaded.", 4);
|
||||||
|
|
@ -799,7 +799,7 @@ namespace RBXLegacyLauncher
|
||||||
string rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
string rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||||
string quote = "\"";
|
string quote = "\"";
|
||||||
string args = "";
|
string args = "";
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "'); _G.CSServer(" + GlobalVars.ServerPort + "," + GlobalVars.PlayerLimit + "); " + quote + " -no3d";
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + "); _G.CSServer(" + GlobalVars.ServerPort + "," + GlobalVars.PlayerLimit + "); " + quote + " -no3d";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ConsolePrint("Server Loaded in No3d.", 4);
|
ConsolePrint("Server Loaded in No3d.", 4);
|
||||||
|
|
@ -818,7 +818,7 @@ namespace RBXLegacyLauncher
|
||||||
string rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
string rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||||
string quote = "\"";
|
string quote = "\"";
|
||||||
string args = "";
|
string args = "";
|
||||||
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion('" + GlobalVars.SelectedClientVersion + "');" + quote;
|
args = quote + mapfile + "\" -script \"dofile('" + GlobalVars.DefaultScript + "'); _G.SetRBXLegacyVersion(" + GlobalVars.SelectedClientVersion + ");" + quote;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ConsolePrint("Studio Loaded.", 4);
|
ConsolePrint("Studio Loaded.", 4);
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ namespace RBXLegacyLauncher
|
||||||
//
|
//
|
||||||
this.tabControl1.Controls.Add(this.tabPage1);
|
this.tabControl1.Controls.Add(this.tabPage1);
|
||||||
this.tabControl1.Controls.Add(this.tabPage2);
|
this.tabControl1.Controls.Add(this.tabPage2);
|
||||||
this.tabControl1.Location = new System.Drawing.Point(12, 12);
|
this.tabControl1.Location = new System.Drawing.Point(8, 7);
|
||||||
this.tabControl1.Name = "tabControl1";
|
this.tabControl1.Name = "tabControl1";
|
||||||
this.tabControl1.SelectedIndex = 0;
|
this.tabControl1.SelectedIndex = 0;
|
||||||
this.tabControl1.Size = new System.Drawing.Size(336, 357);
|
this.tabControl1.Size = new System.Drawing.Size(336, 357);
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,8 @@ namespace RBXLegacyLauncher
|
||||||
|
|
||||||
GlobalVars.ClientCreator_SelectedClientMD5 = Decryptline6;
|
GlobalVars.ClientCreator_SelectedClientMD5 = Decryptline6;
|
||||||
|
|
||||||
GlobalVars.ClientCreator_SelectedClientVersion = Decryptline7;
|
int iline7 = Convert.ToInt32(Decryptline7);
|
||||||
|
GlobalVars.ClientCreator_SelectedClientVersion = iline7;
|
||||||
|
|
||||||
GlobalVars.ClientCreator_SelectedClientDesc = Decryptline8;
|
GlobalVars.ClientCreator_SelectedClientDesc = Decryptline8;
|
||||||
|
|
||||||
|
|
@ -123,7 +124,7 @@ namespace RBXLegacyLauncher
|
||||||
checkBox4.Checked = GlobalVars.ClientCreator_HasRocky;
|
checkBox4.Checked = GlobalVars.ClientCreator_HasRocky;
|
||||||
textBox2.Text = GlobalVars.ClientCreator_SelectedClientMD5.ToUpper();
|
textBox2.Text = GlobalVars.ClientCreator_SelectedClientMD5.ToUpper();
|
||||||
textBox1.Text = GlobalVars.ClientCreator_SelectedClientDesc;
|
textBox1.Text = GlobalVars.ClientCreator_SelectedClientDesc;
|
||||||
textBox3.Text = GlobalVars.ClientCreator_SelectedClientVersion;
|
textBox3.Text = GlobalVars.ClientCreator_SelectedClientVersion.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -174,7 +175,7 @@ namespace RBXLegacyLauncher
|
||||||
GlobalVars.ClientCreator_LegacyMode = false;
|
GlobalVars.ClientCreator_LegacyMode = false;
|
||||||
GlobalVars.ClientCreator_SelectedClientDesc = "";
|
GlobalVars.ClientCreator_SelectedClientDesc = "";
|
||||||
GlobalVars.ClientCreator_SelectedClientMD5 = "";
|
GlobalVars.ClientCreator_SelectedClientMD5 = "";
|
||||||
GlobalVars.ClientCreator_SelectedClientVersion = "";
|
GlobalVars.ClientCreator_SelectedClientVersion = 0;
|
||||||
GlobalVars.ClientCreator_HasRocky = false;
|
GlobalVars.ClientCreator_HasRocky = false;
|
||||||
checkBox1.Checked = GlobalVars.ClientCreator_UsesPlayerName;
|
checkBox1.Checked = GlobalVars.ClientCreator_UsesPlayerName;
|
||||||
checkBox2.Checked = GlobalVars.ClientCreator_UsesID;
|
checkBox2.Checked = GlobalVars.ClientCreator_UsesID;
|
||||||
|
|
@ -183,7 +184,7 @@ namespace RBXLegacyLauncher
|
||||||
checkBox4.Checked = GlobalVars.ClientCreator_HasRocky;
|
checkBox4.Checked = GlobalVars.ClientCreator_HasRocky;
|
||||||
textBox2.Text = GlobalVars.ClientCreator_SelectedClientMD5.ToUpper();
|
textBox2.Text = GlobalVars.ClientCreator_SelectedClientMD5.ToUpper();
|
||||||
textBox1.Text = GlobalVars.ClientCreator_SelectedClientDesc;
|
textBox1.Text = GlobalVars.ClientCreator_SelectedClientDesc;
|
||||||
textBox3.Text = GlobalVars.ClientCreator_SelectedClientVersion;
|
textBox3.Text = GlobalVars.ClientCreator_SelectedClientVersion.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CheckBox3CheckedChanged(object sender, EventArgs e)
|
void CheckBox3CheckedChanged(object sender, EventArgs e)
|
||||||
|
|
@ -206,7 +207,22 @@ namespace RBXLegacyLauncher
|
||||||
|
|
||||||
void TextBox3TextChanged(object sender, EventArgs e)
|
void TextBox3TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
GlobalVars.ClientCreator_SelectedClientVersion = textBox3.Text;
|
int parsedValue;
|
||||||
|
if (int.TryParse(textBox3.Text, out parsedValue))
|
||||||
|
{
|
||||||
|
if (textBox3.Text.Equals(""))
|
||||||
|
{
|
||||||
|
GlobalVars.ClientCreator_SelectedClientVersion = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GlobalVars.ClientCreator_SelectedClientVersion = Convert.ToInt32(textBox3.Text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GlobalVars.ClientCreator_SelectedClientVersion = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CheckBox4CheckedChanged(object sender, EventArgs e)
|
void CheckBox4CheckedChanged(object sender, EventArgs e)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue