Download

How to run the game without the server.

Hi, i would like to ask if it is possible to only run the game as client when executing the game, the game is used to connect to a dedicated server, so it should not start as a server. Any help would be appreciated, thanks!

Wait, if you start your game as an .exe file, it starts a dedicated server?

When you start your game.exe it does start as a standalone client. The only time it will start as a listen server is if you give it the ?listen commandline arg. and the only time it will start as a dedicated server is if you build the dedicated server .exe

You could force your game to automatically connect to a particular server after it loads up by adding a Execute Console Command from an On Begin Play event (open <ip address of server>).

Alternatively, run your game via command line like:
C:\Program Files\Unreal Engine\4.6\Engine\Binaries\Win64\UE4Editor.exe C:\MyGame\MyGame.uproject 127.0.0.1 -game -log