The guide was well written and the original authors did a great job but I encountered several problems when following it and had spoken to many others that had used the guide themselves and were also struggling with getting it to work or we’re confused with some of the steps.
Not to mention just look at the hundreds of answerhub threads still about people having trouble with dedicated servers.
So I felt it would help to update the guide . Also a lot of the guide links to other wiki entries or external pages which slows you down as you jump around . with my guide it is literally step by step . You start at the top follow it sequentially and by time you get to the bottom it will be working . Or depending on what you have already you can click on the links and just jump to what ever section you need.
Also I added in a lot of extra detail such as fixing the swarm lighting error , how to setup the project actually inside the editor, how to use local ip and real ip, port forwarding, hosting on virtual machine. How to setup blueprints and maps properly . How to make sure the map data is saved correctly as it changed from version 14+ . The serverTarget.cs code is also different now than the one previously linked to .
When I have time I will also be adding in more stuff like how to host multiple maps/ server instances and get players to Join them . Similar to how a mmo server infrastructure is set up.
And will also be doing a complete video tutorial for those that find following written guides harder
I also organised and neatend up the menu and put everything into its own sections to make it clearer and easier to read
Also as I said before following the original wiki the process was quite slow . With my way of doing it I can literally go from not even having the engine installed to having a fully working setup in only a few hours depending on build times.
I will also be providing 2 complete project games , one for each new engine version, completely set up with a dedicated server connection already working so players still struggling can just simply download the projects and use them as a starting base project for their own games
If people are unhappy with the new guide they are completely free to edit it and rewrite it or if they prefer to follow the old guide they can simply go to the page history and still access the old guide
“wonder why u didnt stick with the project launcher way for creating the server stuff”
Not sure what you mean by this can you explain and I will answer
“also think the old wiki entry suggested that you chose the method yourself and linked to the ue4 github repo readme… i think downloading as zip is really bad”
If you read my guide I said that downloading by zip is my own personal preference , I said you can clone the repo , download as zip do whatever you prefer . How you get the files is not important. Why is downloading as zip bad
I am thankful that the UE4 community makes guides like this, to save us other devs alot of time figuring out stuff. But i really wonder, why is there no official documentation about dedicated server builds from Epic? and why is this still so “semi hard” to achive today? Needing custom source code build from git, copying exe files to packaged folder and such, seem very, how should i put it, hacky somehow. If we can build c++ project for pure client/listen servers, would it be logical to have a dedicated server build automatically from binary build in the launcher that is. I am just sincerely curious how come dedicated server build is this way.
Yeah this is my only major gripe with this engine . The documentation is rarely kept up to date and is severly lacking in a lot of areas or its there but doesn’t go into enough specific detail to be helpful
especially on the c++ side of things which I think is most likely a result of how fast they bring out engine updates
It wold probably be a full time job just trying to keep up with it all
The amount of time i update and then a specific bit of code no longer works because the syntax or something has changed and yet the changes havnt been updated in the api so you end up trawling pages and pages of forum posts or answer hub pages to find out why
Hello. No the guide is currently wrong for versions 4.16 and 4.17 . I finally have some free time so I am updating the guide this weekend so it will work for the new engine releases as well as fixing some errors that have been pointed out
yeah i had messed up the 4.16 part. it is all now working and i have added in the 4.17 part. i have also began recording the video tutorials as well.
if you come across any more errors or problems let me know and ill correct them again thanks.
Question about (switch unreal engine versions). Am just wondering If can go back with an official version after I make the server build and pack everything. The reason why is because am working with others peoples with git and my friends are using the official build. In our case it is 4.17.1. The source that I get from Epic Github is 4.17.2. So can I go back from an official build? And I assume that when am ready to pack, am switching for the source version! Tks!
Hello yes that’s correct . You can easily switch back and fourth between launcher version and source built by regenerating the project files and share with friends. Although if you make any c++ functionality it may cause problems for those not using the source version as they won’t have the vs source files . But if you are just using source for a bp project and just building the server part only then this wont be a problem.
EniGmaa- I’m trying to make multiple dedicated servers in order to have individual maps that players can visit without trying to make a massive world (say, loaded when a player clicks open a door). I intend to shuffle player/game data between them with VaRest/Django/MariaDB/a RESTful interface. Do I need to make an individual UE4 project for each of these dedicated servers (which are essentially only different maps)? If so, do I do that and simply ignore all of the client.exe’s that I will be building for each map/server? What’s the best way to handle the enterprise of building, say, a dozen dedicated servers?
EniGmaa- I’m trying to build multiple dedicated servers so that players can visit different parts of the game without trying to build an infinite world. I plan to coordinate between them with VaRest and a RESTful miniserver/Django/MariaDB. Do I have to build a separate project for each of these ue4-dedicated-servers (which are essentially only different maps)? If so, do I simply ignore the many MyGame_Client.exe’s that I will be building? What’s the best way to handle the enterprise of building, say, a dozen dedicated servers?
(Sorry if this post appears twice. I think the forum ate my original)
Hello no you only need the one project . What you do is make several maps and each map will be a new dedicated server instance . Then in game if you want to travel so on open door to a new map you simply call open level and pass in the new maps ip and port number .
I have been so busy lately but I will try and update the wiki with more information on joining other levels