MORE FIXES
This commit is contained in:
parent
7ecfeb337d
commit
658f02af6f
|
|
@ -43,6 +43,7 @@ namespace NovetusLauncher
|
|||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
|
|
@ -105,12 +106,23 @@ namespace NovetusLauncher
|
|||
this.comboBox1.TabIndex = 8;
|
||||
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1SelectedIndexChanged);
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.Location = new System.Drawing.Point(18, 109);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(214, 24);
|
||||
this.checkBox1.TabIndex = 9;
|
||||
this.checkBox1.Text = "Disable Help Message on Item Creation";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged);
|
||||
//
|
||||
// ItemMaker
|
||||
//
|
||||
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(244, 114);
|
||||
this.ClientSize = new System.Drawing.Size(244, 139);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.comboBox1);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label2);
|
||||
|
|
@ -134,5 +146,6 @@ namespace NovetusLauncher
|
|||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ namespace NovetusLauncher
|
|||
|
||||
System.Diagnostics.Process.Start(url + textBox2.Text + version);
|
||||
|
||||
MessageBox.Show("In order for the item to work in Novetus, you'll need to find an icon for your item (it must be a .png file), then name it the same name as your item.\n\nIf you want to create a local (offline) item, you'll have to download the meshes/textures from the links in the rbxm file, then replace the links in the file pointing to where they are using rbxasset://. Look at the directory in the 'shareddata/charcustom' folder that best suits your item type, then look at the rbxm for any one of the items. If you get a corrupted file, change the URL using the drop down box.\n\nIf you're trying to create a offline item. please use these file extension names when saving your files:\n.rbxm - ROBLOX Model/Item\n.mesh - ROBLOX Mesh\n.png - Texture/Icon\n.wav - Sound","Novetus Item SDK", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
if (!GlobalVars.DisabledHelp)
|
||||
{
|
||||
MessageBox.Show("In order for the item to work in Novetus, you'll need to find an icon for your item (it must be a .png file), then name it the same name as your item.\n\nIf you want to create a local (offline) item, you'll have to download the meshes/textures from the links in the rbxm file, then replace the links in the file pointing to where they are using rbxasset://. Look at the directory in the 'shareddata/charcustom' folder that best suits your item type, then look at the rbxm for any one of the items. If you get a corrupted file, change the URL using the drop down box.\n\nIf you're trying to create a offline item. please use these file extension names when saving your files:\n.rbxm - ROBLOX Model/Item\n.mesh - ROBLOX Mesh\n.png - Texture/Icon\n.wav - Sound","Novetus Item SDK", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
catch(Exception)
|
||||
{
|
||||
|
|
@ -66,7 +69,28 @@ namespace NovetusLauncher
|
|||
|
||||
void ItemMakerLoad(object sender, EventArgs e)
|
||||
{
|
||||
comboBox1.Text = "http://www.roblox.com/";
|
||||
comboBox1.Text = "http://www.roblox.com/";
|
||||
|
||||
if (GlobalVars.DisabledHelp == true)
|
||||
{
|
||||
checkBox1.Checked = true;
|
||||
}
|
||||
else if (GlobalVars.DisabledHelp == false)
|
||||
{
|
||||
checkBox1.Checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
void CheckBox1CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox1.Checked == true)
|
||||
{
|
||||
GlobalVars.DisabledHelp = true;
|
||||
}
|
||||
else if (checkBox1.Checked == false)
|
||||
{
|
||||
GlobalVars.DisabledHelp = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,6 +57,8 @@ namespace NovetusLauncher
|
|||
string ip = SecurityFuncs.Base64Decode(SplitArg[0]);
|
||||
string port = SecurityFuncs.Base64Decode(SplitArg[1]);
|
||||
string client = SecurityFuncs.Base64Decode(SplitArg[2]);
|
||||
GlobalVars.IP = ip;
|
||||
GlobalVars.RobloxPort = Convert.ToInt32(port);
|
||||
ReadClientValues(client);
|
||||
string luafile = "";
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ namespace NovetusShared
|
|||
|
||||
public static void ReadConfigValues(string cfgpath)
|
||||
{
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline9, Decryptline10;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline9, Decryptline10, Decryptline11;
|
||||
|
||||
IniFile ini = new IniFile(cfgpath);
|
||||
|
||||
|
|
@ -54,6 +54,7 @@ namespace NovetusShared
|
|||
Decryptline7 = ini.IniReadValue(section, "PlayerLimit");
|
||||
Decryptline9 = ini.IniReadValue(section, "ShowHatsOnExtra");
|
||||
Decryptline10 = ini.IniReadValue(section, "UPnP");
|
||||
Decryptline11 = ini.IniReadValue(section, "ItemMakerDisableHelpMessage");
|
||||
|
||||
bool bline1 = Convert.ToBoolean(Decryptline1);
|
||||
GlobalVars.CloseOnLaunch = bline1;
|
||||
|
|
@ -79,6 +80,9 @@ namespace NovetusShared
|
|||
bool bline10 = Convert.ToBoolean(Decryptline10);
|
||||
GlobalVars.UPnP = bline10;
|
||||
|
||||
bool bline11 = Convert.ToBoolean(Decryptline11);
|
||||
GlobalVars.DisabledHelp = bline11;
|
||||
|
||||
ReadCustomizationValues(cfgpath.Replace(".ini","_customization.ini"));
|
||||
}
|
||||
|
||||
|
|
@ -97,6 +101,7 @@ namespace NovetusShared
|
|||
ini.IniWriteValue(section, "PlayerLimit", GlobalVars.PlayerLimit.ToString());
|
||||
ini.IniWriteValue(section, "ShowHatsOnExtra", GlobalVars.Custom_Extra_ShowHats.ToString());
|
||||
ini.IniWriteValue(section, "UPnP", GlobalVars.UPnP.ToString());
|
||||
ini.IniWriteValue(section, "ItemMakerDisableHelpMessage", GlobalVars.DisabledHelp.ToString());
|
||||
WriteCustomizationValues(cfgpath.Replace(".ini","_customization.ini"));
|
||||
}
|
||||
|
||||
|
|
@ -2166,6 +2171,8 @@ namespace NovetusShared
|
|||
public static string WebServer_PantsDir = WebServer_CustomPlayerDir + "pants/";
|
||||
public static string WebServer_ExtraDir = WebServer_CustomPlayerDir + "custom/";
|
||||
public static string WebServer_BodyColors = WebServer_CustomPlayerDir + "bodycolors.rbxm";
|
||||
//itemmaker
|
||||
public static bool DisabledHelp = false;
|
||||
|
||||
public static string MultiLine(params string[] args)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue