added testing utility for clientscript.

This commit is contained in:
Bitl 2020-07-12 09:48:47 -07:00
parent 3de6a2a92d
commit 961585f0ea
25 changed files with 3313 additions and 453 deletions

View File

@ -0,0 +1,13 @@
#region Usings
using System.Collections.Generic;
#endregion
namespace Novetus.ClientScriptTester
{
#region LocalVars
class LocalVars
{
public static List<string> SharedArgs = new List<string>();
}
#endregion
}

View File

@ -0,0 +1,29 @@
#region Usings
using System;
using System.Windows.Forms;
#endregion
namespace Novetus.ClientScriptTester
{
#region ClientScript Tester
static class ClientScriptTester
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
foreach (string s in args)
{
LocalVars.SharedArgs.Add(s);
}
Application.Run(new ClientScriptTestForm());
}
}
#endregion
}

View File

@ -0,0 +1,94 @@
namespace Novetus.ClientScriptTester
{
partial class ClientScriptTestForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ClientScriptTestForm));
this.ResultLabel = new System.Windows.Forms.Label();
this.Divider1 = new System.Windows.Forms.Label();
this.OutputBox = new System.Windows.Forms.RichTextBox();
this.SuspendLayout();
//
// ResultLabel
//
this.ResultLabel.AutoSize = true;
this.ResultLabel.Location = new System.Drawing.Point(12, 9);
this.ResultLabel.Name = "ResultLabel";
this.ResultLabel.Size = new System.Drawing.Size(102, 13);
this.ResultLabel.TabIndex = 0;
this.ResultLabel.Text = "Here are the results:";
//
// Divider1
//
this.Divider1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.Divider1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.Divider1.Location = new System.Drawing.Point(8, 31);
this.Divider1.Name = "Divider1";
this.Divider1.Size = new System.Drawing.Size(780, 2);
this.Divider1.TabIndex = 1;
//
// OutputBox
//
this.OutputBox.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.OutputBox.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.OutputBox.Location = new System.Drawing.Point(8, 36);
this.OutputBox.Name = "OutputBox";
this.OutputBox.ReadOnly = true;
this.OutputBox.Size = new System.Drawing.Size(780, 402);
this.OutputBox.TabIndex = 2;
this.OutputBox.Text = "";
//
// ClientScriptTestForm
//
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(800, 450);
this.Controls.Add(this.OutputBox);
this.Controls.Add(this.Divider1);
this.Controls.Add(this.ResultLabel);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ClientScriptTestForm";
this.Text = "ClientScript Tester";
this.Load += new System.EventHandler(this.ClientScriptTestForm_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label ResultLabel;
private System.Windows.Forms.Label Divider1;
private System.Windows.Forms.RichTextBox OutputBox;
}
}

View File

@ -0,0 +1,29 @@
#region Usings
using System;
using System.Windows.Forms;
#endregion
namespace Novetus.ClientScriptTester
{
#region ClientScriptTestForm
public partial class ClientScriptTestForm : Form
{
#region Constructor
public ClientScriptTestForm()
{
InitializeComponent();
}
#endregion
#region Form Events
private void ClientScriptTestForm_Load(object sender, EventArgs e)
{
foreach (string str in LocalVars.SharedArgs)
{
OutputBox.AppendText(str + Environment.NewLine + Environment.NewLine);
}
}
#endregion
}
#endregion
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{83B08607-65B8-4F9C-8D0F-AB1C8EEFFAE0}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Novetus.ClientScriptTester</RootNamespace>
<AssemblyName>RobloxApp</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;TESTER;NOVETUS_APPS</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>NovetusIcon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Classes\LocalVars.cs" />
<Compile Include="Forms\ClientScriptTestForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\ClientScriptTestForm.Designer.cs">
<DependentUpon>ClientScriptTestForm.cs</DependentUpon>
</Compile>
<Compile Include="ClientScriptTester.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Forms\ClientScriptTestForm.resx">
<DependentUpon>ClientScriptTestForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="NovetusIcon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>SET path=$(SolutionDir)build
if not exist "%25path%25" mkdir "%25path%25"
copy $(ProjectDir)$(OutDir) "%25path%25"\*
del "%25path%25"\*.vshost.exe
del "%25path%25"\*.vshost.exe.config
del "%25path%25"\*.vshost.exe.manifest
del "%25path%25"\*.xml
if not exist "%25path%25"\clients\ClientScriptTester mkdir "%25path%25"\clients\ClientScriptTester
move "%25path%25"\* "%25path%25"\clients\ClientScriptTester</PostBuildEvent>
</PropertyGroup>
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("Novetus.ClientScriptTester")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Novetus.ClientScriptTester")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("83b08607-65b8-4f9c-8d0f-ab1c8eeffae0")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Novetus.ClientScriptTester.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Novetus.ClientScriptTester.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Novetus.ClientScriptTester.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View File

@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novetus.URI", "NovetusURI\N
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Novetus.Core", "NovetusCore\Novetus.Core.shproj", "{DEBCC57D-9A3B-4D7C-8693-FA4AEC56C8C1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novetus.ClientScriptTester", "Novetus.ClientScriptTester\Novetus.ClientScriptTester.csproj", "{83B08607-65B8-4F9C-8D0F-AB1C8EEFFAE0}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
NovetusCore\NovetusCore.projitems*{2070eaa6-7606-4006-a628-5705c24a3644}*SharedItemsImports = 4
@ -35,6 +37,10 @@ Global
{2070EAA6-7606-4006-A628-5705C24A3644}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2070EAA6-7606-4006-A628-5705C24A3644}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2070EAA6-7606-4006-A628-5705C24A3644}.Release|Any CPU.Build.0 = Release|Any CPU
{83B08607-65B8-4F9C-8D0F-AB1C8EEFFAE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{83B08607-65B8-4F9C-8D0F-AB1C8EEFFAE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{83B08607-65B8-4F9C-8D0F-AB1C8EEFFAE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{83B08607-65B8-4F9C-8D0F-AB1C8EEFFAE0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -126,7 +126,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Classes\LocalFuncs.cs" />
<Compile Include="Classes\CommandLineArguments.cs" />
<Compile Include="Classes\LocalVars.cs" />
<Compile Include="NovetusCMD.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

View File

@ -3,9 +3,7 @@ using System.Collections.Specialized;
using System.Text.RegularExpressions;
#endregion
namespace NovetusCMD
{
#region CommandLineArguments
#region CommandLineArguments
public class CommandLineArguments
{
//https://www.codeproject.com/Articles/3111/C-NET-Command-Line-Arguments-Parser
@ -120,4 +118,3 @@ namespace NovetusCMD
}
}
#endregion
}

View File

@ -11,6 +11,7 @@
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)CharCustom\CustomizationFuncs.cs" />
<Compile Include="$(MSBuildThisFileDirectory)CharCustom\IconLoader.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\CommandLineArguments.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\CryptoRandom.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\FileFormat.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Classes\IDiscordRPC.cs" />

View File

@ -967,6 +967,13 @@ public class GlobalFuncs
public static void LaunchRBXClient(ScriptType type, bool no3d, bool nomap, EventHandler e)
#endif
{
#if LAUNCHER
ReadClientValues(box);
#else
ReadClientValues();
#endif
string luafile = GetLuaFileName();
string rbxexe = GetClientEXEDir(type);
string mapfile = type.Equals(ScriptType.EasterEgg) ? GlobalPaths.ConfigDirData + "\\Appreciation.rbxl" : (nomap ? "" : GlobalVars.UserConfiguration.MapPath);
@ -1098,11 +1105,6 @@ public class GlobalFuncs
client.StartInfo.FileName = rbxexe;
client.StartInfo.Arguments = args;
client.EnableRaisingEvents = true;
#if LAUNCHER
ReadClientValues(box);
#else
ReadClientValues();
#endif
client.Exited += e;
client.Start();
client.PriorityClass = ProcessPriorityClass.RealTime;

View File

@ -33,7 +33,6 @@ public static class GlobalVars
#region Joining
public static string IP = "localhost";
public static int DefaultRobloxPort = 53640;
public static string SharedArgs = "";
#endregion
#region NovetusCMD

View File

@ -42,6 +42,39 @@ namespace NovetusLauncher
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormExtended));
this.button25 = new System.Windows.Forms.Button();
this.button21 = new System.Windows.Forms.Button();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.button8 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.label25 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.button20 = new System.Windows.Forms.Button();
this.button27 = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.button33 = new System.Windows.Forms.Button();
this.button32 = new System.Windows.Forms.Button();
this.button31 = new System.Windows.Forms.Button();
this.button30 = new System.Windows.Forms.Button();
this.button29 = new System.Windows.Forms.Button();
this.button28 = new System.Windows.Forms.Button();
this.button34 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.SettingsButton = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.button35 = new System.Windows.Forms.Button();
this.UAButton = new System.Windows.Forms.Button();
this.tabControl1 = new TabControlWithoutHeader();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.label24 = new System.Windows.Forms.Label();
@ -99,6 +132,8 @@ namespace NovetusLauncher
this.richTextBox2 = new System.Windows.Forms.RichTextBox();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.panel5 = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
this.comboBox3 = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label31 = new System.Windows.Forms.Label();
@ -118,41 +153,11 @@ namespace NovetusLauncher
this.label18 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.button25 = new System.Windows.Forms.Button();
this.button21 = new System.Windows.Forms.Button();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.button8 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.label25 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.button20 = new System.Windows.Forms.Button();
this.button27 = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.button33 = new System.Windows.Forms.Button();
this.button32 = new System.Windows.Forms.Button();
this.button31 = new System.Windows.Forms.Button();
this.button30 = new System.Windows.Forms.Button();
this.button29 = new System.Windows.Forms.Button();
this.button28 = new System.Windows.Forms.Button();
this.button34 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.SettingsButton = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.button35 = new System.Windows.Forms.Button();
this.UAButton = new System.Windows.Forms.Button();
this.comboBox3 = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
@ -166,13 +171,351 @@ namespace NovetusLauncher
this.tabPage8.SuspendLayout();
this.tabPage5.SuspendLayout();
this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
this.SuspendLayout();
//
// button25
//
this.button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button25.Location = new System.Drawing.Point(278, 3);
this.button25.Name = "button25";
this.button25.Size = new System.Drawing.Size(75, 20);
this.button25.TabIndex = 56;
this.button25.Text = "Install Addon";
this.button25.UseVisualStyleBackColor = true;
this.button25.Click += new System.EventHandler(this.button25_Click);
//
// button21
//
this.button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button21.Location = new System.Drawing.Point(356, 3);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(128, 20);
this.button21.TabIndex = 44;
this.button21.Text = "Register UserAgent Library";
this.button21.UseVisualStyleBackColor = true;
this.button21.Click += new System.EventHandler(this.Button21Click);
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(97, 25);
this.textBox5.Multiline = true;
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(71, 18);
this.textBox5.TabIndex = 20;
this.textBox5.Text = "0";
this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged);
//
// label15
//
this.label15.Location = new System.Drawing.Point(57, 6);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(40, 16);
this.label15.TabIndex = 12;
this.label15.Text = "Name:";
//
// label13
//
this.label13.Location = new System.Drawing.Point(57, 27);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(34, 13);
this.label13.TabIndex = 7;
this.label13.Text = "ID:";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(97, 3);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(121, 20);
this.textBox2.TabIndex = 11;
this.textBox2.Text = "Player";
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
//
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button4.Location = new System.Drawing.Point(171, 24);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(48, 20);
this.button4.TabIndex = 9;
this.button4.Text = "Regen";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.Button4Click);
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox2.BackgroundImage")));
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox2.Location = new System.Drawing.Point(3, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 41);
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false;
//
// button8
//
this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button8.Location = new System.Drawing.Point(6, 3);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(104, 20);
this.button8.TabIndex = 35;
this.button8.Text = "Customize Character";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.Button8Click);
//
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.Location = new System.Drawing.Point(157, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(81, 20);
this.button3.TabIndex = 6;
this.button3.Text = "Studio with Map";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.Button3Click);
//
// label25
//
this.label25.Location = new System.Drawing.Point(236, 10);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(109, 14);
this.label25.TabIndex = 16;
this.label25.Text = "SELECTED CLIENT:";
//
// label26
//
this.label26.Location = new System.Drawing.Point(343, 10);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(389, 13);
this.label26.TabIndex = 17;
this.label26.Text = "2009E";
//
// label27
//
this.label27.Location = new System.Drawing.Point(236, 24);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(95, 12);
this.label27.TabIndex = 18;
this.label27.Text = "SELECTED MAP:";
//
// label28
//
this.label28.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label28.Location = new System.Drawing.Point(329, 25);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(403, 11);
this.label28.TabIndex = 19;
this.label28.Text = "Baseplate.rbxl";
//
// label11
//
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.Location = new System.Drawing.Point(3, 212);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(75, 48);
this.label11.TabIndex = 50;
this.label11.Text = "v1.0";
this.label11.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label12
//
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(4, 47);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(214, 17);
this.label12.TabIndex = 0;
this.label12.Text = "Novetus!";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label16
//
this.label16.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.label16.Location = new System.Drawing.Point(52, 3);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(2, 41);
this.label16.TabIndex = 51;
//
// button20
//
this.button20.Location = new System.Drawing.Point(3, 30);
this.button20.Name = "button20";
this.button20.Size = new System.Drawing.Size(75, 23);
this.button20.TabIndex = 57;
this.button20.TabStop = false;
this.button20.Text = "HOST";
this.button20.UseVisualStyleBackColor = true;
this.button20.Click += new System.EventHandler(this.button20_Click);
//
// button27
//
this.button27.Location = new System.Drawing.Point(3, 4);
this.button27.Name = "button27";
this.button27.Size = new System.Drawing.Size(75, 23);
this.button27.TabIndex = 58;
this.button27.TabStop = false;
this.button27.Text = "PLAY";
this.button27.UseVisualStyleBackColor = true;
this.button27.Click += new System.EventHandler(this.button27_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel1.Controls.Add(this.button33);
this.panel1.Controls.Add(this.button32);
this.panel1.Controls.Add(this.button31);
this.panel1.Controls.Add(this.button30);
this.panel1.Controls.Add(this.button29);
this.panel1.Controls.Add(this.label11);
this.panel1.Controls.Add(this.button28);
this.panel1.Controls.Add(this.button27);
this.panel1.Controls.Add(this.button20);
this.panel1.Location = new System.Drawing.Point(1, 74);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(84, 272);
this.panel1.TabIndex = 59;
//
// button33
//
this.button33.Location = new System.Drawing.Point(3, 186);
this.button33.Name = "button33";
this.button33.Size = new System.Drawing.Size(75, 23);
this.button33.TabIndex = 64;
this.button33.TabStop = false;
this.button33.Text = "OPTIONS";
this.button33.UseVisualStyleBackColor = true;
this.button33.Click += new System.EventHandler(this.button33_Click);
//
// button32
//
this.button32.Location = new System.Drawing.Point(3, 160);
this.button32.Name = "button32";
this.button32.Size = new System.Drawing.Size(75, 23);
this.button32.TabIndex = 63;
this.button32.TabStop = false;
this.button32.Text = "CHANGES";
this.button32.UseVisualStyleBackColor = true;
this.button32.Click += new System.EventHandler(this.button32_Click);
//
// button31
//
this.button31.Location = new System.Drawing.Point(3, 134);
this.button31.Name = "button31";
this.button31.Size = new System.Drawing.Size(75, 23);
this.button31.TabIndex = 62;
this.button31.TabStop = false;
this.button31.Text = "CONSOLE";
this.button31.UseVisualStyleBackColor = true;
this.button31.Click += new System.EventHandler(this.button31_Click);
//
// button30
//
this.button30.Location = new System.Drawing.Point(3, 108);
this.button30.Name = "button30";
this.button30.Size = new System.Drawing.Size(75, 23);
this.button30.TabIndex = 61;
this.button30.TabStop = false;
this.button30.Text = "SAVED";
this.button30.UseVisualStyleBackColor = true;
this.button30.Click += new System.EventHandler(this.button30_Click);
//
// button29
//
this.button29.Location = new System.Drawing.Point(3, 82);
this.button29.Name = "button29";
this.button29.Size = new System.Drawing.Size(75, 23);
this.button29.TabIndex = 60;
this.button29.TabStop = false;
this.button29.Text = "MAPS";
this.button29.UseVisualStyleBackColor = true;
this.button29.Click += new System.EventHandler(this.button29_Click);
//
// button28
//
this.button28.Location = new System.Drawing.Point(3, 56);
this.button28.Name = "button28";
this.button28.Size = new System.Drawing.Size(75, 23);
this.button28.TabIndex = 59;
this.button28.TabStop = false;
this.button28.Text = "VERSIONS";
this.button28.UseVisualStyleBackColor = true;
this.button28.Click += new System.EventHandler(this.button28_Click);
//
// button34
//
this.button34.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button34.Location = new System.Drawing.Point(241, 3);
this.button34.Name = "button34";
this.button34.Size = new System.Drawing.Size(34, 20);
this.button34.TabIndex = 60;
this.button34.Text = "SDK";
this.button34.UseVisualStyleBackColor = true;
this.button34.Click += new System.EventHandler(this.button34_Click);
//
// panel2
//
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel2.Controls.Add(this.tabControl1);
this.panel2.Location = new System.Drawing.Point(91, 74);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(646, 311);
this.panel2.TabIndex = 61;
//
// SettingsButton
//
this.SettingsButton.Location = new System.Drawing.Point(0, 0);
this.SettingsButton.Name = "SettingsButton";
this.SettingsButton.Size = new System.Drawing.Size(75, 23);
this.SettingsButton.TabIndex = 0;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.pictureBox2);
this.panel3.Controls.Add(this.textBox2);
this.panel3.Controls.Add(this.textBox5);
this.panel3.Controls.Add(this.button4);
this.panel3.Controls.Add(this.label16);
this.panel3.Controls.Add(this.label15);
this.panel3.Controls.Add(this.label12);
this.panel3.Controls.Add(this.label13);
this.panel3.Location = new System.Drawing.Point(1, 4);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(229, 69);
this.panel3.TabIndex = 62;
//
// panel4
//
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel4.Controls.Add(this.button35);
this.panel4.Controls.Add(this.button34);
this.panel4.Controls.Add(this.button21);
this.panel4.Controls.Add(this.button8);
this.panel4.Controls.Add(this.button3);
this.panel4.Controls.Add(this.button25);
this.panel4.Location = new System.Drawing.Point(236, 41);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(501, 32);
this.panel4.TabIndex = 63;
//
// button35
//
this.button35.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button35.Location = new System.Drawing.Point(113, 3);
this.button35.Name = "button35";
this.button35.Size = new System.Drawing.Size(41, 20);
this.button35.TabIndex = 61;
this.button35.Text = "Studio";
this.button35.UseVisualStyleBackColor = true;
this.button35.Click += new System.EventHandler(this.button35_Click);
//
// UAButton
//
this.UAButton.Location = new System.Drawing.Point(0, 0);
this.UAButton.Name = "UAButton";
this.UAButton.Size = new System.Drawing.Size(75, 23);
this.UAButton.TabIndex = 0;
//
// tabControl1
//
this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
@ -853,6 +1196,28 @@ namespace NovetusLauncher
this.panel5.Size = new System.Drawing.Size(200, 259);
this.panel5.TabIndex = 68;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(3, 85);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(78, 13);
this.label5.TabIndex = 76;
this.label5.Text = "Launcher Style";
//
// comboBox3
//
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox3.FormattingEnabled = true;
this.comboBox3.Items.AddRange(new object[] {
"Extended",
"Compact"});
this.comboBox3.Location = new System.Drawing.Point(90, 82);
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(103, 21);
this.comboBox3.TabIndex = 75;
this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
//
// label3
//
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -1063,371 +1428,6 @@ namespace NovetusLauncher
this.label7.Text = "PROJECT STARLIGHT";
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// button25
//
this.button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button25.Location = new System.Drawing.Point(278, 3);
this.button25.Name = "button25";
this.button25.Size = new System.Drawing.Size(75, 20);
this.button25.TabIndex = 56;
this.button25.Text = "Install Addon";
this.button25.UseVisualStyleBackColor = true;
this.button25.Click += new System.EventHandler(this.button25_Click);
//
// button21
//
this.button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button21.Location = new System.Drawing.Point(356, 3);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(128, 20);
this.button21.TabIndex = 44;
this.button21.Text = "Register UserAgent Library";
this.button21.UseVisualStyleBackColor = true;
this.button21.Click += new System.EventHandler(this.Button21Click);
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(97, 25);
this.textBox5.Multiline = true;
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(71, 18);
this.textBox5.TabIndex = 20;
this.textBox5.Text = "0";
this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox5.TextChanged += new System.EventHandler(this.TextBox5TextChanged);
//
// label15
//
this.label15.Location = new System.Drawing.Point(57, 6);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(40, 16);
this.label15.TabIndex = 12;
this.label15.Text = "Name:";
//
// label13
//
this.label13.Location = new System.Drawing.Point(57, 27);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(34, 13);
this.label13.TabIndex = 7;
this.label13.Text = "ID:";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(97, 3);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(121, 20);
this.textBox2.TabIndex = 11;
this.textBox2.Text = "Player";
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
//
// button4
//
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button4.Location = new System.Drawing.Point(171, 24);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(48, 20);
this.button4.TabIndex = 9;
this.button4.Text = "Regen";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.Button4Click);
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox2.BackgroundImage")));
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox2.Location = new System.Drawing.Point(3, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 41);
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false;
//
// button8
//
this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button8.Location = new System.Drawing.Point(6, 3);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(104, 20);
this.button8.TabIndex = 35;
this.button8.Text = "Customize Character";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.Button8Click);
//
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.Location = new System.Drawing.Point(157, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(81, 20);
this.button3.TabIndex = 6;
this.button3.Text = "Studio with Map";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.Button3Click);
//
// label25
//
this.label25.Location = new System.Drawing.Point(236, 10);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(109, 14);
this.label25.TabIndex = 16;
this.label25.Text = "SELECTED CLIENT:";
//
// label26
//
this.label26.Location = new System.Drawing.Point(341, 10);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(391, 13);
this.label26.TabIndex = 17;
this.label26.Text = "2009E";
//
// label27
//
this.label27.Location = new System.Drawing.Point(236, 24);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(95, 12);
this.label27.TabIndex = 18;
this.label27.Text = "SELECTED MAP:";
//
// label28
//
this.label28.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label28.Location = new System.Drawing.Point(329, 25);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(403, 11);
this.label28.TabIndex = 19;
this.label28.Text = "Baseplate.rbxl";
//
// label11
//
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.Location = new System.Drawing.Point(3, 212);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(75, 48);
this.label11.TabIndex = 50;
this.label11.Text = "v1.0";
this.label11.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label12
//
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(4, 47);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(214, 17);
this.label12.TabIndex = 0;
this.label12.Text = "Novetus!";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label16
//
this.label16.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.label16.Location = new System.Drawing.Point(52, 3);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(2, 41);
this.label16.TabIndex = 51;
//
// button20
//
this.button20.Location = new System.Drawing.Point(3, 30);
this.button20.Name = "button20";
this.button20.Size = new System.Drawing.Size(75, 23);
this.button20.TabIndex = 57;
this.button20.TabStop = false;
this.button20.Text = "HOST";
this.button20.UseVisualStyleBackColor = true;
this.button20.Click += new System.EventHandler(this.button20_Click);
//
// button27
//
this.button27.Location = new System.Drawing.Point(3, 4);
this.button27.Name = "button27";
this.button27.Size = new System.Drawing.Size(75, 23);
this.button27.TabIndex = 58;
this.button27.TabStop = false;
this.button27.Text = "PLAY";
this.button27.UseVisualStyleBackColor = true;
this.button27.Click += new System.EventHandler(this.button27_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel1.Controls.Add(this.button33);
this.panel1.Controls.Add(this.button32);
this.panel1.Controls.Add(this.button31);
this.panel1.Controls.Add(this.button30);
this.panel1.Controls.Add(this.button29);
this.panel1.Controls.Add(this.label11);
this.panel1.Controls.Add(this.button28);
this.panel1.Controls.Add(this.button27);
this.panel1.Controls.Add(this.button20);
this.panel1.Location = new System.Drawing.Point(1, 74);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(84, 272);
this.panel1.TabIndex = 59;
//
// button33
//
this.button33.Location = new System.Drawing.Point(3, 186);
this.button33.Name = "button33";
this.button33.Size = new System.Drawing.Size(75, 23);
this.button33.TabIndex = 64;
this.button33.TabStop = false;
this.button33.Text = "OPTIONS";
this.button33.UseVisualStyleBackColor = true;
this.button33.Click += new System.EventHandler(this.button33_Click);
//
// button32
//
this.button32.Location = new System.Drawing.Point(3, 160);
this.button32.Name = "button32";
this.button32.Size = new System.Drawing.Size(75, 23);
this.button32.TabIndex = 63;
this.button32.TabStop = false;
this.button32.Text = "CHANGES";
this.button32.UseVisualStyleBackColor = true;
this.button32.Click += new System.EventHandler(this.button32_Click);
//
// button31
//
this.button31.Location = new System.Drawing.Point(3, 134);
this.button31.Name = "button31";
this.button31.Size = new System.Drawing.Size(75, 23);
this.button31.TabIndex = 62;
this.button31.TabStop = false;
this.button31.Text = "CONSOLE";
this.button31.UseVisualStyleBackColor = true;
this.button31.Click += new System.EventHandler(this.button31_Click);
//
// button30
//
this.button30.Location = new System.Drawing.Point(3, 108);
this.button30.Name = "button30";
this.button30.Size = new System.Drawing.Size(75, 23);
this.button30.TabIndex = 61;
this.button30.TabStop = false;
this.button30.Text = "SAVED";
this.button30.UseVisualStyleBackColor = true;
this.button30.Click += new System.EventHandler(this.button30_Click);
//
// button29
//
this.button29.Location = new System.Drawing.Point(3, 82);
this.button29.Name = "button29";
this.button29.Size = new System.Drawing.Size(75, 23);
this.button29.TabIndex = 60;
this.button29.TabStop = false;
this.button29.Text = "MAPS";
this.button29.UseVisualStyleBackColor = true;
this.button29.Click += new System.EventHandler(this.button29_Click);
//
// button28
//
this.button28.Location = new System.Drawing.Point(3, 56);
this.button28.Name = "button28";
this.button28.Size = new System.Drawing.Size(75, 23);
this.button28.TabIndex = 59;
this.button28.TabStop = false;
this.button28.Text = "VERSIONS";
this.button28.UseVisualStyleBackColor = true;
this.button28.Click += new System.EventHandler(this.button28_Click);
//
// button34
//
this.button34.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button34.Location = new System.Drawing.Point(241, 3);
this.button34.Name = "button34";
this.button34.Size = new System.Drawing.Size(34, 20);
this.button34.TabIndex = 60;
this.button34.Text = "SDK";
this.button34.UseVisualStyleBackColor = true;
this.button34.Click += new System.EventHandler(this.button34_Click);
//
// panel2
//
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel2.Controls.Add(this.tabControl1);
this.panel2.Location = new System.Drawing.Point(91, 74);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(646, 311);
this.panel2.TabIndex = 61;
//
// SettingsButton
//
this.SettingsButton.Location = new System.Drawing.Point(0, 0);
this.SettingsButton.Name = "SettingsButton";
this.SettingsButton.Size = new System.Drawing.Size(75, 23);
this.SettingsButton.TabIndex = 0;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.pictureBox2);
this.panel3.Controls.Add(this.textBox2);
this.panel3.Controls.Add(this.textBox5);
this.panel3.Controls.Add(this.button4);
this.panel3.Controls.Add(this.label16);
this.panel3.Controls.Add(this.label15);
this.panel3.Controls.Add(this.label12);
this.panel3.Controls.Add(this.label13);
this.panel3.Location = new System.Drawing.Point(1, 4);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(229, 69);
this.panel3.TabIndex = 62;
//
// panel4
//
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel4.Controls.Add(this.button35);
this.panel4.Controls.Add(this.button34);
this.panel4.Controls.Add(this.button21);
this.panel4.Controls.Add(this.button8);
this.panel4.Controls.Add(this.button3);
this.panel4.Controls.Add(this.button25);
this.panel4.Location = new System.Drawing.Point(236, 41);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(501, 32);
this.panel4.TabIndex = 63;
//
// button35
//
this.button35.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button35.Location = new System.Drawing.Point(113, 3);
this.button35.Name = "button35";
this.button35.Size = new System.Drawing.Size(41, 20);
this.button35.TabIndex = 61;
this.button35.Text = "Studio";
this.button35.UseVisualStyleBackColor = true;
this.button35.Click += new System.EventHandler(this.button35_Click);
//
// UAButton
//
this.UAButton.Location = new System.Drawing.Point(0, 0);
this.UAButton.Name = "UAButton";
this.UAButton.Size = new System.Drawing.Size(75, 23);
this.UAButton.TabIndex = 0;
//
// comboBox3
//
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox3.FormattingEnabled = true;
this.comboBox3.Location = new System.Drawing.Point(90, 82);
this.comboBox3.Items.AddRange(new object[] {
"Extended",
"Compact"});
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(103, 21);
this.comboBox3.TabIndex = 75;
this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(3, 85);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(78, 13);
this.label5.TabIndex = 76;
this.label5.Text = "Launcher Style";
//
// LauncherFormExtended
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1451,6 +1451,12 @@ namespace NovetusLauncher
this.Text = "Novetus";
this.Closing += new System.ComponentModel.CancelEventHandler(this.MainFormClose);
this.Load += new System.EventHandler(this.MainFormLoad);
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.panel4.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
@ -1469,12 +1475,6 @@ namespace NovetusLauncher
this.tabPage5.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.panel4.ResumeLayout(false);
this.ResumeLayout(false);
}

View File

@ -117,17 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="label4.Text" xml:space="preserve">
<value>NOTE:
- If you have a problem where you can't see your character, REGENERATE YOUR PLAYER ID THEN REJOIN THE SERVER.
- If you tried to connect to the server and you get an error, REJOIN THE SERVER.
- To reset your character, type !!!reset into chat.
- Your tripcode will only be seen by you and the server host of any server you join. It is used to verify that you are a unique player.
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox2.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@ -19624,6 +19613,17 @@
aMoiAAAAAAAAAIymLAIAAAAAAADAaMoiAAAAAAAAAIymLAIAAAAAAADAaMoiAAAAAAAAAIymLAIAAAAA
AADAaMoiAAAAAAAAAIymLAIAAAAAAADAaMoiAAAAAAAAAIymLAIAAAAAAADAaMoiAAAAAAAAAIxlc9X/
AxppXSXTqYivAAAAAElFTkSuQmCC
</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>NOTE:
- If you have a problem where you can't see your character, REGENERATE YOUR PLAYER ID THEN REJOIN THE SERVER.
- If you tried to connect to the server and you get an error, REJOIN THE SERVER.
- To reset your character, type !!!reset into chat.
- Your tripcode will only be seen by you and the server host of any server you join. It is used to verify that you are a unique player.
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -8,11 +8,6 @@ namespace NovetusLauncher
#region Novetus Launcher Main Class
internal sealed class NovetusLauncher
{
static string ProcessInput(string s)
{
return s;
}
/// <summary>
/// Program entry point.
/// </summary>
@ -38,15 +33,12 @@ namespace NovetusLauncher
}
else
{
foreach (string s in args)
{
GlobalVars.SharedArgs = ProcessInput(s);
}
CommandLineArguments.Arguments CommandLine = new CommandLineArguments.Arguments(args);
if (GlobalVars.SharedArgs.Equals("-sdk"))
{
Application.Run(new NovetusSDK());
}
if (CommandLine["sdk"] != null)
{
Application.Run(new NovetusSDK());
}
}
}
}

