added proper package/head loading, wip menu

This commit is contained in:
Bitl 2017-07-21 12:08:22 -07:00
parent 62c2cb2521
commit 3265dc8786
30 changed files with 1172 additions and 7565 deletions

View File

@ -240,6 +240,32 @@ function LoadCharacterNew(playerApp,newChar)
end
end)
end
elseif (newVal.CustomizationType.Value == 7) then
if (rbxlegacyversion ~= "pre-alpha" or rbxlegacyversion ~= "pre-alpha-ext" or rbxlegacyversion ~= "alpha" or rbxlegacyversion ~= "beta" or rbxlegacyversion ~= "delta-beta") then
pcall(function()
local newPart = game.Workspace:InsertContent("rbxasset://../../../charcustom/heads/"..newVal.Value)
if newPart[1] then
if newPart[1].className == "SpecialMesh" then
newPart[1].Parent = charparts[1]
else
newPart[1]:remove()
end
end
end)
end'
elseif (newVal.CustomizationType.Value == 8) then
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") then
pcall(function()
local newPart = game.Workspace:InsertContent("rbxasset://../../../charcustom/bodies/"..newVal.MeshIndex.Value.."/"..newVal.Value)
if newPart[1] then
if newPart[1].className == "SpecialMesh" then
newPart[1].Parent = charparts[newVal.MeshIndex.Value]
else
newPart[1]:remove()
end
end
end)
end
end
end
end
@ -397,71 +423,59 @@ function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,Torso
typeValue.Name = "CustomizationType"
typeValue.Parent = newHead
typeValue.Value = 7
--TORSOS
local newTorso = Instance.new("StringValue",newCharApp)
if (TorsoID ~= nil) then
newTorso.Value = TorsoID
newTorso.Name = TorsoID
else
newTorso.Value = "DefaultTorso.rbxm"
newTorso.Name = "DefaultTorso.rbxm"
--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
newLArm.Value = LArmID
newLArm.Name = LArmID
else
newLArm.Value = "DefaultLArm.rbxm"
newLArm.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
newRLeg.Value = RLegID
newRLeg.Name = RLegID
else
newRLeg.Value = "DefaultRLeg.rbxm"
newRLeg.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
local typeValue = Instance.new("NumberValue")
typeValue.Name = "CustomizationType"
typeValue.Parent = newTorso
typeValue.Value = 8
--RIGHT ARM
local newRArm = Instance.new("StringValue",newCharApp)
if (RArmID ~= nil) then
newRArm.Value = RArmID
newRArm.Name = RArmID
else
newRArm.Value = "DefaultRArm.rbxm"
newRArm.Name = "DefaultRArm.rbxm"
end
local typeValue = Instance.new("NumberValue")
typeValue.Name = "CustomizationType"
typeValue.Parent = newRArm
typeValue.Value = 9
--LEFT ARM
local newLArm = Instance.new("StringValue",newCharApp)
if (LArmID ~= nil) then
newLArm.Value = LArmID
newLArm.Name = LArmID
else
newLArm.Value = "DefaultLArm.rbxm"
newLArm.Name = "DefaultLArm.rbxm"
end
local typeValue = Instance.new("NumberValue")
typeValue.Name = "CustomizationType"
typeValue.Parent = newLArm
typeValue.Value = 10
--RIGHT LEG
local newRLeg = Instance.new("StringValue",newCharApp)
if (RLegID ~= nil) then
newRLeg.Value = RLegID
newRLeg.Name = RLegID
else
newRLeg.Value = "DefaultRLeg.rbxm"
newRLeg.Name = "DefaultRLeg.rbxm"
end
local typeValue = Instance.new("NumberValue")
typeValue.Name = "CustomizationType"
typeValue.Parent = newRLeg
typeValue.Value = 11
--LEFT LEG
local newLLeg = Instance.new("StringValue",newCharApp)
if (LLegID ~= nil) then
newLLeg.Value = LLegID
newLLeg.Name = LLegID
else
newLLeg.Value = "DefaultLLeg.rbxm"
newLLeg.Name = "DefaultLLeg.rbxm"
end
local typeValue = Instance.new("NumberValue")
typeValue.Name = "CustomizationType"
typeValue.Parent = newLLeg
typeValue.Value = 12
end
function CSServer(Port,PlayerLimit)

View File

@ -1,621 +0,0 @@
/*
* Created by SharpDevelop.
* User: BITL
* Date: 2/25/2017
* Time: 1:02 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace RBXLegacyLauncher
{
partial class CharacterColors
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CharacterColors));
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.button14 = new System.Windows.Forms.Button();
this.button15 = new System.Windows.Forms.Button();
this.button16 = new System.Windows.Forms.Button();
this.button17 = new System.Windows.Forms.Button();
this.button18 = new System.Windows.Forms.Button();
this.button19 = new System.Windows.Forms.Button();
this.button20 = new System.Windows.Forms.Button();
this.button21 = new System.Windows.Forms.Button();
this.button22 = new System.Windows.Forms.Button();
this.button23 = new System.Windows.Forms.Button();
this.button24 = new System.Windows.Forms.Button();
this.button25 = new System.Windows.Forms.Button();
this.button26 = new System.Windows.Forms.Button();
this.button27 = new System.Windows.Forms.Button();
this.button28 = new System.Windows.Forms.Button();
this.button29 = new System.Windows.Forms.Button();
this.button30 = new System.Windows.Forms.Button();
this.button31 = new System.Windows.Forms.Button();
this.button32 = new System.Windows.Forms.Button();
this.button33 = new System.Windows.Forms.Button();
this.button34 = new System.Windows.Forms.Button();
this.button35 = new System.Windows.Forms.Button();
this.button36 = new System.Windows.Forms.Button();
this.button37 = new System.Windows.Forms.Button();
this.button38 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.button40 = new System.Windows.Forms.Button();
this.button39 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.button41 = new System.Windows.Forms.Button();
this.button42 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button2
//
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(105)))), ((int)(((byte)(172)))));
this.button2.Location = new System.Drawing.Point(49, 62);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(68, 72);
this.button2.TabIndex = 1;
this.button2.UseVisualStyleBackColor = false;
this.button2.Click += new System.EventHandler(this.Button2Click);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.button3.Location = new System.Drawing.Point(12, 62);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(31, 72);
this.button3.TabIndex = 2;
this.button3.UseVisualStyleBackColor = false;
this.button3.Click += new System.EventHandler(this.Button3Click);
//
// button4
//
this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.button4.Location = new System.Drawing.Point(123, 62);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(31, 72);
this.button4.TabIndex = 3;
this.button4.UseVisualStyleBackColor = false;
this.button4.Click += new System.EventHandler(this.Button4Click);
//
// button5
//
this.button5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(164)))), ((int)(((byte)(189)))), ((int)(((byte)(71)))));
this.button5.Location = new System.Drawing.Point(49, 140);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(31, 70);
this.button5.TabIndex = 4;
this.button5.UseVisualStyleBackColor = false;
this.button5.Click += new System.EventHandler(this.Button5Click);
//
// button6
//
this.button6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(164)))), ((int)(((byte)(189)))), ((int)(((byte)(71)))));
this.button6.Location = new System.Drawing.Point(86, 140);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(31, 70);
this.button6.TabIndex = 5;
this.button6.UseVisualStyleBackColor = false;
this.button6.Click += new System.EventHandler(this.Button6Click);
//
// button7
//
this.button7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243)))));
this.button7.Location = new System.Drawing.Point(170, 13);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(29, 26);
this.button7.TabIndex = 6;
this.button7.UseVisualStyleBackColor = false;
this.button7.Click += new System.EventHandler(this.Button7Click);
//
// button8
//
this.button8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(228)))), ((int)(((byte)(229)))), ((int)(((byte)(224)))));
this.button8.Location = new System.Drawing.Point(205, 13);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(28, 26);
this.button8.TabIndex = 7;
this.button8.UseVisualStyleBackColor = false;
this.button8.Click += new System.EventHandler(this.Button8Click);
//
// button9
//
this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(163)))), ((int)(((byte)(165)))));
this.button9.Location = new System.Drawing.Point(239, 13);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(28, 26);
this.button9.TabIndex = 8;
this.button9.UseVisualStyleBackColor = false;
this.button9.Click += new System.EventHandler(this.Button9Click);
//
// button10
//
this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(95)))), ((int)(((byte)(96)))));
this.button10.Location = new System.Drawing.Point(273, 13);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(28, 26);
this.button10.TabIndex = 9;
this.button10.UseVisualStyleBackColor = false;
this.button10.Click += new System.EventHandler(this.Button10Click);
//
// button11
//
this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(234)))), ((int)(((byte)(142)))));
this.button11.Location = new System.Drawing.Point(407, 13);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(28, 26);
this.button11.TabIndex = 13;
this.button11.UseVisualStyleBackColor = false;
this.button11.Click += new System.EventHandler(this.Button11Click);
//
// button12
//
this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.button12.Location = new System.Drawing.Point(373, 13);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(28, 26);
this.button12.TabIndex = 12;
this.button12.UseVisualStyleBackColor = false;
this.button12.Click += new System.EventHandler(this.Button12Click);
//
// button13
//
this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(40)))), ((int)(((byte)(27)))));
this.button13.Location = new System.Drawing.Point(339, 13);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(28, 26);
this.button13.TabIndex = 11;
this.button13.UseVisualStyleBackColor = false;
this.button13.Click += new System.EventHandler(this.Button13Click);
//
// button14
//
this.button14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(42)))), ((int)(((byte)(53)))));
this.button14.Location = new System.Drawing.Point(304, 13);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(29, 26);
this.button14.TabIndex = 10;
this.button14.UseVisualStyleBackColor = false;
this.button14.Click += new System.EventHandler(this.Button14Click);
//
// button15
//
this.button15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(186)))), ((int)(((byte)(219)))));
this.button15.Location = new System.Drawing.Point(273, 45);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(28, 26);
this.button15.TabIndex = 17;
this.button15.UseVisualStyleBackColor = false;
this.button15.Click += new System.EventHandler(this.Button15Click);
//
// button16
//
this.button16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(153)))), ((int)(((byte)(201)))));
this.button16.Location = new System.Drawing.Point(239, 45);
this.button16.Name = "button16";
this.button16.Size = new System.Drawing.Size(28, 26);
this.button16.TabIndex = 16;
this.button16.UseVisualStyleBackColor = false;
this.button16.Click += new System.EventHandler(this.Button16Click);
//
// button17
//
this.button17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(143)))), ((int)(((byte)(155)))));
this.button17.Location = new System.Drawing.Point(205, 45);
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(28, 26);
this.button17.TabIndex = 15;
this.button17.UseVisualStyleBackColor = false;
this.button17.Click += new System.EventHandler(this.Button17Click);
//
// button18
//
this.button18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(105)))), ((int)(((byte)(172)))));
this.button18.Location = new System.Drawing.Point(170, 45);
this.button18.Name = "button18";
this.button18.Size = new System.Drawing.Size(29, 26);
this.button18.TabIndex = 14;
this.button18.UseVisualStyleBackColor = false;
this.button18.Click += new System.EventHandler(this.Button18Click);
//
// button19
//
this.button19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(63)))));
this.button19.Location = new System.Drawing.Point(407, 45);
this.button19.Name = "button19";
this.button19.Size = new System.Drawing.Size(28, 26);
this.button19.TabIndex = 21;
this.button19.UseVisualStyleBackColor = false;
this.button19.Click += new System.EventHandler(this.Button19Click);
//
// button20
//
this.button20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(134)))), ((int)(((byte)(64)))));
this.button20.Location = new System.Drawing.Point(373, 45);
this.button20.Name = "button20";
this.button20.Size = new System.Drawing.Size(28, 26);
this.button20.TabIndex = 20;
this.button20.UseVisualStyleBackColor = false;
this.button20.Click += new System.EventHandler(this.Button20Click);
//
// button21
//
this.button21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(116)))), ((int)(((byte)(134)))), ((int)(((byte)(156)))));
this.button21.Location = new System.Drawing.Point(339, 45);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(28, 26);
this.button21.TabIndex = 19;
this.button21.UseVisualStyleBackColor = false;
this.button21.Click += new System.EventHandler(this.Button21Click);
//
// button22
//
this.button22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(210)))), ((int)(((byte)(228)))));
this.button22.Location = new System.Drawing.Point(304, 45);
this.button22.Name = "button22";
this.button22.Size = new System.Drawing.Size(29, 26);
this.button22.TabIndex = 18;
this.button22.UseVisualStyleBackColor = false;
this.button22.Click += new System.EventHandler(this.Button22Click);
//
// button23
//
this.button23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(164)))), ((int)(((byte)(189)))), ((int)(((byte)(71)))));
this.button23.Location = new System.Drawing.Point(273, 77);
this.button23.Name = "button23";
this.button23.Size = new System.Drawing.Size(28, 26);
this.button23.TabIndex = 25;
this.button23.UseVisualStyleBackColor = false;
this.button23.Click += new System.EventHandler(this.Button23Click);
//
// button24
//
this.button24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(150)))), ((int)(((byte)(73)))));
this.button24.Location = new System.Drawing.Point(239, 77);
this.button24.Name = "button24";
this.button24.Size = new System.Drawing.Size(28, 26);
this.button24.TabIndex = 24;
this.button24.UseVisualStyleBackColor = false;
this.button24.Click += new System.EventHandler(this.Button24Click);
//
// button25
//
this.button25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(126)))), ((int)(((byte)(71)))));
this.button25.Location = new System.Drawing.Point(205, 77);
this.button25.Name = "button25";
this.button25.Size = new System.Drawing.Size(28, 26);
this.button25.TabIndex = 23;
this.button25.UseVisualStyleBackColor = false;
this.button25.Click += new System.EventHandler(this.Button25Click);
//
// button26
//
this.button26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(70)))), ((int)(((byte)(43)))));
this.button26.Location = new System.Drawing.Point(170, 77);
this.button26.Name = "button26";
this.button26.Size = new System.Drawing.Size(29, 26);
this.button26.TabIndex = 22;
this.button26.UseVisualStyleBackColor = false;
this.button26.Click += new System.EventHandler(this.Button26Click);
//
// button27
//
this.button27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(63)))), ((int)(((byte)(39)))));
this.button27.Location = new System.Drawing.Point(407, 77);
this.button27.Name = "button27";
this.button27.Size = new System.Drawing.Size(28, 26);
this.button27.TabIndex = 29;
this.button27.UseVisualStyleBackColor = false;
this.button27.Click += new System.EventHandler(this.Button27Click);
//
// button28
//
this.button28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(95)))), ((int)(((byte)(55)))));
this.button28.Location = new System.Drawing.Point(373, 77);
this.button28.Name = "button28";
this.button28.Size = new System.Drawing.Size(28, 26);
this.button28.TabIndex = 28;
this.button28.UseVisualStyleBackColor = false;
this.button28.Click += new System.EventHandler(this.Button28Click);
//
// button29
//
this.button29.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(144)))), ((int)(((byte)(130)))));
this.button29.Location = new System.Drawing.Point(339, 77);
this.button29.Name = "button29";
this.button29.Size = new System.Drawing.Size(28, 26);
this.button29.TabIndex = 27;
this.button29.UseVisualStyleBackColor = false;
this.button29.Click += new System.EventHandler(this.Button29Click);
//
// button30
//
this.button30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(196)))), ((int)(((byte)(140)))));
this.button30.Location = new System.Drawing.Point(304, 77);
this.button30.Name = "button30";
this.button30.Size = new System.Drawing.Size(29, 26);
this.button30.TabIndex = 26;
this.button30.UseVisualStyleBackColor = false;
this.button30.Click += new System.EventHandler(this.Button30Click);
//
// button31
//
this.button31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(196)))), ((int)(((byte)(153)))));
this.button31.Location = new System.Drawing.Point(273, 109);
this.button31.Name = "button31";
this.button31.Size = new System.Drawing.Size(28, 26);
this.button31.TabIndex = 33;
this.button31.UseVisualStyleBackColor = false;
this.button31.Click += new System.EventHandler(this.Button31Click);
//
// button32
//
this.button32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(135)))), ((int)(((byte)(121)))));
this.button32.Location = new System.Drawing.Point(239, 109);
this.button32.Name = "button32";
this.button32.Size = new System.Drawing.Size(28, 26);
this.button32.TabIndex = 32;
this.button32.UseVisualStyleBackColor = false;
this.button32.Click += new System.EventHandler(this.Button32Click);
//
// button33
//
this.button33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(186)))), ((int)(((byte)(199)))));
this.button33.Location = new System.Drawing.Point(205, 109);
this.button33.Name = "button33";
this.button33.Size = new System.Drawing.Size(28, 26);
this.button33.TabIndex = 31;
this.button33.UseVisualStyleBackColor = false;
this.button33.Click += new System.EventHandler(this.Button33Click);
//
// button34
//
this.button34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(106)))), ((int)(((byte)(50)))), ((int)(((byte)(123)))));
this.button34.Location = new System.Drawing.Point(170, 109);
this.button34.Name = "button34";
this.button34.Size = new System.Drawing.Size(29, 26);
this.button34.TabIndex = 30;
this.button34.UseVisualStyleBackColor = false;
this.button34.Click += new System.EventHandler(this.Button34Click);
//
// button35
//
this.button35.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(185)))), ((int)(((byte)(145)))));
this.button35.Location = new System.Drawing.Point(407, 109);
this.button35.Name = "button35";
this.button35.Size = new System.Drawing.Size(28, 26);
this.button35.TabIndex = 37;
this.button35.UseVisualStyleBackColor = false;
this.button35.Click += new System.EventHandler(this.Button35Click);
//
// button36
//
this.button36.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(142)))), ((int)(((byte)(105)))));
this.button36.Location = new System.Drawing.Point(373, 109);
this.button36.Name = "button36";
this.button36.Size = new System.Drawing.Size(28, 26);
this.button36.TabIndex = 36;
this.button36.UseVisualStyleBackColor = false;
this.button36.Click += new System.EventHandler(this.Button36Click);
//
// button37
//
this.button37.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(92)))), ((int)(((byte)(69)))));
this.button37.Location = new System.Drawing.Point(339, 109);
this.button37.Name = "button37";
this.button37.Size = new System.Drawing.Size(28, 26);
this.button37.TabIndex = 35;
this.button37.UseVisualStyleBackColor = false;
this.button37.Click += new System.EventHandler(this.Button37Click);
//
// button38
//
this.button38.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(122)))), ((int)(((byte)(118)))));
this.button38.Location = new System.Drawing.Point(304, 109);
this.button38.Name = "button38";
this.button38.Size = new System.Drawing.Size(29, 26);
this.button38.TabIndex = 34;
this.button38.UseVisualStyleBackColor = false;
this.button38.Click += new System.EventHandler(this.Button38Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(170, 140);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(105, 16);
this.label1.TabIndex = 38;
this.label1.Text = "SELECTED PART:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(267, 140);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(80, 16);
this.label2.TabIndex = 39;
//
// button40
//
this.button40.Location = new System.Drawing.Point(304, 159);
this.button40.Name = "button40";
this.button40.Size = new System.Drawing.Size(131, 23);
this.button40.TabIndex = 41;
this.button40.Text = "Reset Colors";
this.button40.UseVisualStyleBackColor = true;
this.button40.Click += new System.EventHandler(this.Button40Click);
//
// button39
//
this.button39.Location = new System.Drawing.Point(170, 159);
this.button39.Name = "button39";
this.button39.Size = new System.Drawing.Size(131, 23);
this.button39.TabIndex = 42;
this.button39.Text = "Randomize Colors";
this.button39.UseVisualStyleBackColor = true;
this.button39.Click += new System.EventHandler(this.Button39Click);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.button1.Location = new System.Drawing.Point(59, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(47, 46);
this.button1.TabIndex = 0;
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.Button1Click);
//
// button41
//
this.button41.Location = new System.Drawing.Point(170, 187);
this.button41.Name = "button41";
this.button41.Size = new System.Drawing.Size(131, 23);
this.button41.TabIndex = 43;
this.button41.Text = "Change Part Shape";
this.button41.UseVisualStyleBackColor = true;
//
// button42
//
this.button42.Location = new System.Drawing.Point(304, 187);
this.button42.Name = "button42";
this.button42.Size = new System.Drawing.Size(131, 23);
this.button42.TabIndex = 44;
this.button42.Text = "Change Face";
this.button42.UseVisualStyleBackColor = true;
//
// CharacterColors
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(437, 222);
this.Controls.Add(this.button42);
this.Controls.Add(this.button41);
this.Controls.Add(this.button39);
this.Controls.Add(this.button40);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.button35);
this.Controls.Add(this.button36);
this.Controls.Add(this.button37);
this.Controls.Add(this.button38);
this.Controls.Add(this.button31);
this.Controls.Add(this.button32);
this.Controls.Add(this.button33);
this.Controls.Add(this.button34);
this.Controls.Add(this.button27);
this.Controls.Add(this.button28);
this.Controls.Add(this.button29);
this.Controls.Add(this.button30);
this.Controls.Add(this.button23);
this.Controls.Add(this.button24);
this.Controls.Add(this.button25);
this.Controls.Add(this.button26);
this.Controls.Add(this.button19);
this.Controls.Add(this.button20);
this.Controls.Add(this.button21);
this.Controls.Add(this.button22);
this.Controls.Add(this.button15);
this.Controls.Add(this.button16);
this.Controls.Add(this.button17);
this.Controls.Add(this.button18);
this.Controls.Add(this.button11);
this.Controls.Add(this.button12);
this.Controls.Add(this.button13);
this.Controls.Add(this.button14);
this.Controls.Add(this.button10);
this.Controls.Add(this.button9);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "CharacterColors";
this.Text = "Character Color Picker";
this.Load += new System.EventHandler(this.CharacterColorsLoad);
this.ResumeLayout(false);
}
private System.Windows.Forms.Button button42;
private System.Windows.Forms.Button button41;
private System.Windows.Forms.Button button39;
private System.Windows.Forms.Button button40;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button38;
private System.Windows.Forms.Button button37;
private System.Windows.Forms.Button button36;
private System.Windows.Forms.Button button35;
private System.Windows.Forms.Button button34;
private System.Windows.Forms.Button button33;
private System.Windows.Forms.Button button32;
private System.Windows.Forms.Button button31;
private System.Windows.Forms.Button button30;
private System.Windows.Forms.Button button29;
private System.Windows.Forms.Button button28;
private System.Windows.Forms.Button button27;
private System.Windows.Forms.Button button26;
private System.Windows.Forms.Button button25;
private System.Windows.Forms.Button button24;
private System.Windows.Forms.Button button23;
private System.Windows.Forms.Button button22;
private System.Windows.Forms.Button button21;
private System.Windows.Forms.Button button20;
private System.Windows.Forms.Button button19;
private System.Windows.Forms.Button button18;
private System.Windows.Forms.Button button17;
private System.Windows.Forms.Button button16;
private System.Windows.Forms.Button button15;
private System.Windows.Forms.Button button14;
private System.Windows.Forms.Button button13;
private System.Windows.Forms.Button button12;
private System.Windows.Forms.Button button11;
private System.Windows.Forms.Button button10;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
}
}

View File

@ -1,467 +0,0 @@
/*
* Created by SharpDevelop.
* User: BITL
* Date: 2/25/2017
* Time: 1:02 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
using System.IO;
using System.Diagnostics;
using System.Threading;
namespace RBXLegacyLauncher
{
/// <summary>
/// Description of CharacterColors.
/// </summary>
public partial class CharacterColors : Form
{
public static string SelectedPart = "Head";
public string[,] ColorArray;
public CharacterColors()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
ColorArray = new string[32, 2] {
{ "1", button7.BackColor.ToString() },
{ "208", button8.BackColor.ToString() },
{ "194", button9.BackColor.ToString() },
{ "199", button10.BackColor.ToString() },
{ "26", button14.BackColor.ToString() },
{ "21", button13.BackColor.ToString() },
{ "24", button12.BackColor.ToString() },
{ "226", button11.BackColor.ToString() },
{ "23", button18.BackColor.ToString() },
{ "107", button17.BackColor.ToString() },
{ "102", button16.BackColor.ToString() },
{ "11", button15.BackColor.ToString() },
{ "45", button22.BackColor.ToString() },
{ "135", button21.BackColor.ToString() },
{ "106", button20.BackColor.ToString() },
{ "105", button19.BackColor.ToString() },
{ "141", button26.BackColor.ToString() },
{ "28", button25.BackColor.ToString() },
{ "37", button24.BackColor.ToString() },
{ "119", button23.BackColor.ToString() },
{ "29", button30.BackColor.ToString() },
{ "151", button29.BackColor.ToString() },
{ "38", button28.BackColor.ToString() },
{ "192", button27.BackColor.ToString() },
{ "104", button34.BackColor.ToString() },
{ "9", button33.BackColor.ToString() },
{ "101", button32.BackColor.ToString() },
{ "5", button31.BackColor.ToString() },
{ "153", button38.BackColor.ToString() },
{ "217", button37.BackColor.ToString() },
{ "18", button36.BackColor.ToString() },
{ "125", button35.BackColor.ToString() }
};
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void Button1Click(object sender, EventArgs e)
{
SelectedPart = "Head";
label2.Text = SelectedPart;
}
void Button2Click(object sender, EventArgs e)
{
SelectedPart = "Torso";
label2.Text = SelectedPart;
}
void Button3Click(object sender, EventArgs e)
{
SelectedPart = "Right Arm";
label2.Text = SelectedPart;
}
void Button4Click(object sender, EventArgs e)
{
SelectedPart = "Left Arm";
label2.Text = SelectedPart;
}
void Button5Click(object sender, EventArgs e)
{
SelectedPart = "Right Leg";
label2.Text = SelectedPart;
}
void Button6Click(object sender, EventArgs e)
{
SelectedPart = "Left Leg";
label2.Text = SelectedPart;
}
void CharacterColorsLoad(object sender, EventArgs e)
{
label2.Text = SelectedPart;
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
}
Color ConvertStringtoColor(string CString)
{
var p = CString.Split(new char[]{',',']'});
int A = Convert.ToInt32(p[0].Substring(p[0].IndexOf('=') + 1));
int R = Convert.ToInt32(p[1].Substring(p[1].IndexOf('=') + 1));
int G = Convert.ToInt32(p[2].Substring(p[2].IndexOf('=') + 1));
int B = Convert.ToInt32(p[3].Substring(p[3].IndexOf('=') + 1));
return Color.FromArgb(A,R,G,B);
}
void ChangeColorOfPart(int ColorID, Color ButtonColor)
{
if (SelectedPart == "Head")
{
GlobalVars.HeadColorID = ColorID;
GlobalVars.ColorMenu_HeadColor = ButtonColor.ToString();
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
}
else if (SelectedPart == "Torso")
{
GlobalVars.TorsoColorID = ColorID;
GlobalVars.ColorMenu_TorsoColor = ButtonColor.ToString();
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
}
else if (SelectedPart == "Right Arm")
{
GlobalVars.RightArmColorID = ColorID;
GlobalVars.ColorMenu_RightArmColor = ButtonColor.ToString();
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
}
else if (SelectedPart == "Left Arm")
{
GlobalVars.LeftArmColorID = ColorID;
GlobalVars.ColorMenu_LeftArmColor = ButtonColor.ToString();
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
}
else if (SelectedPart == "Right Leg")
{
GlobalVars.RightLegColorID = ColorID;
GlobalVars.ColorMenu_RightLegColor = ButtonColor.ToString();
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
}
else if (SelectedPart == "Left Leg")
{
GlobalVars.LeftLegColorID = ColorID;
GlobalVars.ColorMenu_LeftLegColor = ButtonColor.ToString();
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
}
}
void Button7Click(object sender, EventArgs e)
{
Color ButtonColor = button7.BackColor;
int colorID = 1;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button8Click(object sender, EventArgs e)
{
Color ButtonColor = button8.BackColor;
int colorID = 208;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button9Click(object sender, EventArgs e)
{
Color ButtonColor = button9.BackColor;
int colorID = 194;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button10Click(object sender, EventArgs e)
{
Color ButtonColor = button10.BackColor;
int colorID = 199;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button14Click(object sender, EventArgs e)
{
Color ButtonColor = button14.BackColor;
int colorID = 26;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button13Click(object sender, EventArgs e)
{
Color ButtonColor = button13.BackColor;
int colorID = 21;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button12Click(object sender, EventArgs e)
{
Color ButtonColor = button12.BackColor;
int colorID = 24;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button11Click(object sender, EventArgs e)
{
Color ButtonColor = button11.BackColor;
int colorID = 226;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button18Click(object sender, EventArgs e)
{
Color ButtonColor = button18.BackColor;
int colorID = 23;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button17Click(object sender, EventArgs e)
{
Color ButtonColor = button17.BackColor;
int colorID = 107;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button16Click(object sender, EventArgs e)
{
Color ButtonColor = button16.BackColor;
int colorID = 102;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button15Click(object sender, EventArgs e)
{
Color ButtonColor = button15.BackColor;
int colorID = 11;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button22Click(object sender, EventArgs e)
{
Color ButtonColor = button22.BackColor;
int colorID = 45;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button21Click(object sender, EventArgs e)
{
Color ButtonColor = button21.BackColor;
int colorID = 135;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button20Click(object sender, EventArgs e)
{
Color ButtonColor = button20.BackColor;
int colorID = 106;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button19Click(object sender, EventArgs e)
{
Color ButtonColor = button19.BackColor;
int colorID = 105;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button26Click(object sender, EventArgs e)
{
Color ButtonColor = button26.BackColor;
int colorID = 141;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button25Click(object sender, EventArgs e)
{
Color ButtonColor = button25.BackColor;
int colorID = 28;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button24Click(object sender, EventArgs e)
{
Color ButtonColor = button24.BackColor;
int colorID = 37;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button23Click(object sender, EventArgs e)
{
Color ButtonColor = button23.BackColor;
int colorID = 119;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button30Click(object sender, EventArgs e)
{
Color ButtonColor = button30.BackColor;
int colorID = 29;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button29Click(object sender, EventArgs e)
{
Color ButtonColor = button29.BackColor;
int colorID = 151;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button28Click(object sender, EventArgs e)
{
Color ButtonColor = button28.BackColor;
int colorID = 38;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button27Click(object sender, EventArgs e)
{
Color ButtonColor = button27.BackColor;
int colorID = 192;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button34Click(object sender, EventArgs e)
{
Color ButtonColor = button34.BackColor;
int colorID = 104;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button33Click(object sender, EventArgs e)
{
Color ButtonColor = button33.BackColor;
int colorID = 9;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button32Click(object sender, EventArgs e)
{
Color ButtonColor = button32.BackColor;
int colorID = 101;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button31Click(object sender, EventArgs e)
{
Color ButtonColor = button31.BackColor;
int colorID = 5;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button38Click(object sender, EventArgs e)
{
Color ButtonColor = button38.BackColor;
int colorID = 153;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button37Click(object sender, EventArgs e)
{
Color ButtonColor = button37.BackColor;
int colorID = 217;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button36Click(object sender, EventArgs e)
{
Color ButtonColor = button36.BackColor;
int colorID = 18;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button35Click(object sender, EventArgs e)
{
Color ButtonColor = button35.BackColor;
int colorID = 125;
ChangeColorOfPart(colorID, ButtonColor);
}
void Button39Click(object sender, EventArgs e)
{
Random rand = new Random();
int RandomColor;
for (int i=1; i <= 6; i++)
{
RandomColor = rand.Next(ColorArray.GetLength(0));
if (i == 1)
{
GlobalVars.HeadColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_HeadColor = ColorArray[RandomColor, 1];
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
}
else if (i == 2)
{
GlobalVars.TorsoColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_TorsoColor = ColorArray[RandomColor, 1];
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
}
else if (i == 3)
{
GlobalVars.RightArmColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_RightArmColor = ColorArray[RandomColor, 1];
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
}
else if (i == 4)
{
GlobalVars.LeftArmColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_LeftArmColor = ColorArray[RandomColor, 1];
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
}
else if (i == 5)
{
GlobalVars.RightLegColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_RightLegColor = ColorArray[RandomColor, 1];
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
}
else if (i == 6)
{
GlobalVars.LeftLegColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_LeftLegColor = ColorArray[RandomColor, 1];
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
}
}
}
void Button40Click(object sender, EventArgs e)
{
GlobalVars.HeadColorID = 24;
GlobalVars.TorsoColorID = 23;
GlobalVars.LeftArmColorID = 24;
GlobalVars.RightArmColorID = 24;
GlobalVars.LeftLegColorID = 119;
GlobalVars.RightLegColorID = 119;
GlobalVars.ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
GlobalVars.ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
GlobalVars.ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
GlobalVars.ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
GlobalVars.ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
GlobalVars.ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
MessageBox.Show("Colors Reset!");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -37,35 +37,76 @@ namespace RBXLegacyLauncher
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CharacterCustomization));
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton3 = new System.Windows.Forms.RadioButton();
this.radioButton4 = new System.Windows.Forms.RadioButton();
this.label1 = new System.Windows.Forms.Label();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.ChangeFaceButton42 = new System.Windows.Forms.Button();
this.PartShapeButton41 = new System.Windows.Forms.Button();
this.RandColorsButton39 = new System.Windows.Forms.Button();
this.ResetColorsButton40 = new System.Windows.Forms.Button();
this.PartSelectionLabel2 = new System.Windows.Forms.Label();
this.PartLabel1 = new System.Windows.Forms.Label();
this.ColorButton35 = new System.Windows.Forms.Button();
this.ColorButton36 = new System.Windows.Forms.Button();
this.ColorButton37 = new System.Windows.Forms.Button();
this.ColorButton38 = new System.Windows.Forms.Button();
this.ColorButton31 = new System.Windows.Forms.Button();
this.ColorButton32 = new System.Windows.Forms.Button();
this.ColorButton33 = new System.Windows.Forms.Button();
this.ColorButton34 = new System.Windows.Forms.Button();
this.ColorButton27 = new System.Windows.Forms.Button();
this.ColorButton28 = new System.Windows.Forms.Button();
this.ColorButton29 = new System.Windows.Forms.Button();
this.ColorButton30 = new System.Windows.Forms.Button();
this.ColorButton23 = new System.Windows.Forms.Button();
this.ColorButton24 = new System.Windows.Forms.Button();
this.ColorButton25 = new System.Windows.Forms.Button();
this.ColorButton26 = new System.Windows.Forms.Button();
this.ColorButton19 = new System.Windows.Forms.Button();
this.ColorButton20 = new System.Windows.Forms.Button();
this.ColorButton21 = new System.Windows.Forms.Button();
this.ColorButton22 = new System.Windows.Forms.Button();
this.ColorButton15 = new System.Windows.Forms.Button();
this.ColorButton16 = new System.Windows.Forms.Button();
this.ColorButton17 = new System.Windows.Forms.Button();
this.ColorButton18 = new System.Windows.Forms.Button();
this.ColorButton11 = new System.Windows.Forms.Button();
this.ColorButton12 = new System.Windows.Forms.Button();
this.ColorButton13 = new System.Windows.Forms.Button();
this.ColorButton14 = new System.Windows.Forms.Button();
this.ColorButton10 = new System.Windows.Forms.Button();
this.ColorButton9 = new System.Windows.Forms.Button();
this.ColorButton8 = new System.Windows.Forms.Button();
this.ColorButton7 = new System.Windows.Forms.Button();
this.LLegButton6 = new System.Windows.Forms.Button();
this.RLegButton5 = new System.Windows.Forms.Button();
this.LArmButton4 = new System.Windows.Forms.Button();
this.RArmButton3 = new System.Windows.Forms.Button();
this.TorsoButton2 = new System.Windows.Forms.Button();
this.HeadButton1 = new System.Windows.Forms.Button();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.tabControl1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage4.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(9, 12);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(72, 23);
this.button1.TabIndex = 31;
this.button1.Text = "Body";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(87, 12);
this.button2.Location = new System.Drawing.Point(133, 6);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(67, 23);
this.button2.TabIndex = 32;
@ -75,7 +116,7 @@ namespace RBXLegacyLauncher
//
// radioButton1
//
this.radioButton1.Location = new System.Drawing.Point(16, 150);
this.radioButton1.Location = new System.Drawing.Point(63, 23);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(40, 16);
this.radioButton1.TabIndex = 34;
@ -85,7 +126,7 @@ namespace RBXLegacyLauncher
//
// radioButton2
//
this.radioButton2.Location = new System.Drawing.Point(16, 172);
this.radioButton2.Location = new System.Drawing.Point(109, 23);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(50, 16);
this.radioButton2.TabIndex = 35;
@ -95,7 +136,7 @@ namespace RBXLegacyLauncher
//
// radioButton3
//
this.radioButton3.Location = new System.Drawing.Point(87, 150);
this.radioButton3.Location = new System.Drawing.Point(174, 23);
this.radioButton3.Name = "radioButton3";
this.radioButton3.Size = new System.Drawing.Size(50, 16);
this.radioButton3.TabIndex = 36;
@ -106,7 +147,7 @@ namespace RBXLegacyLauncher
// radioButton4
//
this.radioButton4.Checked = true;
this.radioButton4.Location = new System.Drawing.Point(87, 172);
this.radioButton4.Location = new System.Drawing.Point(230, 23);
this.radioButton4.Name = "radioButton4";
this.radioButton4.Size = new System.Drawing.Size(53, 16);
this.radioButton4.TabIndex = 37;
@ -117,102 +158,667 @@ namespace RBXLegacyLauncher
//
// label1
//
this.label1.Location = new System.Drawing.Point(51, 130);
this.label1.Location = new System.Drawing.Point(136, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(60, 17);
this.label1.TabIndex = 38;
this.label1.Text = "Icon Type";
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Location = new System.Drawing.Point(12, 12);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(455, 270);
this.tabControl1.TabIndex = 48;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.ChangeFaceButton42);
this.tabPage2.Controls.Add(this.PartShapeButton41);
this.tabPage2.Controls.Add(this.RandColorsButton39);
this.tabPage2.Controls.Add(this.ResetColorsButton40);
this.tabPage2.Controls.Add(this.PartSelectionLabel2);
this.tabPage2.Controls.Add(this.PartLabel1);
this.tabPage2.Controls.Add(this.ColorButton35);
this.tabPage2.Controls.Add(this.ColorButton36);
this.tabPage2.Controls.Add(this.ColorButton37);
this.tabPage2.Controls.Add(this.ColorButton38);
this.tabPage2.Controls.Add(this.ColorButton31);
this.tabPage2.Controls.Add(this.ColorButton32);
this.tabPage2.Controls.Add(this.ColorButton33);
this.tabPage2.Controls.Add(this.ColorButton34);
this.tabPage2.Controls.Add(this.ColorButton27);
this.tabPage2.Controls.Add(this.ColorButton28);
this.tabPage2.Controls.Add(this.ColorButton29);
this.tabPage2.Controls.Add(this.ColorButton30);
this.tabPage2.Controls.Add(this.ColorButton23);
this.tabPage2.Controls.Add(this.ColorButton24);
this.tabPage2.Controls.Add(this.ColorButton25);
this.tabPage2.Controls.Add(this.ColorButton26);
this.tabPage2.Controls.Add(this.ColorButton19);
this.tabPage2.Controls.Add(this.ColorButton20);
this.tabPage2.Controls.Add(this.ColorButton21);
this.tabPage2.Controls.Add(this.ColorButton22);
this.tabPage2.Controls.Add(this.ColorButton15);
this.tabPage2.Controls.Add(this.ColorButton16);
this.tabPage2.Controls.Add(this.ColorButton17);
this.tabPage2.Controls.Add(this.ColorButton18);
this.tabPage2.Controls.Add(this.ColorButton11);
this.tabPage2.Controls.Add(this.ColorButton12);
this.tabPage2.Controls.Add(this.ColorButton13);
this.tabPage2.Controls.Add(this.ColorButton14);
this.tabPage2.Controls.Add(this.ColorButton10);
this.tabPage2.Controls.Add(this.ColorButton9);
this.tabPage2.Controls.Add(this.ColorButton8);
this.tabPage2.Controls.Add(this.ColorButton7);
this.tabPage2.Controls.Add(this.LLegButton6);
this.tabPage2.Controls.Add(this.RLegButton5);
this.tabPage2.Controls.Add(this.LArmButton4);
this.tabPage2.Controls.Add(this.RArmButton3);
this.tabPage2.Controls.Add(this.TorsoButton2);
this.tabPage2.Controls.Add(this.HeadButton1);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(447, 244);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "BODY";
this.tabPage2.UseVisualStyleBackColor = true;
//
// ChangeFaceButton42
//
this.ChangeFaceButton42.Location = new System.Drawing.Point(298, 202);
this.ChangeFaceButton42.Name = "ChangeFaceButton42";
this.ChangeFaceButton42.Size = new System.Drawing.Size(131, 23);
this.ChangeFaceButton42.TabIndex = 88;
this.ChangeFaceButton42.Text = "Change Face";
this.ChangeFaceButton42.UseVisualStyleBackColor = true;
//
// PartShapeButton41
//
this.PartShapeButton41.Location = new System.Drawing.Point(164, 202);
this.PartShapeButton41.Name = "PartShapeButton41";
this.PartShapeButton41.Size = new System.Drawing.Size(131, 23);
this.PartShapeButton41.TabIndex = 87;
this.PartShapeButton41.Text = "Change Part Shape";
this.PartShapeButton41.UseVisualStyleBackColor = true;
//
// RandColorsButton39
//
this.RandColorsButton39.Location = new System.Drawing.Point(164, 174);
this.RandColorsButton39.Name = "RandColorsButton39";
this.RandColorsButton39.Size = new System.Drawing.Size(131, 23);
this.RandColorsButton39.TabIndex = 86;
this.RandColorsButton39.Text = "Randomize Colors";
this.RandColorsButton39.UseVisualStyleBackColor = true;
this.RandColorsButton39.Click += new System.EventHandler(this.RandColorsButton39Click);
//
// ResetColorsButton40
//
this.ResetColorsButton40.Location = new System.Drawing.Point(298, 174);
this.ResetColorsButton40.Name = "ResetColorsButton40";
this.ResetColorsButton40.Size = new System.Drawing.Size(131, 23);
this.ResetColorsButton40.TabIndex = 85;
this.ResetColorsButton40.Text = "Reset Colors";
this.ResetColorsButton40.UseVisualStyleBackColor = true;
this.ResetColorsButton40.Click += new System.EventHandler(this.ResetColorsButton40Click);
//
// PartSelectionLabel2
//
this.PartSelectionLabel2.Location = new System.Drawing.Point(261, 155);
this.PartSelectionLabel2.Name = "PartSelectionLabel2";
this.PartSelectionLabel2.Size = new System.Drawing.Size(80, 16);
this.PartSelectionLabel2.TabIndex = 84;
//
// PartLabel1
//
this.PartLabel1.Location = new System.Drawing.Point(164, 155);
this.PartLabel1.Name = "PartLabel1";
this.PartLabel1.Size = new System.Drawing.Size(105, 16);
this.PartLabel1.TabIndex = 83;
this.PartLabel1.Text = "SELECTED PART:";
//
// ColorButton35
//
this.ColorButton35.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(185)))), ((int)(((byte)(145)))));
this.ColorButton35.Location = new System.Drawing.Point(401, 124);
this.ColorButton35.Name = "ColorButton35";
this.ColorButton35.Size = new System.Drawing.Size(28, 26);
this.ColorButton35.TabIndex = 82;
this.ColorButton35.UseVisualStyleBackColor = false;
this.ColorButton35.Click += new System.EventHandler(this.ColorButton35Click);
//
// ColorButton36
//
this.ColorButton36.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(142)))), ((int)(((byte)(105)))));
this.ColorButton36.Location = new System.Drawing.Point(367, 124);
this.ColorButton36.Name = "ColorButton36";
this.ColorButton36.Size = new System.Drawing.Size(28, 26);
this.ColorButton36.TabIndex = 81;
this.ColorButton36.UseVisualStyleBackColor = false;
this.ColorButton36.Click += new System.EventHandler(this.ColorButton36Click);
//
// ColorButton37
//
this.ColorButton37.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(92)))), ((int)(((byte)(69)))));
this.ColorButton37.Location = new System.Drawing.Point(333, 124);
this.ColorButton37.Name = "ColorButton37";
this.ColorButton37.Size = new System.Drawing.Size(28, 26);
this.ColorButton37.TabIndex = 80;
this.ColorButton37.UseVisualStyleBackColor = false;
this.ColorButton37.Click += new System.EventHandler(this.ColorButton37Click);
//
// ColorButton38
//
this.ColorButton38.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(122)))), ((int)(((byte)(118)))));
this.ColorButton38.Location = new System.Drawing.Point(298, 124);
this.ColorButton38.Name = "ColorButton38";
this.ColorButton38.Size = new System.Drawing.Size(29, 26);
this.ColorButton38.TabIndex = 79;
this.ColorButton38.UseVisualStyleBackColor = false;
this.ColorButton38.Click += new System.EventHandler(this.ColorButton38Click);
//
// ColorButton31
//
this.ColorButton31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(196)))), ((int)(((byte)(153)))));
this.ColorButton31.Location = new System.Drawing.Point(267, 124);
this.ColorButton31.Name = "ColorButton31";
this.ColorButton31.Size = new System.Drawing.Size(28, 26);
this.ColorButton31.TabIndex = 78;
this.ColorButton31.UseVisualStyleBackColor = false;
this.ColorButton31.Click += new System.EventHandler(this.ColorButton31Click);
//
// ColorButton32
//
this.ColorButton32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(135)))), ((int)(((byte)(121)))));
this.ColorButton32.Location = new System.Drawing.Point(233, 124);
this.ColorButton32.Name = "ColorButton32";
this.ColorButton32.Size = new System.Drawing.Size(28, 26);
this.ColorButton32.TabIndex = 77;
this.ColorButton32.UseVisualStyleBackColor = false;
this.ColorButton32.Click += new System.EventHandler(this.ColorButton32Click);
//
// ColorButton33
//
this.ColorButton33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(186)))), ((int)(((byte)(199)))));
this.ColorButton33.Location = new System.Drawing.Point(199, 124);
this.ColorButton33.Name = "ColorButton33";
this.ColorButton33.Size = new System.Drawing.Size(28, 26);
this.ColorButton33.TabIndex = 76;
this.ColorButton33.UseVisualStyleBackColor = false;
this.ColorButton33.Click += new System.EventHandler(this.ColorButton33Click);
//
// ColorButton34
//
this.ColorButton34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(106)))), ((int)(((byte)(50)))), ((int)(((byte)(123)))));
this.ColorButton34.Location = new System.Drawing.Point(164, 124);
this.ColorButton34.Name = "ColorButton34";
this.ColorButton34.Size = new System.Drawing.Size(29, 26);
this.ColorButton34.TabIndex = 75;
this.ColorButton34.UseVisualStyleBackColor = false;
this.ColorButton34.Click += new System.EventHandler(this.ColorButton34Click);
//
// ColorButton27
//
this.ColorButton27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(63)))), ((int)(((byte)(39)))));
this.ColorButton27.Location = new System.Drawing.Point(401, 92);
this.ColorButton27.Name = "ColorButton27";
this.ColorButton27.Size = new System.Drawing.Size(28, 26);
this.ColorButton27.TabIndex = 74;
this.ColorButton27.UseVisualStyleBackColor = false;
this.ColorButton27.Click += new System.EventHandler(this.ColorButton27Click);
//
// ColorButton28
//
this.ColorButton28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(95)))), ((int)(((byte)(55)))));
this.ColorButton28.Location = new System.Drawing.Point(367, 92);
this.ColorButton28.Name = "ColorButton28";
this.ColorButton28.Size = new System.Drawing.Size(28, 26);
this.ColorButton28.TabIndex = 73;
this.ColorButton28.UseVisualStyleBackColor = false;
this.ColorButton28.Click += new System.EventHandler(this.ColorButton28Click);
//
// ColorButton29
//
this.ColorButton29.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(144)))), ((int)(((byte)(130)))));
this.ColorButton29.Location = new System.Drawing.Point(333, 92);
this.ColorButton29.Name = "ColorButton29";
this.ColorButton29.Size = new System.Drawing.Size(28, 26);
this.ColorButton29.TabIndex = 72;
this.ColorButton29.UseVisualStyleBackColor = false;
this.ColorButton29.Click += new System.EventHandler(this.ColorButton29Click);
//
// ColorButton30
//
this.ColorButton30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(196)))), ((int)(((byte)(140)))));
this.ColorButton30.Location = new System.Drawing.Point(298, 92);
this.ColorButton30.Name = "ColorButton30";
this.ColorButton30.Size = new System.Drawing.Size(29, 26);
this.ColorButton30.TabIndex = 71;
this.ColorButton30.UseVisualStyleBackColor = false;
this.ColorButton30.Click += new System.EventHandler(this.ColorButton30Click);
//
// ColorButton23
//
this.ColorButton23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(164)))), ((int)(((byte)(189)))), ((int)(((byte)(71)))));
this.ColorButton23.Location = new System.Drawing.Point(267, 92);
this.ColorButton23.Name = "ColorButton23";
this.ColorButton23.Size = new System.Drawing.Size(28, 26);
this.ColorButton23.TabIndex = 70;
this.ColorButton23.UseVisualStyleBackColor = false;
this.ColorButton23.Click += new System.EventHandler(this.ColorButton23Click);
//
// ColorButton24
//
this.ColorButton24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(150)))), ((int)(((byte)(73)))));
this.ColorButton24.Location = new System.Drawing.Point(233, 92);
this.ColorButton24.Name = "ColorButton24";
this.ColorButton24.Size = new System.Drawing.Size(28, 26);
this.ColorButton24.TabIndex = 69;
this.ColorButton24.UseVisualStyleBackColor = false;
this.ColorButton24.Click += new System.EventHandler(this.ColorButton24Click);
//
// ColorButton25
//
this.ColorButton25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(126)))), ((int)(((byte)(71)))));
this.ColorButton25.Location = new System.Drawing.Point(199, 92);
this.ColorButton25.Name = "ColorButton25";
this.ColorButton25.Size = new System.Drawing.Size(28, 26);
this.ColorButton25.TabIndex = 68;
this.ColorButton25.UseVisualStyleBackColor = false;
this.ColorButton25.Click += new System.EventHandler(this.ColorButton25Click);
//
// ColorButton26
//
this.ColorButton26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(70)))), ((int)(((byte)(43)))));
this.ColorButton26.Location = new System.Drawing.Point(164, 92);
this.ColorButton26.Name = "ColorButton26";
this.ColorButton26.Size = new System.Drawing.Size(29, 26);
this.ColorButton26.TabIndex = 67;
this.ColorButton26.UseVisualStyleBackColor = false;
this.ColorButton26.Click += new System.EventHandler(this.ColorButton26Click);
//
// ColorButton19
//
this.ColorButton19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(63)))));
this.ColorButton19.Location = new System.Drawing.Point(401, 60);
this.ColorButton19.Name = "ColorButton19";
this.ColorButton19.Size = new System.Drawing.Size(28, 26);
this.ColorButton19.TabIndex = 66;
this.ColorButton19.UseVisualStyleBackColor = false;
this.ColorButton19.Click += new System.EventHandler(this.ColorButton19Click);
//
// ColorButton20
//
this.ColorButton20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(134)))), ((int)(((byte)(64)))));
this.ColorButton20.Location = new System.Drawing.Point(367, 60);
this.ColorButton20.Name = "ColorButton20";
this.ColorButton20.Size = new System.Drawing.Size(28, 26);
this.ColorButton20.TabIndex = 65;
this.ColorButton20.UseVisualStyleBackColor = false;
this.ColorButton20.Click += new System.EventHandler(this.ColorButton20Click);
//
// ColorButton21
//
this.ColorButton21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(116)))), ((int)(((byte)(134)))), ((int)(((byte)(156)))));
this.ColorButton21.Location = new System.Drawing.Point(333, 60);
this.ColorButton21.Name = "ColorButton21";
this.ColorButton21.Size = new System.Drawing.Size(28, 26);
this.ColorButton21.TabIndex = 64;
this.ColorButton21.UseVisualStyleBackColor = false;
this.ColorButton21.Click += new System.EventHandler(this.ColorButton21Click);
//
// ColorButton22
//
this.ColorButton22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(210)))), ((int)(((byte)(228)))));
this.ColorButton22.Location = new System.Drawing.Point(298, 60);
this.ColorButton22.Name = "ColorButton22";
this.ColorButton22.Size = new System.Drawing.Size(29, 26);
this.ColorButton22.TabIndex = 63;
this.ColorButton22.UseVisualStyleBackColor = false;
this.ColorButton22.Click += new System.EventHandler(this.ColorButton22Click);
//
// ColorButton15
//
this.ColorButton15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(186)))), ((int)(((byte)(219)))));
this.ColorButton15.Location = new System.Drawing.Point(267, 60);
this.ColorButton15.Name = "ColorButton15";
this.ColorButton15.Size = new System.Drawing.Size(28, 26);
this.ColorButton15.TabIndex = 62;
this.ColorButton15.UseVisualStyleBackColor = false;
this.ColorButton15.Click += new System.EventHandler(this.ColorButton15Click);
//
// ColorButton16
//
this.ColorButton16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(111)))), ((int)(((byte)(153)))), ((int)(((byte)(201)))));
this.ColorButton16.Location = new System.Drawing.Point(233, 60);
this.ColorButton16.Name = "ColorButton16";
this.ColorButton16.Size = new System.Drawing.Size(28, 26);
this.ColorButton16.TabIndex = 61;
this.ColorButton16.UseVisualStyleBackColor = false;
this.ColorButton16.Click += new System.EventHandler(this.ColorButton16Click);
//
// ColorButton17
//
this.ColorButton17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(143)))), ((int)(((byte)(155)))));
this.ColorButton17.Location = new System.Drawing.Point(199, 60);
this.ColorButton17.Name = "ColorButton17";
this.ColorButton17.Size = new System.Drawing.Size(28, 26);
this.ColorButton17.TabIndex = 60;
this.ColorButton17.UseVisualStyleBackColor = false;
this.ColorButton17.Click += new System.EventHandler(this.ColorButton17Click);
//
// ColorButton18
//
this.ColorButton18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(105)))), ((int)(((byte)(172)))));
this.ColorButton18.Location = new System.Drawing.Point(164, 60);
this.ColorButton18.Name = "ColorButton18";
this.ColorButton18.Size = new System.Drawing.Size(29, 26);
this.ColorButton18.TabIndex = 59;
this.ColorButton18.UseVisualStyleBackColor = false;
this.ColorButton18.Click += new System.EventHandler(this.ColorButton18Click);
//
// ColorButton11
//
this.ColorButton11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(234)))), ((int)(((byte)(142)))));
this.ColorButton11.Location = new System.Drawing.Point(401, 28);
this.ColorButton11.Name = "ColorButton11";
this.ColorButton11.Size = new System.Drawing.Size(28, 26);
this.ColorButton11.TabIndex = 58;
this.ColorButton11.UseVisualStyleBackColor = false;
this.ColorButton11.Click += new System.EventHandler(this.ColorButton11Click);
//
// ColorButton12
//
this.ColorButton12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.ColorButton12.Location = new System.Drawing.Point(367, 28);
this.ColorButton12.Name = "ColorButton12";
this.ColorButton12.Size = new System.Drawing.Size(28, 26);
this.ColorButton12.TabIndex = 57;
this.ColorButton12.UseVisualStyleBackColor = false;
this.ColorButton12.Click += new System.EventHandler(this.ColorButton12Click);
//
// ColorButton13
//
this.ColorButton13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(40)))), ((int)(((byte)(27)))));
this.ColorButton13.Location = new System.Drawing.Point(333, 28);
this.ColorButton13.Name = "ColorButton13";
this.ColorButton13.Size = new System.Drawing.Size(28, 26);
this.ColorButton13.TabIndex = 56;
this.ColorButton13.UseVisualStyleBackColor = false;
this.ColorButton13.Click += new System.EventHandler(this.ColorButton13Click);
//
// ColorButton14
//
this.ColorButton14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(42)))), ((int)(((byte)(53)))));
this.ColorButton14.Location = new System.Drawing.Point(298, 28);
this.ColorButton14.Name = "ColorButton14";
this.ColorButton14.Size = new System.Drawing.Size(29, 26);
this.ColorButton14.TabIndex = 55;
this.ColorButton14.UseVisualStyleBackColor = false;
this.ColorButton14.Click += new System.EventHandler(this.ColorButton14Click);
//
// ColorButton10
//
this.ColorButton10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(95)))), ((int)(((byte)(96)))));
this.ColorButton10.Location = new System.Drawing.Point(267, 28);
this.ColorButton10.Name = "ColorButton10";
this.ColorButton10.Size = new System.Drawing.Size(28, 26);
this.ColorButton10.TabIndex = 54;
this.ColorButton10.UseVisualStyleBackColor = false;
this.ColorButton10.Click += new System.EventHandler(this.ColorButton10Click);
//
// ColorButton9
//
this.ColorButton9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(163)))), ((int)(((byte)(165)))));
this.ColorButton9.Location = new System.Drawing.Point(233, 28);
this.ColorButton9.Name = "ColorButton9";
this.ColorButton9.Size = new System.Drawing.Size(28, 26);
this.ColorButton9.TabIndex = 53;
this.ColorButton9.UseVisualStyleBackColor = false;
this.ColorButton9.Click += new System.EventHandler(this.ColorButton9Click);
//
// ColorButton8
//
this.ColorButton8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(228)))), ((int)(((byte)(229)))), ((int)(((byte)(224)))));
this.ColorButton8.Location = new System.Drawing.Point(199, 28);
this.ColorButton8.Name = "ColorButton8";
this.ColorButton8.Size = new System.Drawing.Size(28, 26);
this.ColorButton8.TabIndex = 52;
this.ColorButton8.UseVisualStyleBackColor = false;
this.ColorButton8.Click += new System.EventHandler(this.ColorButton8Click);
//
// ColorButton7
//
this.ColorButton7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243)))));
this.ColorButton7.Location = new System.Drawing.Point(164, 28);
this.ColorButton7.Name = "ColorButton7";
this.ColorButton7.Size = new System.Drawing.Size(29, 26);
this.ColorButton7.TabIndex = 51;
this.ColorButton7.UseVisualStyleBackColor = false;
this.ColorButton7.Click += new System.EventHandler(this.ColorButton7Click);
//
// LLegButton6
//
this.LLegButton6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(164)))), ((int)(((byte)(189)))), ((int)(((byte)(71)))));
this.LLegButton6.Location = new System.Drawing.Point(80, 155);
this.LLegButton6.Name = "LLegButton6";
this.LLegButton6.Size = new System.Drawing.Size(31, 70);
this.LLegButton6.TabIndex = 50;
this.LLegButton6.UseVisualStyleBackColor = false;
//
// RLegButton5
//
this.RLegButton5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(164)))), ((int)(((byte)(189)))), ((int)(((byte)(71)))));
this.RLegButton5.Location = new System.Drawing.Point(43, 155);
this.RLegButton5.Name = "RLegButton5";
this.RLegButton5.Size = new System.Drawing.Size(31, 70);
this.RLegButton5.TabIndex = 49;
this.RLegButton5.UseVisualStyleBackColor = false;
//
// LArmButton4
//
this.LArmButton4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.LArmButton4.Location = new System.Drawing.Point(117, 77);
this.LArmButton4.Name = "LArmButton4";
this.LArmButton4.Size = new System.Drawing.Size(31, 72);
this.LArmButton4.TabIndex = 48;
this.LArmButton4.UseVisualStyleBackColor = false;
//
// RArmButton3
//
this.RArmButton3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.RArmButton3.Location = new System.Drawing.Point(6, 77);
this.RArmButton3.Name = "RArmButton3";
this.RArmButton3.Size = new System.Drawing.Size(31, 72);
this.RArmButton3.TabIndex = 47;
this.RArmButton3.UseVisualStyleBackColor = false;
//
// TorsoButton2
//
this.TorsoButton2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(105)))), ((int)(((byte)(172)))));
this.TorsoButton2.Location = new System.Drawing.Point(43, 77);
this.TorsoButton2.Name = "TorsoButton2";
this.TorsoButton2.Size = new System.Drawing.Size(68, 72);
this.TorsoButton2.TabIndex = 46;
this.TorsoButton2.UseVisualStyleBackColor = false;
//
// HeadButton1
//
this.HeadButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(205)))), ((int)(((byte)(47)))));
this.HeadButton1.Location = new System.Drawing.Point(53, 27);
this.HeadButton1.Name = "HeadButton1";
this.HeadButton1.Size = new System.Drawing.Size(47, 46);
this.HeadButton1.TabIndex = 45;
this.HeadButton1.UseVisualStyleBackColor = false;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.button2);
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(447, 244);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "HATS";
this.tabPage3.UseVisualStyleBackColor = true;
//
// tabPage4
//
this.tabPage4.Controls.Add(this.label4);
this.tabPage4.Controls.Add(this.label5);
this.tabPage4.Controls.Add(this.textBox1);
this.tabPage4.Controls.Add(this.textBox3);
this.tabPage4.Controls.Add(this.label3);
this.tabPage4.Controls.Add(this.label2);
this.tabPage4.Controls.Add(this.textBox2);
this.tabPage4.Controls.Add(this.label1);
this.tabPage4.Controls.Add(this.radioButton3);
this.tabPage4.Controls.Add(this.radioButton2);
this.tabPage4.Controls.Add(this.radioButton4);
this.tabPage4.Controls.Add(this.radioButton1);
this.tabPage4.Location = new System.Drawing.Point(4, 22);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(447, 244);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "ICON";
this.tabPage4.UseVisualStyleBackColor = true;
//
// label4
//
this.label4.ForeColor = System.Drawing.Color.Red;
this.label4.Location = new System.Drawing.Point(6, 175);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(321, 40);
this.label4.TabIndex = 53;
this.label4.Text = "NOTE: These clothing options will not work while playing the game offline.";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label5
//
this.label5.Location = new System.Drawing.Point(143, 52);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(53, 15);
this.label5.TabIndex = 50;
this.label5.Text = "T-Shirt ID";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(71, 56);
this.textBox1.Location = new System.Drawing.Point(102, 70);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(87, 20);
this.textBox1.TabIndex = 39;
this.textBox1.Size = new System.Drawing.Size(137, 20);
this.textBox1.TabIndex = 47;
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox1.TextChanged += new System.EventHandler(this.TextBox1TextChanged);
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(71, 81);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(87, 20);
this.textBox2.TabIndex = 40;
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(71, 107);
this.textBox3.Location = new System.Drawing.Point(102, 152);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(87, 20);
this.textBox3.TabIndex = 41;
this.textBox3.Size = new System.Drawing.Size(137, 20);
this.textBox3.TabIndex = 49;
this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox3.TextChanged += new System.EventHandler(this.TextBox3TextChanged);
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 107);
this.label3.Location = new System.Drawing.Point(143, 134);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(49, 15);
this.label3.TabIndex = 45;
this.label3.TabIndex = 52;
this.label3.Text = "Pants ID";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 84);
this.label2.Location = new System.Drawing.Point(147, 93);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(42, 15);
this.label2.TabIndex = 44;
this.label2.TabIndex = 51;
this.label2.Text = "Shirt ID";
//
// label5
// textBox2
//
this.label5.Location = new System.Drawing.Point(12, 59);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(53, 15);
this.label5.TabIndex = 43;
this.label5.Text = "T-Shirt ID";
//
// label6
//
this.label6.Location = new System.Drawing.Point(12, 38);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(125, 15);
this.label6.TabIndex = 47;
this.label6.Text = "Clothing";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.textBox2.Location = new System.Drawing.Point(102, 111);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(137, 20);
this.textBox2.TabIndex = 48;
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
//
// CharacterCustomization
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.ClientSize = new System.Drawing.Size(166, 201);
this.Controls.Add(this.label6);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label5);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.radioButton4);
this.Controls.Add(this.radioButton3);
this.Controls.Add(this.radioButton2);
this.Controls.Add(this.radioButton1);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.ClientSize = new System.Drawing.Size(473, 293);
this.Controls.Add(this.tabControl1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "CharacterCustomization";
this.Text = "Character Customization";
this.Load += new System.EventHandler(this.CharacterCustomizationLoad);
this.tabControl1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
this.tabPage4.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Button HeadButton1;
private System.Windows.Forms.Button TorsoButton2;
private System.Windows.Forms.Button RArmButton3;
private System.Windows.Forms.Button LArmButton4;
private System.Windows.Forms.Button RLegButton5;
private System.Windows.Forms.Button LLegButton6;
private System.Windows.Forms.Button ColorButton7;
private System.Windows.Forms.Button ColorButton8;
private System.Windows.Forms.Button ColorButton9;
private System.Windows.Forms.Button ColorButton10;
private System.Windows.Forms.Button ColorButton14;
private System.Windows.Forms.Button ColorButton13;
private System.Windows.Forms.Button ColorButton12;
private System.Windows.Forms.Button ColorButton11;
private System.Windows.Forms.Button ColorButton18;
private System.Windows.Forms.Button ColorButton17;
private System.Windows.Forms.Button ColorButton16;
private System.Windows.Forms.Button ColorButton15;
private System.Windows.Forms.Button ColorButton22;
private System.Windows.Forms.Button ColorButton21;
private System.Windows.Forms.Button ColorButton20;
private System.Windows.Forms.Button ColorButton19;
private System.Windows.Forms.Button ColorButton26;
private System.Windows.Forms.Button ColorButton25;
private System.Windows.Forms.Button ColorButton24;
private System.Windows.Forms.Button ColorButton23;
private System.Windows.Forms.Button ColorButton30;
private System.Windows.Forms.Button ColorButton29;
private System.Windows.Forms.Button ColorButton28;
private System.Windows.Forms.Button ColorButton27;
private System.Windows.Forms.Button ColorButton34;
private System.Windows.Forms.Button ColorButton33;
private System.Windows.Forms.Button ColorButton32;
private System.Windows.Forms.Button ColorButton31;
private System.Windows.Forms.Button ColorButton38;
private System.Windows.Forms.Button ColorButton37;
private System.Windows.Forms.Button ColorButton36;
private System.Windows.Forms.Button ColorButton35;
private System.Windows.Forms.Label PartLabel1;
private System.Windows.Forms.Label PartSelectionLabel2;
private System.Windows.Forms.Button ResetColorsButton40;
private System.Windows.Forms.Button RandColorsButton39;
private System.Windows.Forms.Button PartShapeButton41;
private System.Windows.Forms.Button ChangeFaceButton42;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
@ -225,6 +831,5 @@ namespace RBXLegacyLauncher
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
}
}

View File

@ -22,6 +22,9 @@ namespace RBXLegacyLauncher
/// </summary>
public partial class CharacterCustomization : Form
{
public static string SelectedPart = "Head";
public string[,] ColorArray;
public CharacterCustomization()
{
//
@ -29,6 +32,41 @@ namespace RBXLegacyLauncher
//
InitializeComponent();
ColorArray = new string[32, 2] {
{ "1", ColorButton7.BackColor.ToString() },
{ "208", ColorButton8.BackColor.ToString() },
{ "194", ColorButton9.BackColor.ToString() },
{ "199", ColorButton10.BackColor.ToString() },
{ "26", ColorButton14.BackColor.ToString() },
{ "21", ColorButton13.BackColor.ToString() },
{ "24", ColorButton12.BackColor.ToString() },
{ "226", ColorButton11.BackColor.ToString() },
{ "23", ColorButton18.BackColor.ToString() },
{ "107", ColorButton17.BackColor.ToString() },
{ "102", ColorButton16.BackColor.ToString() },
{ "11", ColorButton15.BackColor.ToString() },
{ "45", ColorButton22.BackColor.ToString() },
{ "135", ColorButton21.BackColor.ToString() },
{ "106", ColorButton20.BackColor.ToString() },
{ "105", ColorButton19.BackColor.ToString() },
{ "141", ColorButton26.BackColor.ToString() },
{ "28", ColorButton25.BackColor.ToString() },
{ "37", ColorButton24.BackColor.ToString() },
{ "119", ColorButton23.BackColor.ToString() },
{ "29", ColorButton30.BackColor.ToString() },
{ "151", ColorButton29.BackColor.ToString() },
{ "38", ColorButton28.BackColor.ToString() },
{ "192", ColorButton27.BackColor.ToString() },
{ "104", ColorButton34.BackColor.ToString() },
{ "9", ColorButton33.BackColor.ToString() },
{ "101", ColorButton32.BackColor.ToString() },
{ "5", ColorButton31.BackColor.ToString() },
{ "153", ColorButton38.BackColor.ToString() },
{ "217", ColorButton37.BackColor.ToString() },
{ "18", ColorButton36.BackColor.ToString() },
{ "125", ColorButton35.BackColor.ToString() }
};
//
// TODO: Add constructor code after the InitializeComponent() call.
//
@ -39,7 +77,6 @@ namespace RBXLegacyLauncher
textBox1.Text = GlobalVars.Custom_TShirt.ToString();
textBox2.Text = GlobalVars.Custom_Shirt.ToString();
textBox3.Text = GlobalVars.Custom_Pants.ToString();
textBox4.Text = GlobalVars.Custom_Face.ToString();
if (GlobalVars.Custom_IconType.Equals("BC"))
{
radioButton1.Checked = true;
@ -65,12 +102,66 @@ namespace RBXLegacyLauncher
{
button2.Enabled = false;
}
//color menu implementation
PartSelectionLabel2.Text = SelectedPart;
HeadButton1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
TorsoButton2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
RArmButton3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
LArmButton4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
RLegButton5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
LLegButton6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
}
void Button1Click(object sender, EventArgs e)
Color ConvertStringtoColor(string CString)
{
CharacterColors ccol = new CharacterColors();
ccol.Show();
var p = CString.Split(new char[]{',',']'});
int A = Convert.ToInt32(p[0].Substring(p[0].IndexOf('=') + 1));
int R = Convert.ToInt32(p[1].Substring(p[1].IndexOf('=') + 1));
int G = Convert.ToInt32(p[2].Substring(p[2].IndexOf('=') + 1));
int B = Convert.ToInt32(p[3].Substring(p[3].IndexOf('=') + 1));
return Color.FromArgb(A,R,G,B);
}
void ChangeColorOfPart(int ColorID, Color ButtonColor)
{
if (SelectedPart == "Head")
{
GlobalVars.HeadColorID = ColorID;
GlobalVars.ColorMenu_HeadColor = ButtonColor.ToString();
HeadButton1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
}
else if (SelectedPart == "Torso")
{
GlobalVars.TorsoColorID = ColorID;
GlobalVars.ColorMenu_TorsoColor = ButtonColor.ToString();
TorsoButton2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
}
else if (SelectedPart == "Right Arm")
{
GlobalVars.RightArmColorID = ColorID;
GlobalVars.ColorMenu_RightArmColor = ButtonColor.ToString();
RArmButton3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
}
else if (SelectedPart == "Left Arm")
{
GlobalVars.LeftArmColorID = ColorID;
GlobalVars.ColorMenu_LeftArmColor = ButtonColor.ToString();
LArmButton4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
}
else if (SelectedPart == "Right Leg")
{
GlobalVars.RightLegColorID = ColorID;
GlobalVars.ColorMenu_RightLegColor = ButtonColor.ToString();
RLegButton5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
}
else if (SelectedPart == "Left Leg")
{
GlobalVars.LeftLegColorID = ColorID;
GlobalVars.ColorMenu_LeftLegColor = ButtonColor.ToString();
LLegButton6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
}
}
void Button2Click(object sender, EventArgs e)
@ -139,25 +230,6 @@ namespace RBXLegacyLauncher
}
}
void TextBox4TextChanged(object sender, EventArgs e)
{
int parsedValue;
if (int.TryParse(textBox4.Text, out parsedValue))
{
if (textBox4.Text.Equals(""))
{
GlobalVars.Custom_Face = 0;
}
else
{
GlobalVars.Custom_Face = Convert.ToInt32(textBox4.Text);
}
}
else
{
GlobalVars.Custom_Face = 0;
}
}
void RadioButton1CheckedChanged(object sender, EventArgs e)
{
@ -178,5 +250,299 @@ namespace RBXLegacyLauncher
{
GlobalVars.Custom_IconType = "NBC";
}
void ColorButton7Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton7.BackColor;
int colorID = 1;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton8Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton8.BackColor;
int colorID = 208;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton9Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton9.BackColor;
int colorID = 194;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton10Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton10.BackColor;
int colorID = 199;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton14Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton14.BackColor;
int colorID = 26;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton13Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton13.BackColor;
int colorID = 21;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton12Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton12.BackColor;
int colorID = 24;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton11Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton11.BackColor;
int colorID = 226;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton18Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton18.BackColor;
int colorID = 23;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton17Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton17.BackColor;
int colorID = 107;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton16Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton16.BackColor;
int colorID = 102;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton15Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton15.BackColor;
int colorID = 11;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton22Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton22.BackColor;
int colorID = 45;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton21Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton21.BackColor;
int colorID = 135;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton20Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton20.BackColor;
int colorID = 106;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton19Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton19.BackColor;
int colorID = 105;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton26Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton26.BackColor;
int colorID = 141;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton25Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton25.BackColor;
int colorID = 28;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton24Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton24.BackColor;
int colorID = 37;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton23Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton23.BackColor;
int colorID = 119;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton30Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton30.BackColor;
int colorID = 29;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton29Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton29.BackColor;
int colorID = 151;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton28Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton28.BackColor;
int colorID = 38;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton27Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton27.BackColor;
int colorID = 192;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton34Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton34.BackColor;
int colorID = 104;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton33Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton33.BackColor;
int colorID = 9;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton32Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton32.BackColor;
int colorID = 101;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton31Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton31.BackColor;
int colorID = 5;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton38Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton38.BackColor;
int colorID = 153;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton37Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton37.BackColor;
int colorID = 217;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton36Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton36.BackColor;
int colorID = 18;
ChangeColorOfPart(colorID, ButtonColor);
}
void ColorButton35Click(object sender, EventArgs e)
{
Color ButtonColor = ColorButton35.BackColor;
int colorID = 125;
ChangeColorOfPart(colorID, ButtonColor);
}
void RandColorsButton39Click(object sender, EventArgs e)
{
Random rand = new Random();
int RandomColor;
for (int i=1; i <= 6; i++)
{
RandomColor = rand.Next(ColorArray.GetLength(0));
if (i == 1)
{
GlobalVars.HeadColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_HeadColor = ColorArray[RandomColor, 1];
HeadButton1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
}
else if (i == 2)
{
GlobalVars.TorsoColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_TorsoColor = ColorArray[RandomColor, 1];
TorsoButton2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
}
else if (i == 3)
{
GlobalVars.RightArmColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_RightArmColor = ColorArray[RandomColor, 1];
RArmButton3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
}
else if (i == 4)
{
GlobalVars.LeftArmColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_LeftArmColor = ColorArray[RandomColor, 1];
LArmButton4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
}
else if (i == 5)
{
GlobalVars.RightLegColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_RightLegColor = ColorArray[RandomColor, 1];
RLegButton5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
}
else if (i == 6)
{
GlobalVars.LeftLegColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
GlobalVars.ColorMenu_LeftLegColor = ColorArray[RandomColor, 1];
LLegButton6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
}
}
}
void ResetColorsButton40Click(object sender, EventArgs e)
{
GlobalVars.HeadColorID = 24;
GlobalVars.TorsoColorID = 23;
GlobalVars.LeftArmColorID = 24;
GlobalVars.RightArmColorID = 24;
GlobalVars.LeftLegColorID = 119;
GlobalVars.RightLegColorID = 119;
GlobalVars.ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
GlobalVars.ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
GlobalVars.ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
GlobalVars.ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
GlobalVars.ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
GlobalVars.ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
HeadButton1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
TorsoButton2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
RArmButton3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
LArmButton4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
RLegButton5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
LLegButton6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
MessageBox.Show("Colors Reset!");
}
}
}

View File

@ -69,7 +69,7 @@ namespace RBXLegacyLauncher
Decryptline24 = SecurityFuncs.Base64Decode(result[23]);
Decryptline25 = SecurityFuncs.Base64Decode(result[24]);
Decryptline26 = SecurityFuncs.Base64Decode(result[25]);
Decryptline27 = SecurityFuncs.Base64Decode(result[26]);
//Decryptline27 = SecurityFuncs.Base64Decode(result[26]);
bool bline1 = Convert.ToBoolean(Decryptline1);
GlobalVars.CloseOnLaunch = bline1;
@ -124,9 +124,8 @@ namespace RBXLegacyLauncher
GlobalVars.Custom_Shirt = iline24;
int iline25 = Convert.ToInt32(Decryptline25);
GlobalVars.Custom_Pants = iline25;
int iline26 = Convert.ToInt32(Decryptline26);
GlobalVars.Custom_Face = iline26;
GlobalVars.Custom_IconType = Decryptline27;
GlobalVars.Custom_IconType = Decryptline26;
}
public static void WriteConfigValues(string cfgpath)
@ -157,7 +156,6 @@ namespace RBXLegacyLauncher
SecurityFuncs.Base64Encode(GlobalVars.Custom_TShirt.ToString()),
SecurityFuncs.Base64Encode(GlobalVars.Custom_Shirt.ToString()),
SecurityFuncs.Base64Encode(GlobalVars.Custom_Pants.ToString()),
SecurityFuncs.Base64Encode(GlobalVars.Custom_Face.ToString()),
SecurityFuncs.Base64Encode(GlobalVars.Custom_IconType.ToString())
};
File.WriteAllText(cfgpath, SecurityFuncs.Base64Encode(string.Join("|",lines)));
@ -203,7 +201,6 @@ namespace RBXLegacyLauncher
GlobalVars.Custom_TShirt = 0;
GlobalVars.Custom_Shirt = 0;
GlobalVars.Custom_Pants = 0;
GlobalVars.Custom_Face = 0;
GlobalVars.Custom_IconType = "NBC";
}

View File

@ -85,19 +85,19 @@ namespace RBXLegacyLauncher
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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
{

View File

@ -672,19 +672,19 @@ namespace RBXLegacyLauncher
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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
{
@ -740,19 +740,19 @@ namespace RBXLegacyLauncher
string HatIDOffline3 = GlobalVars.Custom_Hat3ID_Offline;
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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)
{
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.Custom_Face + "','" + 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 )
{
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.Custom_Face + "','" + 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
{

View File

@ -56,10 +56,6 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CharacterColors.cs" />
<Compile Include="CharacterColors.Designer.cs">
<DependentUpon>CharacterColors.cs</DependentUpon>
</Compile>
<Compile Include="CharacterCustomization.cs" />
<Compile Include="CharacterCustomization.Designer.cs">
<DependentUpon>CharacterCustomization.cs</DependentUpon>
@ -110,9 +106,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="CharacterColors.resx">
<DependentUpon>CharacterColors.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="CharacterCustomization.resx">
<DependentUpon>CharacterCustomization.cs</DependentUpon>
</EmbeddedResource>

View File

@ -0,0 +1,13 @@
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.csprojResolveAssemblyReference.cache
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.CharacterColors.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.CharacterCustomization.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.CharacterCustomization_HatMenu.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.ClientinfoEditor.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.DocForm.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.InfoEditor.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.LoaderForm.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.MainForm.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.QuickConfigure.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.SDKForm.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.ServerInfo.resources
C:\Users\BITL\Documents\GitHub\RBXLegacy-src\RBXLegacyLauncher\RBXLegacyLauncher\obj\Release\RBXLegacyLauncher.csproj.GenerateResource.Cache