From 7ba9ca985c2ac5f78042592dc482a68d0af2a79e Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sun, 10 Jul 2022 16:52:42 +1000 Subject: [PATCH] added .rbxl support --- Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 2e2d2ac..20b5044 100644 --- a/Program.cs +++ b/Program.cs @@ -52,10 +52,12 @@ namespace ConsoleApp1 Console.Clear(); Console.WriteLine("Server Port:"); string port = Console.ReadLine(); + Console.WriteLine("Game Filename (use temp.rbxl if unsure, put .rbxl(s) in the content folder):"); + string filename = Console.ReadLine(); using (System.Diagnostics.Process pProcess = new System.Diagnostics.Process()) { pProcess.StartInfo.FileName = filePath; - pProcess.StartInfo.Arguments = "-a \"http://www.morblox.us/\" -j \"http://www.morblox.us/game/gameserver.php?port=" + port + "\" -t \"1\""; + pProcess.StartInfo.Arguments = "-a \"http://www.morblox.us/\" -j \"http://www.morblox.us/game/gameserver.php?port=" + port + "?rbxl=" + filename + "\" -t \"1\""; pProcess.StartInfo.UseShellExecute = false; pProcess.StartInfo.RedirectStandardOutput = true; pProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;