Hi, i recently succeed to learn how to launch a dedicated server and now i wonder How to launch a server during game instead of manually clicking Server.exe file.
i found that some people just saying use ‘Open’ command but i want to launch Several dedicated server Automatically.
i also read that put “MyGame.exe ExampleMap -server” or “MyGame.exe /Game/Maps/ExampleMap -server -game -log” like thing in command line. but when i tried this, it just don’t work.
whenever i tried that command, command log said “Command not recognized: Test_Server.exe TestLevel -server”.
is there any way to launch a dedicated server inside of game logic?
well, currently, i am trying to using “FPlatformProcess::CreateProc” function to open ‘~Server.exe’ file.
Is this the C++ method you told? or is there a better way to do it?