Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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

Product Version: UE 4.19
more ▼

asked May 22 '18 at 01:38 PM in Using UE4

avatar image

15 1 2 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered May 22 '18 at 01:43 PM

avatar image

101 1 7 4

avatar image Ciliegino May 22 '18 at 01:48 PM

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?

avatar image MarCraft23 May 22 '18 at 01:54 PM

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

avatar image Ciliegino May 22 '18 at 01:57 PM

Oh crap, 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.

avatar image MarCraft23 May 22 '18 at 01:58 PM

you're welcome :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question