This commit is contained in:
Bitl 2017-05-14 10:51:54 -07:00
parent 9ba68cc61b
commit 7b7938b521
8 changed files with 6440 additions and 2 deletions

View File

@ -4,6 +4,7 @@
public static string ScriptsDir = "";
public static string MapsDir = "";
public static string IP = "localhost";
public static string Version = "";
//server settings.
public static bool BodyColors = true;
public static string Map = "Baseplate.rbxl";
@ -18,7 +19,6 @@
public static int CharacterAppearanceID = 0;
public static bool UseAppearanceID = false;
public static bool UseCustomAppearanceID = false;
public static bool CineMode = false;
//client shit
public static string SelectedClient = "";
public static bool UsesPlayerName = false;

View File

@ -119,6 +119,7 @@ namespace RBXLegacyLauncher
this.label28 = new System.Windows.Forms.Label();
this.button6 = new System.Windows.Forms.Button();
this.textBox5 = new System.Windows.Forms.TextBox();
this.button20 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
@ -271,6 +272,7 @@ namespace RBXLegacyLauncher
//
// tabPage2
//
this.tabPage2.Controls.Add(this.button20);
this.tabPage2.Controls.Add(this.button18);
this.tabPage2.Controls.Add(this.label32);
this.tabPage2.Controls.Add(this.label20);
@ -997,6 +999,16 @@ namespace RBXLegacyLauncher
this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged);
//
// button20
//
this.button20.Location = new System.Drawing.Point(352, 244);
this.button20.Name = "button20";
this.button20.Size = new System.Drawing.Size(38, 23);
this.button20.TabIndex = 21;
this.button20.Text = "Info";
this.button20.UseVisualStyleBackColor = true;
this.button20.Click += new System.EventHandler(this.Button20Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1043,6 +1055,7 @@ namespace RBXLegacyLauncher
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Button button20;
private System.Windows.Forms.Label label40;
private System.Windows.Forms.Button button19;
private System.Windows.Forms.Button button18;

View File

@ -147,6 +147,7 @@ namespace RBXLegacyLauncher
string[] lines = File.ReadAllLines("info.txt"); //File is in System.IO
string version = lines[0];
label11.Text = version;
GlobalVars.Version = version;
ReadConfigValues();
}
@ -1180,5 +1181,11 @@ namespace RBXLegacyLauncher
null, timerset, System.Threading.Timeout.Infinite);
}
}
void Button20Click(object sender, EventArgs e)
{
ServerInfo infopanel = new ServerInfo();
infopanel.Show();
}
}
}

View File

@ -73,6 +73,10 @@
<DependentUpon>ClientinfoCreator.cs</DependentUpon>
</Compile>
<Compile Include="CryptoRandom.cs" />
<Compile Include="ServerInfo.cs" />
<Compile Include="ServerInfo.Designer.cs">
<DependentUpon>ServerInfo.cs</DependentUpon>
</Compile>
<Compile Include="TextLineRemover.cs" />
<Compile Include="GlobalVars.cs" />
<Compile Include="MainForm.cs" />
@ -95,6 +99,9 @@
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ServerInfo.resx">
<DependentUpon>ServerInfo.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />

View File

@ -0,0 +1,73 @@
/*
* Created by SharpDevelop.
* User: BITL
* Date: 5/14/2017
* Time: 9:14 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace RBXLegacyLauncher
{
partial class ServerInfo
{
/// <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(ServerInfo));
this.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox1.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.textBox1.Location = new System.Drawing.Point(13, 13);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(479, 237);
this.textBox1.TabIndex = 0;
//
// ServerInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(504, 262);
this.Controls.Add(this.textBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MinimumSize = new System.Drawing.Size(520, 300);
this.Name = "ServerInfo";
this.Text = "Server Info";
this.Load += new System.EventHandler(this.ServerInfoLoad);
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.TextBox textBox1;
}
}

View File

@ -0,0 +1,45 @@
/*
* Created by SharpDevelop.
* User: BITL
* Date: 5/14/2017
* Time: 9:14 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Net;
namespace RBXLegacyLauncher
{
/// <summary>
/// Description of ServerInfo.
/// </summary>
public partial class ServerInfo : Form
{
public ServerInfo()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void ServerInfoLoad(object sender, EventArgs e)
{
string sent = textBox1.Text;
textBox1.AppendText("Client: " + GlobalVars.SelectedClient);
textBox1.AppendText(Environment.NewLine);
textBox1.AppendText("Port: " + GlobalVars.RobloxPort.ToString());
textBox1.AppendText(Environment.NewLine);
textBox1.AppendText("Map: " + GlobalVars.Map);
textBox1.AppendText(Environment.NewLine);
textBox1.AppendText("Version: RBXLegacy " + GlobalVars.Version);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define AppVer "1.13.1"
#define AppVer "1.13.2"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.