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"

[Closed] [REQUEST] Simple OnlineSubsystemNull example

Hey,

I'm digging through the (not-so-informative) documentation for the OnlineSubsystem and I'm really just looking for "simple" LAN-examples (I don't even need fancy Matchmaking and that kind of stuff), yet it is really hard to try stuff as all the interfaces require a ton of other implemented stuff and it's just really frustrating at the moment to get networking-related-functionality to work, so if somebody has any advice on how to get that simple stuff going, I'd be really thankful!

I did manage to "host" a session with the following code:

 IOnlineSubsystem* OnlineSub = IOnlineSubsystem::Get();
     if (OnlineSub)
     {
         FOnlineSessionSettings settings;
         settings.bIsLANMatch = true;
         settings.bAllowJoinInProgress = true;
         IOnlineSessionPtr Sessions = OnlineSub->GetSessionInterface();
         if (Sessions.IsValid())
         {
         //    UMyGameSessionSettings settings;
             bool bSuccessful = Sessions->CreateSession(0, FName("NewSession"), settings);
          }

}

Joining that session is no working at all though :/

Thanks in advance

PS: I did look in the ShooterGame-example, but the implemented functionality in there is somehwat overwhelming (as it does way more than what is needed for simple understanding)

Product Version: Not Selected
Tags:
more ▼

asked Nov 19 '14 at 04:55 PM in C++ Programming

avatar image

Nanoxin
306 35 39 44

avatar image Nanoxin Dec 08 '14 at 02:34 PM

The new Blueprints made this somewhat resolved, so I close this question! Thanks Epic!

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

The question has been closed Dec 08 '14 at 02:34 PM by Nanoxin for the following reason:

Request is completed / outdated


0 answers: sort voted first

Follow this question

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

Answers to this question