x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Error connecting to a lobby using steam (networking related)

This is based on this project: link text

Everything works just fine and dandy with the lobby in an isolated project. But after migrating this project into a different one, the lobby will no longer successfully launch.

I get these errors:

LogNet: Warning: Failed to init net driver ListenURL: /Game/MenuSystem/Maps/Lobby?listen: SteamSockets: binding to port 7777 failed (0)

LogNet: Warning: Network Failure: GameNetDriver[NetDriverListenFailure]: SteamSockets: binding to port 7777 failed

LogNet: NetworkFailure: NetDriverListenFailure, Error: 'SteamSockets: binding to port 7777 failed (0)'

LogBlueprintUserMessages: [GameinfoInstance_C_0] even network error on server

LogWorld: Failed to listen: SteamSockets: binding to port 7777 failed (0)

LogNet: Error: LoadMap: failed to Listen(/Game/MenuSystem/Maps/Lobby?listen)

What the heck would cause this? Absolutely nothing was changed or altered about the gameinstance or in any of the player controllers.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 02 '18 at 03:05 AM in Using UE4

avatar image

Plzwork1234
59 3 4 7

avatar image mightyenigma Nov 23 '18 at 01:42 AM

The only thing I can think of is that since you migrated it into a different project it may have a different configuration (like which onlinesubsystem it is using) and different plugins enabled. Try comparing the plugins and the ini files.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

i was missing a line in this somewhere that goes into DefaultEngine. Cant remember which one. But to anyone trying to hook into steam this code below goes in DefaultEngine.ini

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

[OnlineSubsystem] PollingIntervalInMs=20
; Uncomment the following line to use the Null Subsystem ;DefaultPlatformService=Null ; Uncomment the following lines to use the Steam Subsystem DefaultPlatformService=Steam
VoiceNotificationDelta=0.2

[OnlineSubsystemSteam] bEnabled=true
SteamDevAppId=480
SteamAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90
; This is to prevent subsystem from reading other achievements that may be defined in parent .ini Achievement_0_Id=""

[/Script/OnlineSubsystemSteam.SteamNetDriver] NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"

more ▼

answered Nov 23 '18 at 06:55 PM

avatar image

Plzwork1234
59 3 4 7

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question