EOSCore:: 1.6

General Changes

  • Changed Tick mechanics for EOSCore:: and OnlineSubsystemEOSCore::

Example Project

IOnlineSessions

  • The IOnlineSessions Interface is partially implemented
  • You can now use “CreateSession” node to create a game session
  • You can now use “FindSessions” node to find game sessions
  • You can now use “JoinSession” node to join game sessions

Chat

  • A EOSCore:: exlusive Chat Interface is now available!
  • Send / Receive chat messages between clients
  • The Chat interface will automatically establish a connection between the two clients
  • The Chat Interface utilize the P2P Interface, eliminating the possiblity of leaking sensitive information about the clients
Listen for chat messages
Send a chat message

EOSCore:: 1.5

OnlineSubsystemEOSCore

  • The OnlineSubsystemEOSCore is now available!
  • Connecting / Hosting games using the P2P Interface
  • Connect to a remote host using: “open eoscore.user_product_id
  • The OnlineSubsystemEOSCore will handle the NAT Traversal / NAT Punchthrough, no need to configure firewalls or routers.

Hosting a Game / Session (P2PNAT)

The EOSCore:: Plugin enables you to host / connect to game sessions using P2PNAT (nat traversal/nat punchthrough) without the need to configure firewalls.

REQUIREMENTS

CREATING

You can use the default CreateSsession node in UE4 to create a default EOS Session!

You can also create sessions with custom Session Name using the “CreateEOSSession” node

It’s as simple as that!

Connecting to a Game / Session (P2PNAT)

The EOSCore:: Plugin enables you to host / connect to game sessions using P2PNAT (nat traversal/nat punchthrough) without the need to configure firewalls.

REQUIREMENTS

CONNECTING

The address format for connecting to a EOS Session is; “eoscore.user_product_id

An example:

open "eoscore.abc123123123123"

Or you can join via JoinSession node if you have a valid search result (from using FindSessions node)

It’s as simple as that!

EOSCore:: Online Subsystem

DefaultEngine.ini (1.8.0 and above, ue 4.25+)

[OnlineSubsystem]
DefaultPlatformService=EOS

[/Script/OnlineSubsystemEOS.NetDriverEOS]
NetConnectionClassName="OnlineSubsystemEOS.NetConnectionEOS"
bIsUsingP2PSockets=true

[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOS.NetDriverEOS",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

DefaultEngine.ini (Legacy pre v1.8.0)

[OnlineSubsystem]
DefaultPlatformService=EOSCore

[/Script/OnlineSubsystemEOSCore.EOSNetDriver]
NetConnectionClassName="OnlineSubsystemEOSCore.EOSNetConnection"

[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOSCore.EOSNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[EOSCore]
bEnabled=true
bDebugging=true
bAutoLogin=false
ProductId=xxx
SandboxId=xxx
DeploymentId=xxx
ClientId=xxx
ClientSecret=xxx
ProductName=EOSCore Product
ProductVersion=1.0