How to Package a Dedicated Server in Unreal Engine

Описание к видео How to Package a Dedicated Server in Unreal Engine

How to build Unreal Engine from Source:    • How to Build Unreal Engine from Source  

In this video, we go over how to set up and package a dedicated server for your Unreal Engine project. Dedicated servers are becoming a popular alternative to other game server options such as listen servers and peer-to-peer for multiplayer games. Dedicated servers provide many advantages over having clients partake in hosting the game such as security, reliability, fairness, and better performance. However, dedicated game server hosting involves a separate machine and program running from the client. The unreal engine game server program is somewhat different than the client program in that the server is typically headless, meaning that it doesn't render graphics, device input, sound, and other player-oriented features because the server's main responsibility is to use client request information to update the state of the game world and that the clients have the data required to recreate that game world while being efficient. Therefore, packaging an Unreal Engine project as a dedicated server requires a different build configuration. At the end of this tutorial, we run the server locally in order to test some simple client connections and gameplay interaction.

****IMPORTANT LINKS****
Unreal Engine documentation articles on dedicated servers:
https://docs.unrealengine.com/en-US/I...
https://docs.unrealengine.com/en-US/I...
https://docs.unrealengine.com/en-US/I...
Other useful webpages on dedicated servers:
https://en.wikipedia.org/wiki/Game_se...
https://phoenixnap.com/blog/what-is-a....
More information about target files for Unreal Engine: https://docs.unrealengine.com/en-US/P...

Commands:
Run a UE4 server build locally with logs: [name-of-server-executable].exe -log
Connect to localhost from a UE4 client build: open 127.0.0.1

How to support the channel:
Get a shirt or sweatshirt with free shipping (Use code "SHIP" at checkout): https://teespring.com/stores/flopperam
Become a member:    / @flopperam  
Support us on Patreon:   / flopperam  
Donate to our PayPal: https://www.paypal.me/flopperam
Sponsor us on Github: https://github.com/sponsors/chris-gong

Social media links:
Discord:   / discord  
Twitter:   / flopperam  
Instagram:   / flopperam  
Facebook:   / flopperam  

Music Creds:
Song: LAKEY INSPIRED - Chill Day (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link:    • LAKEY INSPIRED - Chill Day (Vlog No C...  

Song: LAKEY INSPIRED - Doing Just Fine
Video Link:    • LAKEY INSPIRED - Doing Just Fine  
Youtube Channel Link:    / @lakeyinspired  

0:00 Intro
1:32 Adding a server build target to project
9:53 Setting the default server and client maps
14:17 Packaging the server and client
17:53 Testing the dedicated server
23:02 Outro

#ue4 #unrealengine #dedicatedserver

Комментарии

Информация по комментариям в разработке