more HasRocky integration
This commit is contained in:
parent
fe942c4cb5
commit
85a8a7fce0
|
|
@ -83,12 +83,8 @@ namespace RBXLegacyLauncher
|
||||||
sudp.StartInfo.UseShellExecute = false;
|
sudp.StartInfo.UseShellExecute = false;
|
||||||
sudp.StartInfo.CreateNoWindow = true;
|
sudp.StartInfo.CreateNoWindow = true;
|
||||||
sudp.Start();
|
sudp.Start();
|
||||||
StartClient();
|
|
||||||
}
|
|
||||||
else if (GlobalVars.HasRocky == false)
|
|
||||||
{
|
|
||||||
StartClient();
|
|
||||||
}
|
}
|
||||||
|
StartClient();
|
||||||
|
|
||||||
if (GlobalVars.CloseOnLaunch == true)
|
if (GlobalVars.CloseOnLaunch == true)
|
||||||
{
|
{
|
||||||
|
|
@ -724,7 +720,11 @@ namespace RBXLegacyLauncher
|
||||||
client.StartInfo.FileName = rbxexe;
|
client.StartInfo.FileName = rbxexe;
|
||||||
client.StartInfo.Arguments = args;
|
client.StartInfo.Arguments = args;
|
||||||
client.EnableRaisingEvents = true;
|
client.EnableRaisingEvents = true;
|
||||||
client.Exited += new EventHandler(ClientExited);
|
ReadClientValues(GlobalVars.SelectedClient);
|
||||||
|
if (GlobalVars.HasRocky == true)
|
||||||
|
{
|
||||||
|
client.Exited += new EventHandler(ClientExited);
|
||||||
|
}
|
||||||
client.Start();
|
client.Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -919,12 +919,16 @@ namespace RBXLegacyLauncher
|
||||||
}
|
}
|
||||||
else if (command.Equals("rbxlegacy client"))
|
else if (command.Equals("rbxlegacy client"))
|
||||||
{
|
{
|
||||||
Process sudp = new Process();
|
ReadClientValues(GlobalVars.SelectedClient);
|
||||||
sudp.StartInfo.FileName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\sudppipe.exe";
|
if (GlobalVars.HasRocky == true)
|
||||||
sudp.StartInfo.Arguments = "-p " + GlobalVars.IP + " " + GlobalVars.RobloxPort + " " + GlobalVars.RobloxPort;
|
{
|
||||||
sudp.StartInfo.UseShellExecute = false;
|
Process sudp = new Process();
|
||||||
sudp.StartInfo.CreateNoWindow = true;
|
sudp.StartInfo.FileName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\sudppipe.exe";
|
||||||
sudp.Start();
|
sudp.StartInfo.Arguments = "-p " + GlobalVars.IP + " " + GlobalVars.RobloxPort + " " + GlobalVars.RobloxPort;
|
||||||
|
sudp.StartInfo.UseShellExecute = false;
|
||||||
|
sudp.StartInfo.CreateNoWindow = true;
|
||||||
|
sudp.Start();
|
||||||
|
}
|
||||||
StartClient();
|
StartClient();
|
||||||
}
|
}
|
||||||
else if (command.Equals("rbxlegacy client solo"))
|
else if (command.Equals("rbxlegacy client solo"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue