Compare commits

...

13 Commits

Author SHA1 Message Date
Bitl b8a3b0a520
Fixed readme more 2020-09-26 10:47:06 -07:00
Bitl dd8fdd24ab
Update README.md 2020-09-26 10:46:38 -07:00
Bitl 828d4431e8
Create LICENSE 2020-09-26 10:44:08 -07:00
Bitl 8ed9ad9273 v1.1.2 2016-10-09 16:12:51 -07:00
Bitl 3c8fa75978 Updated README 2016-10-09 00:41:54 -07:00
Bitl c25a2d3d14 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.TXT
2016-10-09 00:39:54 -07:00
Bitl 35718f8b34 v1.1.1 2016-10-09 00:38:33 -07:00
Michael Hart c577079ad5 Update README.md 2016-10-08 21:10:28 -07:00
Michael Hart d687d922c4 Update README.TXT 2016-10-08 21:09:27 -07:00
Bitl cf11bf8b06 V1.1 2016-10-08 19:48:18 -07:00
Michael Hart b37c6ff6c0 Added the README. 2016-10-06 06:15:51 -07:00
Michael Hart 9e5f44ca89 Update README.md 2016-10-05 14:25:53 -07:00
Michael Hart ffad0b9ef9 Update README.md 2016-10-05 14:25:42 -07:00
18 changed files with 7370 additions and 8 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Bitl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -37,7 +37,7 @@ ECHO.
SET /P JoinServer="Server IP (Default: %DefaultIP%): " SET /P JoinServer="Server IP (Default: %DefaultIP%): "
IF NOT DEFINED JoinServer SET JoinServer=%DefaultIP% IF NOT DEFINED JoinServer SET JoinServer=%DefaultIP%
ECHO Starting Roblox... ECHO Starting Roblox...
%RobloxPath% -script "dofile('%GameLoadPath%\\CSMPFunctions.lua'); _G.CSConnect(%UserID%,'%JoinServer%',%RobloxPort%,'%PlayerName%');" %RobloxPath% -script "dofile('%GameLoadPath%\\content\\Scripts\\CSMPFunctions.lua'); _G.CSConnect(%UserID%,'%JoinServer%',%RobloxPort%,'%PlayerName%');"
GOTO::EOF GOTO::EOF
:ServerSetup :ServerSetup
@ -49,10 +49,10 @@ ECHO Be sure you port forward %RobloxPort% if you want to start a public server.
ECHO. ECHO.
ECHO Select a map: ECHO Select a map:
ECHO. ECHO.
for %%a in ("%CD%\client\Maps\*") do @echo %%~na for %%a in ("%CD%\client\content\Maps\*") do @echo %%~na
ECHO. ECHO.
SET /P ServerPlaceId="Type the name of the map you would like to load (Default: %DefaultMap%): " SET /P ServerPlaceId="Type the name of the map you would like to load (Default: %DefaultMap%): "
IF NOT DEFINED ServerPlaceId SET ServerPlaceId=%DefaultMap% IF NOT DEFINED ServerPlaceId SET ServerPlaceId=%DefaultMap%
ECHO Starting Roblox... ECHO Starting Roblox...
%RobloxPath% -script "dofile('%GameLoadPath%\\CSMPFunctions.lua'); _G.CSServer(%RobloxPort%); game:Load('%GameLoadPath%\\Maps\\%ServerPlaceId%.rbxl');" %RobloxPath% -script "dofile('%GameLoadPath%\\content\\Scripts\\CSMPFunctions.lua'); _G.CSServer(%RobloxPort%); game:Load('%GameLoadPath%\\content\\Maps\\%ServerPlaceId%.rbxl');"
GOTO::EOF GOTO::EOF

View File

@ -0,0 +1,18 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
# SharpDevelop 4.4
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RBXLegacyLauncher", "RBXLegacyLauncher\RBXLegacyLauncher.csproj", "{F92FFBED-2767-4676-9711-BB89CDA58A43}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Release|Any CPU.Build.0 = Release|Any CPU
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Release|Any CPU.ActiveCfg = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,10 @@
public static class GlobalVars
{
public static string ClientDir = "";
public static string IP = "localhost";
public static string Map = "Baseplate.rbxl";
public static int RobloxPort = 53640;
public static int UserID = 0;
public static string PlayerName = "Player";
public static bool CloseOnLaunch = true;
}

View File

@ -0,0 +1,374 @@
/*
* Created by SharpDevelop.
* User: BITL-Gaming
* Date: 10/7/2016
* Time: 3:01 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace RBXLegacyLauncher
{
partial class MainForm
{
/// <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(MainForm));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.label4 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.label2 = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.listBox1 = new System.Windows.Forms.ListBox();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.label11 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.button3 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage4.SuspendLayout();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(12, 3);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(388, 40);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// tabControl1
//
this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Location = new System.Drawing.Point(12, 71);
this.tabControl1.Multiline = true;
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(398, 252);
this.tabControl1.TabIndex = 1;
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// tabPage1
//
this.tabPage1.Controls.Add(this.label4);
this.tabPage1.Controls.Add(this.button1);
this.tabPage1.Controls.Add(this.label3);
this.tabPage1.Controls.Add(this.textBox1);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.tabPage1.Size = new System.Drawing.Size(390, 226);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "JOIN SERVER";
this.tabPage1.UseVisualStyleBackColor = true;
//
// label4
//
this.label4.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.label4.ForeColor = System.Drawing.Color.Red;
this.label4.Location = new System.Drawing.Point(80, 50);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(218, 86);
this.label4.TabIndex = 4;
this.label4.Text = "NOTE: Make sure the server you join is in the region of the world you live in! (i" +
".e West US, East US, Europe, etc)";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.button1.Location = new System.Drawing.Point(80, 139);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(218, 66);
this.button1.TabIndex = 3;
this.button1.Text = "JOIN SERVER";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1Click);
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label3.Location = new System.Drawing.Point(161, 6);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 18);
this.label3.TabIndex = 1;
this.label3.Text = "IP Address";
//
// textBox1
//
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox1.Location = new System.Drawing.Point(80, 27);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(218, 20);
this.textBox1.TabIndex = 0;
this.textBox1.Text = "localhost";
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox1.TextChanged += new System.EventHandler(this.TextBox1TextChanged);
//
// tabPage2
//
this.tabPage2.Controls.Add(this.label2);
this.tabPage2.Controls.Add(this.button2);
this.tabPage2.Controls.Add(this.label1);
this.tabPage2.Controls.Add(this.listBox1);
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(390, 226);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "START SERVER";
this.tabPage2.UseVisualStyleBackColor = true;
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label2.ForeColor = System.Drawing.Color.Red;
this.label2.Location = new System.Drawing.Point(3, 102);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(376, 34);
this.label2.TabIndex = 3;
this.label2.Text = "NOTE: Be sure to port forward 53640 before if you want to host a public server.";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// button2
//
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.button2.Location = new System.Drawing.Point(80, 139);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(218, 66);
this.button2.TabIndex = 2;
this.button2.Text = "START SERVER";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.Button2Click);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.Location = new System.Drawing.Point(152, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 16);
this.label1.TabIndex = 1;
this.label1.Text = "Map List";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// listBox1
//
this.listBox1.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.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(3, 22);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(376, 69);
this.listBox1.TabIndex = 0;
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.ListBox1SelectedIndexChanged);
//
// tabPage4
//
this.tabPage4.Controls.Add(this.label11);
this.tabPage4.Controls.Add(this.label10);
this.tabPage4.Controls.Add(this.label9);
this.tabPage4.Controls.Add(this.label8);
this.tabPage4.Controls.Add(this.label7);
this.tabPage4.Controls.Add(this.label6);
this.tabPage4.Controls.Add(this.label5);
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(390, 226);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "ABOUT";
this.tabPage4.UseVisualStyleBackColor = true;
//
// label11
//
this.label11.Location = new System.Drawing.Point(206, 73);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(80, 23);
this.label11.TabIndex = 6;
this.label11.Text = "label11";
this.label11.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label10
//
this.label10.Location = new System.Drawing.Point(206, 57);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(80, 16);
this.label10.TabIndex = 5;
this.label10.Text = "Client Version:";
this.label10.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label9
//
this.label9.Location = new System.Drawing.Point(6, 92);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(378, 107);
this.label9.TabIndex = 4;
this.label9.Text = resources.GetString("label9.Text");
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label8
//
this.label8.Location = new System.Drawing.Point(88, 73);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(100, 19);
this.label8.TabIndex = 3;
this.label8.Text = "label8";
this.label8.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label7
//
this.label7.Location = new System.Drawing.Point(88, 57);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(100, 16);
this.label7.TabIndex = 2;
this.label7.Text = "Launcher Version:";
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label6
//
this.label6.Location = new System.Drawing.Point(156, 3);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(74, 15);
this.label6.TabIndex = 1;
this.label6.Text = "Current Path:";
this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label5
//
this.label5.Location = new System.Drawing.Point(3, 18);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(384, 27);
this.label5.TabIndex = 0;
this.label5.Text = "label5";
this.label5.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// checkBox1
//
this.checkBox1.Checked = true;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.Location = new System.Drawing.Point(12, 49);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(235, 16);
this.checkBox1.TabIndex = 5;
this.checkBox1.Text = "Close Launcher after launching the game";
this.checkBox1.UseCompatibleTextRendering = true;
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged);
//
// button3
//
this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.button3.Location = new System.Drawing.Point(244, 45);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(156, 23);
this.button3.TabIndex = 6;
this.button3.Text = "Launch ROBLOX Studio";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.Button3Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.ClientSize = new System.Drawing.Size(412, 335);
this.Controls.Add(this.button3);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "RBXLegacy Launcher";
this.Load += new System.EventHandler(this.MainFormLoad);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.PictureBox pictureBox1;
}
}

View File

@ -0,0 +1,125 @@
/*
* Created by SharpDevelop.
* User: BITL-Gaming
* Date: 10/7/2016
* Time: 3:01 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
namespace RBXLegacyLauncher
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class MainForm : Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage2"])//your specific tabname
{
string mapdir = GlobalVars.ClientDir + @"\\content\\Maps";
DirectoryInfo dinfo = new DirectoryInfo(mapdir);
FileInfo[] Files = dinfo.GetFiles("*.rbxl");
foreach( FileInfo file in Files )
{
this.listBox1.Items.Add(file.Name);
}
this.listBox1.SelectedIndex = 0;
}
else
{
this.listBox1.Items.Clear();
}
}
void Button1Click(object sender, EventArgs e)
{
string luafile = GlobalVars.ClientDir + @"\\content\\Scripts\\CSMPFunctions.lua";
string rbxexe = GlobalVars.ClientDir + @"\\RobloxApp.exe";
string quote = "\"";
string args = "-script " + quote + "dofile('" + luafile + "'); _G.CSConnect(0,'" + GlobalVars.IP + "',53640,'Player');" + quote;
System.Diagnostics.Process.Start(rbxexe, args);
if (GlobalVars.CloseOnLaunch == true)
{
this.Close();
}
}
void Button2Click(object sender, EventArgs e)
{
string luafile = GlobalVars.ClientDir + @"\\content\\Scripts\\CSMPFunctions.lua";
string mapfile = GlobalVars.ClientDir + @"\\content\\Maps\\" + GlobalVars.Map;
string rbxexe = GlobalVars.ClientDir + @"\\RobloxApp.exe";
string quote = "\"";
string args = "-script " + quote + "dofile('" + luafile + "'); _G.CSServer(53640); game:Load('" + mapfile + "');" + quote;
System.Diagnostics.Process.Start(rbxexe, args);
if (GlobalVars.CloseOnLaunch == true)
{
this.Close();
}
}
void MainFormLoad(object sender, EventArgs e)
{
GlobalVars.ClientDir = Path.Combine(Environment.CurrentDirectory, @"client");
GlobalVars.ClientDir = GlobalVars.ClientDir.Replace(@"\",@"\\");
label5.Text = GlobalVars.ClientDir;
label8.Text = Application.ProductVersion;
GlobalVars.IP = "localhost";
GlobalVars.Map = "Baseplate.rbxl";
GlobalVars.CloseOnLaunch = true;
string[] lines = File.ReadAllLines("version.txt"); //File is in System.IO
string version = lines[0];
label11.Text = version;
}
void TextBox1TextChanged(object sender, EventArgs e)
{
GlobalVars.IP = textBox1.Text;
}
void ListBox1SelectedIndexChanged(object sender, EventArgs e)
{
GlobalVars.Map = listBox1.SelectedItem.ToString();
}
void CheckBox1CheckedChanged(object sender, EventArgs e)
{
if (checkBox1.Checked == true)
{
GlobalVars.CloseOnLaunch = true;
}
else if (checkBox1.Checked == false)
{
GlobalVars.CloseOnLaunch = false;
}
}
void Button3Click(object sender, EventArgs e)
{
MessageBox.Show("If you want to test out your place, you will have to save your place, then go to Tools->Execute Script in ROBLOX Studio, and then load 'Play Solo.lua' from '"+ GlobalVars.ClientDir + @"\\content\\scripts'. " + "To edit your place again, you must restart ROBLOX Studio and load your place again to edit it.","RBXLegacy Launcher - Launch ROBLOX Studio", MessageBoxButtons.OK, MessageBoxIcon.Information);
string rbxexe = GlobalVars.ClientDir + @"\\RobloxApp.exe";
System.Diagnostics.Process.Start(rbxexe);
if (GlobalVars.CloseOnLaunch == true)
{
this.Close();
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
/*
* Created by SharpDevelop.
* User: BITL-Gaming
* Date: 10/7/2016
* Time: 3:01 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
namespace RBXLegacyLauncher
{
/// <summary>
/// Class with program entry point.
/// </summary>
internal sealed class Program
{
/// <summary>
/// Program entry point.
/// </summary>
[STAThread]
private static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}

View File

@ -0,0 +1,31 @@
#region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("RBXLegacyLauncher")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RBXLegacyLauncher")]
[assembly: AssemblyCopyright("Copyright 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// This sets the default COM visibility of types in the assembly to invisible.
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
[assembly: ComVisible(false)]
// The assembly version has following format :
//
// Major.Minor.Build.Revision
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.*")]

View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<ProjectGuid>{F92FFBED-2767-4676-9711-BB89CDA58A43}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>WinExe</OutputType>
<RootNamespace>RBXLegacyLauncher</RootNamespace>
<AssemblyName>RBXLegacyLauncher</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<AppDesignerFolder>Properties</AppDesignerFolder>
<ApplicationIcon>Resources\RBXLegacyIcon.ico</ApplicationIcon>
<NoWin32Manifest>False</NoWin32Manifest>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<BaseAddress>4194304</BaseAddress>
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<FileAlignment>4096</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug\</OutputPath>
<DebugSymbols>True</DebugSymbols>
<DebugType>Full</DebugType>
<Optimize>False</Optimize>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release\</OutputPath>
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="GlobalVars.cs" />
<Compile Include="MainForm.cs" />
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>

44
RBXLegacySetup.iss Normal file
View File

@ -0,0 +1,44 @@
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define AppVer "1.1.2"
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{B84DBE54-11F6-43AB-AC95-A71164168899}
AppName=RBXLegacy
AppVersion={#AppVer}
AppVerName=RBXLegacy {#AppVer}
AppPublisher=Bitl
DefaultDirName={pf}\RBXLegacy
DefaultGroupName=RBXLegacy
AllowNoIcons=yes
OutputBaseFilename=RBXLegacySetup_{#AppVer}
SetupIconFile=RBXLegacy\RBXLegacyIcon.ico
Compression=lzma2/ultra64
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
[Files]
Source: "RBXLegacy\RBXLegacyLauncher.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "RBXLegacy\RBXLegacyBatch.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "RBXLegacy\RBXLegacyLauncher.exe.config"; DestDir: "{app}"; Flags: ignoreversion
Source: "RBXLegacy\README.TXT"; DestDir: "{app}"; Flags: ignoreversion isreadme
Source: "RBXLegacy\client\*"; DestDir: "{app}\client"; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons]
Name: "{group}\RBXLegacy"; Filename: "{app}\RBXLegacyLauncher.exe"
Name: "{group}\{cm:UninstallProgram,RBXLegacy}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\RBXLegacy"; Filename: "{app}\RBXLegacyLauncher.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\RBXLegacy"; Filename: "{app}\RBXLegacyLauncher.exe"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\RBXLegacyLauncher.exe"; Flags: nowait postinstall skipifsilent; Description: "{cm:LaunchProgram,RBXLegacy}"

231
README.TXT Normal file
View File

@ -0,0 +1,231 @@
-------------------------------
========= INFORMATION =========
-------------------------------
[What is RBXLegacy?]
RBXLegacy is a version of a late-2008 ROBLOX client, built to allow the user to run LAN and Internet servers.
-----------------------------
========= CHANGELOG =========
-----------------------------
v1.1.2:
- Fixed the skybox on Sword Fights on the Heights, Rocket Arena, and Yorick's Resting Place.
- Fixed a bug where the Launcher would duplicate names of maps in the map list.
- The Launcher will now list the current version of RBXLegacy.
v1.1.1:
- Fixed Sword Fights on the Heights, Happy Home in Robloxia, and Crossroads.
- Fixed a bug where the entire map list would disappear if you selected the options on top on the launcher.
- Removed Winter Rocket Arena as it is a non-ROBLOX-made level.
v1.1:
- Added a new launcher.
- Added a CHANGLOG section to the README.
- Removed both the Nuke The Whales and Cloud City levels due to since both are non-functioning.
- Changed the directories for some files.
v1.1.1:
- Updated the README to include information about Regions.
v1.0:
- Release
--------------------------------
========= INSTRUCTIONS =========
--------------------------------
WARNING:
If Hamachi is on, you won't be able to join "localhost" or any other local or private IP address! In order to use RBXLegacy on LAN or Play Solo,
you must either turn off Hamachi by pressing the "Turn Off" button, or by turning one of your Hamachi networks online if you own a network.
NOTE:
Make sure the server you are trying to join is in your region of the world (I.E West US, East US, UK, etc), if it is not you may experience major network lag issues.
(i.e. if you are in Arizona and someone hosts a server in Florida, you will not have a fun time because it will lag a lot.)
========= LAUNCHER INSTRUCTIONS =========
NOTE: If you get an error trying to open the launcher, install this: https://www.microsoft.com/en-us/download/details.aspx?id=17718
=== HOSTING ===
How to host a server:
1. Port forward 53640 as TCP/UCP. If you do not know how to port forward, there are plenty of tutorials on the internet for this.
2. Open the RBXLegacy Launcher.
3. Select the "START SERVER" tab.
4. Select the name of the map you want to play, then press the "START SERVER" button. The ROBLOX Studio window should load with the map you chose.
5. To share your server with friends, send them your public/external IP address (Google ip).
How to host a LAN server:
1. First, you must know your LAN IPv4 address from ipconfig. If you don't know your LAN IPv4 address, there are plenty of tutorials on the internet for this.
2. Open the RBXLegacy Launcher.
3. Select the "START SERVER" tab.
4. Select the name of the map you want to play, then press the "START SERVER" button. The ROBLOX Studio window should load with the map you chose.
5. To share your server with friends, tell them your LAN IPv4 address.
How to host a Hamachi server:
1. Make sure you have Hamachi installed and you made a network already. If you do not know how, there are plenty of tutorials on the internet for this.
2. Open the RBXLegacy Launcher.
3. Select the "START SERVER" tab.
4. Select the name of the map you want to play, then press the "START SERVER" button. The ROBLOX Studio window should load with the map you chose.
5. To share your server with friends, send them your Hamachi IPv4 address located above your computer's name on the Hamachi window.
You must also share the network ID and password to your Hamachi network.
=== CONNECTING ===
How to connect via IP (LAN/Online):
1. Open the RBXLegacy Launcher.
2. Select the "JOIN SERVER" tab.
3. Type in the IP address that is shared to you into the "IP Address" box, and then press the "JOIN SERVER" button.
4. You should be able to join the server.
How to connect via Hamachi:
1. Open the RBXLegacy Launcher.
2. Select the "JOIN SERVER" tab.
3. Type in the IPv4 Address that is in the title of the Hamachi network you are in into the "IP Address" box, and then press press the "JOIN SERVER" button.
4. You should be able to join the server.
=== PLAY SOLO ===
How to Play Solo:
1. Open the RBXLegacy Launcher.
3. Select the "START SERVER" tab.
4. Select the name of the map you want to play, then press the "START SERVER" button. The ROBLOX Studio window should load with the map you chose.
4. Then, launch the RBXLegacy Launcher again and then select the "JOIN SERVER" tab.
5. On the "JOIN SERVER" screen, press the "JOIN SERVER" button. ROBLOX will then load.
========= BATCH INSTRUCTIONS =========
WARNING: DO NOT PUT A SPACE IN THE FOLDER THAT THIS IS IN OR MOVE THIS TO A FOLDER WITH A SPACE. IT WILL SCREW UP THE GAME LOADING STUFF.
=== HOSTING ===
How to host a server:
1. Port forward 53640 as TCP/UCP. If you do not know how to port forward, there are plenty of tutorials on the internet for this.
2. Open the RBXLegacy.bat.
3. Select the "START SERVER" option by typing 2 and then pressing Enter or Return.
4. Type in the name of the map you want to play, then press Enter or Return. The ROBLOX Studio window should load with the map you chose.
5. To share your server with friends, send them your public/external IP address (Google ip).
How to host a LAN server:
1. First, you must know your LAN IPv4 address from ipconfig. If you don't know your LAN IPv4 address, there are plenty of tutorials on the internet for this.
2. Open the RBXLegacy.bat.
3. Select the "START SERVER" option by typing 2 and then pressing Enter or Return.
4. Type in the name of the map you want to play, then press Enter or Return. The ROBLOX Studio window should load with the map you chose.
5. To share your server with friends, tell them your LAN IPv4 address.
How to host a Hamachi server:
1. Make sure you have Hamachi installed and you made a network already. If you do not know how, there are plenty of tutorials on the internet for this.
2. Open the RBXLegacy.bat.
3. Select the "START SERVER" option by typing 2 and then pressing Enter or Return.
4. Type in the name of the map you want to play, then press Enter or Return. The ROBLOX Studio window should load with the map you chose.
5. To share your server with friends, send them your Hamachi IPv4 address located above your computer's name on the Hamachi window.
You must also share the network ID and password to your Hamachi network.
=== CONNECTING ===
How to connect via IP (LAN/Online):
1. Open the RBXLegacy.bat.
2. Select the "JOIN SERVER" option by typing 1 and then pressing Enter or Return.
3. Type in the IP address that is shared to you, and then press Enter or Return.
4. You should be able to join the server.
How to connect via Hamachi:
1. Open the RBXLegacy.bat.
2. Select the "JOIN SERVER" option by typing 1 and then pressing Enter or Return.
3. Type in the IPv4 Address that is in the title of the Hamachi network you are in, and then press Enter or Return.
4. You should be able to join the server.
=== PLAY SOLO ===
How to Play Solo:
1. Open the RBXLegacy.bat.
2. Select the "START SERVER" option by typing 2 and then pressing Enter or Return.
3. Type in the name of the map you want to play, then press Enter or Return. The ROBLOX Studio window should load with the map you chose.
4. Then, launch the RBXLegacy.bat again and then select "JOIN SERVER" by typing 1 and then pressing Enter or Return.
5. On the "JOIN SERVER" screen, press Enter or Return. ROBLOX will then load.
---------------------------
========= CREDITS =========
---------------------------
ROBLOX and the ROBLOX Client were made by the ROBLOX Corporation.
The ROBLOX Corporation does not support or endorse the creation of RBXLegacy.
Bitl is not affiliated with the ROBLOX Corporation or its subsidiaries.
Bitl does not own any of the content included with RBXLegacy.
The client itself was not modified in any way.
LUA scripts were used to build a client that can connect to LAN and the Internet.
The LUA scripts used was borrowed from the RBXPri client and merged into 1 single script.

View File

@ -1,12 +1,14 @@
#RBXLegacy ## RBXLegacy
----------------------------------
========= CREATOR'S NOTE ========= ## CREATOR'S NOTE
----------------------------------
NOTE: This is only the source code. Click the link below to download the latest version of the client.
4-5 days didn't go to waste, didn't it? 4-5 days didn't go to waste, didn't it?
Made this little thing to mess around with Lua and RBXPri stuff. Instructions and legal info are in the README.txt in the client itself. Made this little thing to mess around with Lua and RBXPri stuff. Instructions and legal info are in the README.txt in the client itself.
Download at https://github.com/Bitl/RBXLegacy/releases Download the actual client at http://gamejolt.com/games/rbxlegacy/195327
Have fun! Have fun!

View File

@ -0,0 +1,9 @@
game:getService("Players"):CreateLocalPlayer(0);
game:service("RunService"):run();
game.Players.Player:LoadCharacter();
game.Players.Player:SetSuperSafeChat(false);
function onDied(humanoid)
wait(5);
game.Players.Player:LoadCharacter(0);
end
game.Players.Player.Character.Humanoid.Died:connect(onDied);