Difficulty with client beacon pinging server

I’m having trouble getting the Beacon code to work. When a client tries to hit a server with the beacon, I get this error:

[2015.07.21-15.44.21:045][433]LogServerBrowser:Warning: *** ping server URL steam.90096488092322824:15000
[2015.07.21-15.44.21:046][433]LogInit: SteamSockets: Socket queue 65536 / 65536
[2015.07.21-15.44.21:047][433]LogNet:Warning: Failed to init net driver ConnectURL: steam.90096488092322824:15000//Game/Maps/MenuDummy: SteamSockets: binding to port 0 failed (0)
[2015.07.21-15.44.21:047][433]LogNet: AOnlineBeaconClient::InitClient failed

I’m thinking it’s a config issue in the .ini file. But I’m unable to find much guidance for setting up the beacons. I’m also not sure why it’s appending the map name to the end of the steam address.

Not used these before so can’t offer much help, but i know that UT has a Beacon system. Try looking at the source for that :slight_smile: You can find it on the Epic GitHub

I looked at the UT code. But it didn’t really help.

There is one difference with UT config that you have to change for using steam sockets which UT doesn’t use:


[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions=(DefName="DemoNetDriver",DriverClassName="/Script/Engine.DemoNetDriver",DriverClassNameFallback="/Script/Engine.DemoNetDriver")
;+NetDriverDefinitions=(DefName="BeaconNetDriver",DriverClassName="OnlineSubsystemUtils.IpNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions=(DefName="BeaconNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

The UT version uses the IpNetDriver, for steam you need to insert the SteamNetDriver. This will allow you to bind with steam sockets and beacons!