Dedicated Server to Client Connection

Okay so here is the problem :
I’m able to create and script a singleplayer game and also a multiplayer game in which the client can also host a game for others becoming Server for the session.
But I can’t understand how to program a game with a dedicated server…
I mean, how do I get two separate “.exe” in which the first one creates a Server (and does not have any client functionality) and the second one lauch a client (That needs a server to connect to in order to work).

As an example u can take any of the MMO’s out there, which need a dedicated server in order to join and play.
Thanks. <3

you need to build the engine from source first. here is a good link for you

Ye i do actually know how ti build the engine from source and creating a server but wouldn’t It create Just a copy of the project and export It for running on a server? Or does It do everything on it’s own? I mean, does this create an exe that runs only the server part?

you get a seperate exe that is essentially just a console. this exe runs the project but on the server side so for your ded. server you need the whole project plus the server exe. PS dont know if thats absolutely correct but the ded. server has no player controller so this exe just runs the game state and every on server event

Oh ■■■■, I think u just solved my problem.
I just didn’t understand how ue managed their dedicated server and u explained me.
Thanks a lot man.

you’re welcome :slight_smile: