# C++ online Multiplayer: Where to start off?

**URL:** <https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [November 13, 2019, 2:57pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414 "2019-11-13T14:57:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![CryLagg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CryLagg](https://forums.unrealengine.com/u/CryLagg)\
**Post date:** [November 13, 2019, 2:57pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/1 "2019-11-13T14:57:01Z")

</div>

Hey there,

I am currently really interested in making something with online multiplayer content. For the beginning I want to start with something really basic, just to understand the fundamentials of online multiplayer programming using C++ in Unreal Engine 4.

So I own a root server running Ubuntu 18.04 Server (I don’t know wether I need something like this to make my game work). I just want to have two game clients opened on two different devices with nothing fancy, just two static meshes which can be moved via player input and which get updated on the other screen in real time (for getting a basic grasp on how things work).

What would be the very first steps to achieve that or where do I need to search for getting information about this?  
I read alot about high level frameworks for MMOs but that not even what I want. I want to start really low, from scratch and make my project grow while I learn.

Any help is highly appreciated.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![acxsasx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@acxsasx](https://forums.unrealengine.com/u/acxsasx)\
**Post date:** [November 13, 2019, 3:47pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/2 "2019-11-13T15:47:16Z")

</div>

See pinned post.

> **[An Unreal Engine Blog](https://cedric-neukirchen.net/)**
>
> An Unreal Engine Blog

> **[Unreal Gameplay Framework Guide for C++ – Tom Looman](https://www.tomlooman.com/ue4-gameplay-framework/)**
>
> The Gameplay Framework of Unreal Engine 4 provides a powerful set of classes to build your game. Your game can be a shooter, farm simulator, a deep RPG, it doesn't matter, the framework is very flexible and does some heavy lifting and sets some...

His class is a must imho for starting out. I wish I had it when I started. Would have saved me MANY hours! [Create Multiplayer Games with C++: Unreal Engine Mastery | Udemy](https://www.udemy.com/course/unrealengine-cpp/)

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

> **[Networking and Multiplayer](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/Networking/)**
>
> Setting up networked games for multiplayer.

> **[RPCs](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/Networking/Actors/RPCs/)**
>
> Designating function replication across the network

> **[Component Replication](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/Networking/Actors/Components/)**
>
> Setting up components for replication across the network

---

<div class="post-metadata">

**Author:** ![CryLagg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CryLagg](https://forums.unrealengine.com/u/CryLagg)\
**Post date:** [November 13, 2019, 5:53pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/3 "2019-11-13T17:53:08Z")

</div>

> [@acxsasx](#):
>
> See pinned post.
> 
> [http://cedric-neukirchen.net/](http://cedric-neukirchen.net/)
> 
> [Unreal Gameplay Framework Guide for C++ - Tom Looman](https://www.tomlooman.com/ue4-gameplay-framework/)
> 
> His class is a must imho for starting out. I wish I had it when I started. Would have saved me MANY hours! [https://www.udemy.com/course/unrealengine-cpp/](https://www.udemy.com/course/unrealengine-cpp/)
> 
> [https://wiki.unrealengine.com/Logs,\_…During\_Runtime](https://wiki.unrealengine.com/Logs,_Printing_Messages_To_Yourself_During_Runtime)
> 
> [https://docs.unrealengine.com/en-US/…ing/index.html](https://docs.unrealengine.com/en-US/Gameplay/Networking/index.html)
> 
> [https://docs.unrealengine.com/en-US/…PCs/index.html](https://docs.unrealengine.com/en-US/Gameplay/Networking/Actors/RPCs/index.html)
> 
> [https://docs.unrealengine.com/en-US/…nts/index.html](https://docs.unrealengine.com/en-US/Gameplay/Networking/Actors/Components/index.html)

You mean the Udemy class?  
Is it suitable for online Multiplayer or only for local network games?

Also, does it have an emphasis on C++ because it says ‘and Blueprints’ and I am not overly interested in Blueprints but more in C++.

---

<div class="post-metadata">

**Author:** ![urielninjabear](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@urielninjabear](https://forums.unrealengine.com/u/urielninjabear)\
**Post date:** [November 13, 2019, 7:31pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/4 "2019-11-13T19:31:48Z")

</div>

That Udemy course is very good!

But if you want to deep dive into multiplayer, without going so much into other concepts I would recommend this one instead: [Super Simple Online Game Development: Unreal Engine and C++ | Udemy](https://www.udemy.com/course/unrealmultiplayer/)

I also would like to reinforce Cedric’s compendium, also mentioned above. It’s a very useful reference!

As for your landscape, you’d need that Ubuntu server if you are considering hosting a dedicated server, to which clients are connecting. But if you simply want to have two players in the same game world, you can also have a host/client setup, which is what I’d recommend for you to start with.

For something as simple as you’re planning, your code would be more or less the same for both scenarios but building and deploying a dedicated server can be a bit overwhelming at first.

Good luck!

---

<div class="post-metadata">

**Author:** ![acxsasx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@acxsasx](https://forums.unrealengine.com/u/acxsasx)\
**Post date:** [November 13, 2019, 8:59pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/5 "2019-11-13T20:59:09Z")

</div>

I agree on the other Udemy course as well. Since you are beginning, that is why I recommended a higher level one. I have done both courses.

Also, do NOT underestimate the power of Blueprints. I am a programmer by trade and I have a tendency to look down on “visual” programming. I have many blueprints that are children of my C++ classes. Being able to change settings on a blueprint and then run again quickly is not to be discounted.

---

<div class="post-metadata">

**Author:** ![urielninjabear](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@urielninjabear](https://forums.unrealengine.com/u/urielninjabear)\
**Post date:** [November 13, 2019, 9:41pm UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/6 "2019-11-13T21:41:02Z")

</div>

Ah, absolutely!  
+1 on that.

I tried not to sidetrack to BP/C++ but I agree on that synergy. It’s more or less the same here: a bunch of core stuff in C++, exposing designer-friendly events/delegates to be implemented on the BP side. It’s a very powerful setup.

It’s even something covered in that Tom Looman’s Udemy course (and even in his blog).

---

<div class="post-metadata">

**Author:** ![Schrodinger1900](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Schrodinger1900](https://forums.unrealengine.com/u/Schrodinger1900)\
**Post date:** [November 14, 2019, 3:39am UTC](https://forums.unrealengine.com/t/c-online-multiplayer-where-to-start-off/133414/7 "2019-11-14T03:39:19Z")

</div>

i am making a online game too,very hounr to communication whitr you .