View File

@ -35,7 +35,7 @@ namespace NovetusURI
public static void SetupURIValues()
{
string ExtractedArg = GlobalVars.SharedArgs.Replace("novetus://", "").Replace("novetus", "").Replace(":", "").Replace("/", "").Replace("?", "");
string ExtractedArg = LocalVars.SharedArgs.Replace("novetus://", "").Replace("novetus", "").Replace(":", "").Replace("/", "").Replace("?", "");
string ConvertedArg = SecurityFuncs.Base64DecodeOld(ExtractedArg);
string[] SplitArg = ConvertedArg.Split('|');
string ip = SecurityFuncs.Base64Decode(SplitArg[0]);

View File

@ -4,6 +4,7 @@
class LocalVars
{
public static bool ReadyToLaunch = false;
public static string SharedArgs = "";
}
#endregion
}

View File

@ -8,11 +8,6 @@ namespace NovetusURI
#region Novetus URI Main Class
internal sealed class NovetusURI
{
static string ProcessInput(string s)
{
return s;
}
/// <summary>
/// Program entry point.
/// </summary>
@ -30,7 +25,7 @@ namespace NovetusURI
{
foreach (string s in args)
{
GlobalVars.SharedArgs = ProcessInput(s);
LocalVars.SharedArgs = s;
}
Application.Run(new LoaderForm());