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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can't find a created session

Hi, there: I'm practicing create/join/find sessions via C++ programming. Of course I reference the only example project ShooterGame a lot.

The server is dedicated.

Now I use the class OnlineSubsystemNull and can successfully create a session on a dedicated server, but can't find it on localhost. It says finding session is successful but the number of sessions equals 0. The attachment is my create/find code. Please have a peek.CreateSessionFindSessions Thanks.

Product Version: Not Selected
Tags:
hostsession.png (71.8 kB)
findsessions.png (51.2 kB)
more ▼

asked Mar 19 '15 at 04:10 AM in C++ Programming

avatar image

ZenTechEntertaiment
44 6 13 25

avatar image AdamuKaapan Apr 16 '15 at 05:02 PM

I'm currently having the same problem, so I would like to bump this up. I'm not using C++, but I'm doing the same general thing with blueprints. Did you ever figure this out?

avatar image krisgoku2 Feb 03 '18 at 12:06 AM

Still am and packaging a project isn't fixing it

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

just to point up some possible reasons.. or points to check out

Did you..

  1. add the onlinesubsystem to the defaultengine.ini

  2. add the project dependencies in the Project.Build.Cs

are you able to connect directly by ip / console commands?

  • open MapName?listen (for server)

  • open 127.0.0.1 (for client)

more ▼

answered Jul 19 '15 at 02:56 AM

avatar image

makai
434 26 17 43

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I have nearly the same code and it didn't work for me either. When working within the editor I always find 0 sessions. But when I baked a development build it was suddenly finding the other sessions. Maybe there is a bug in the editor. Many networking related things work different in editor.

more ▼

answered Jul 21 '15 at 10:56 AM

avatar image

AliGinBerlin
41 4 4 7

avatar image makai Jul 21 '15 at 03:22 PM

Hi, UE4 baut bei PIE (PlayInEditor) schon eine Session auf. aktuell 4.81 scheint da nen Bug im Editor zu sein, du kannst nur nen Server erstellen mit dem Server (das Editor Fenster bei 2 Fenstern).

UE4 opens a Session in PIE (PlayInEditor). Currently in 4.81 it seems theres a bug, when opening a server on the client (second window) you have to create a server on the server (session in editor window not the exta window) to make it work

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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