Epic Online Services

An guide to the Online services „Epic Online Services“ and „Online Subsystem“ by Epic Games®

Updated over 3 years ago
  • Introduction

    Guide is, among other sources, inspired by Sneaky Kitty Game Dev's tutorial series on Epic Online Services, purpose is to combine knowledge about that service over here and convey it in written language.

Setup (SDK & Sample)

First of all you will have to download Epic Online Services SDK, type is programming language „C“, version preferably the latest. Subsequently extract the Zip on your Desktop, open the Samples.sln with your favourite Integrated Development Environment, build AuthAndFriends. After that unfold AuthAndFriends and lookout for SampleConstants.h.

SampleConstants

Now go to Developer Portal, click Create Product, name it whatever you want. Click on your newly created Product and head down to Product Settings, there you see three IDs & your GameName. Paste your Product ID, Sandbox ID, Deployment ID & GameName, step by step until they match. Client Credentials ID & ClientCredentialsSecret remains blank, its going to be generated in the next step.

Client

In your Product Settings tab, click on Clients, look for Client Policies. Click Add New Client Policy, name it whatever you want. As your Client Policy Type pick Custom, its advisable to enable User required, check all selectable features as well as allowed actions. Next up, Add New Client, in the Client Policy field pick the one you just created. Other option(s) can be ignored still, go complement missing information inside SampleConstants.h.

Epic Account Services

Once again in the Developer Portal, on the left side, click Epic Account Services. If there is no Application created already, create one. Click on Permissions, enable Online Presence and Friends. After that click on Linked Clients, pick your Client.

AuthAndFriends

Return to your Samples.sln, then press Debug, an AuthAndFriends window should appear. On the right side click Account Portal → Log In. An web page is going to pop-up and request Permission, click Continue to App and Allow.

Help

You are seeking support on getting Epic Online Services and & or Online Subsystem running for your game? EOS Help or Unreal Slackers, Forums, AnswerHub, Sneaky Kitty Tutorials, Flopperam & The Aphix Community can be your go-to!