Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Originally posted by HughieDM View Post
    Im getting a build error on the mac

    [ATTACH=CONFIG]50399[/ATTACH]

    How should this be fixed?
    Comment out that line it is not required as the same variable was already declared and initialized above, I was using it twice over for two different reasons and must have blanked and re-declared it . I'll post an update with that fix in a moment after I look into the dedicated server playercontroller-less session question.

    The code will still run fine but obviously VS doesn't care as much about declaration efficiency with default settings as GCC does so it passed by and is throwing a warning to you.



    *Edit* Re-did the advanced sessions node to support the dedicated server boolean from the session settings and to allow for the playercontroller to be optional, will upload today. Keep in mind that without a player controller there is no UniqueNetID to send to the subsystem so it will be passing through NULL/0. Not passing a playercontroller WILL NOT WORK with client builds with Steam, as it initializes the steam api and expects it. However from what I have read dedicated servers should be fine without it being passed in.

    This includes removing the line that is throwing a warning for you.

    I will only upload for 4.8 on this release as my 4.7 install is gone, if anyone needs 4.7 I can upload it eventually but would have to re-install 4.7. At this point 4.8 seems like a far more stable build overall anyway.


    *Edit2* Uploaded
    Last edited by mordentral; 07-31-2015, 11:36 AM.


    Consider supporting me on patreon

    My Open source tools and plugins
    Advanced Sessions Plugin
    VR Expansion Plugin

    Comment


      #62
      Thanks for the information.
      Assets: Military Ammunition (Released)
      Plugins: BlueManBPFunctionLibrary C++ plugin (Free), Blue Man Vehicle AI Plugin (Released), Air Resistance C++ Plugin (WIP), Blue Man Vehicle Physics Plugin (Marketplace)
      Projects: Giants Of Destruction

      Comment


        #63
        Maybe a stupid question but...
        What about Android compatibility with google play and Google Online Subsystem? Can I use it with that as well? And will the new features work?
        Last edited by Z-enzyme; 08-01-2015, 02:30 PM.

        Comment


          #64
          Originally posted by Z-enzyme View Post
          Maybe a stupid question but...
          What about Android compatibility with google play and Google Online Subsystem? Can I use it with that as well? And will the new features work?
          Everything that Subsystems have in common will work. Subsystem specific things will need the header files of the specific subsystem. Creating and joining
          sessions should work, as long as the Subsystem is supported.
          Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

          My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
          (Including 100+ Pages Multiplayer Network Compendium to get you started.)

          Comment


            #65
            Originally posted by Z-enzyme View Post
            Maybe a stupid question but...
            What about Android compatibility with google play and Google Online Subsystem? Can I use it with that as well? And will the new features work?


            This should answer your question I hope, it is from the google play subsystem header file, all things that return a null_ptr are not implemented (including sessions).

            Please note that I do not have a leaderboards or achievements interface implemented...yet...I might pick it up when I have some free time.


            Both friends and sessions don't have a google implementation, looks like just store / leaderboards / Identity / achievements. My plugin would be fairly useless to you at the moment.

            Code:
            IOnlineIdentityPtr FOnlineSubsystemGooglePlay::GetIdentityInterface() const
            {
            	return IdentityInterface;
            }
            
            
            IOnlineStorePtr FOnlineSubsystemGooglePlay::GetStoreInterface() const
            {
            	return StoreInterface;
            }
            
            
            IOnlineSessionPtr FOnlineSubsystemGooglePlay::GetSessionInterface() const
            {
            	return nullptr;
            }
            
            
            IOnlineFriendsPtr FOnlineSubsystemGooglePlay::GetFriendsInterface() const
            {
            	return nullptr;
            }
            
            
            IOnlineSharedCloudPtr FOnlineSubsystemGooglePlay::GetSharedCloudInterface() const
            {
            	return nullptr;
            }
            
            
            IOnlineUserCloudPtr FOnlineSubsystemGooglePlay::GetUserCloudInterface() const
            {
            	return nullptr;
            }
            
            IOnlineLeaderboardsPtr FOnlineSubsystemGooglePlay::GetLeaderboardsInterface() const
            {
            	return LeaderboardsInterface;
            }
            
            
            IOnlineVoicePtr FOnlineSubsystemGooglePlay::GetVoiceInterface() const
            {
            	return nullptr;
            }
            
            
            IOnlineExternalUIPtr FOnlineSubsystemGooglePlay::GetExternalUIInterface() const
            {
            	return ExternalUIInterface;
            }
            
            
            IOnlineTimePtr FOnlineSubsystemGooglePlay::GetTimeInterface() const
            {
            	return nullptr;
            }
            
            IOnlinePartyPtr FOnlineSubsystemGooglePlay::GetPartyInterface() const
            {
            	return nullptr;
            }
            
            IOnlineTitleFilePtr FOnlineSubsystemGooglePlay::GetTitleFileInterface() const
            {
            	return nullptr;
            }
            
            IOnlineEntitlementsPtr FOnlineSubsystemGooglePlay::GetEntitlementsInterface() const
            {
            	return nullptr;
            }
            
            IOnlineAchievementsPtr FOnlineSubsystemGooglePlay::GetAchievementsInterface() const
            {
            	return AchievementsInterface;
            }


            Consider supporting me on patreon

            My Open source tools and plugins
            Advanced Sessions Plugin
            VR Expansion Plugin

            Comment


              #66
              Well, all I want is to have the ability to NAME THE SERVER. Nothing more. Pretty basic.

              Any hopes for that to work?

              Anyways, great work, keep it up, and thanks a lot mate. I'd even consider a small donation if that worked cause this would be a think I used a lot.

              Comment


                #67
                Originally posted by Z-enzyme View Post
                Well, all I want is to have the ability to NAME THE SERVER. Nothing more. Pretty basic.

                Any hopes for that to work?

                Anyways, great work, keep it up, and thanks a lot mate. I'd even consider a small donation if that worked cause this would be a think I used a lot.
                Well according to the file google play doesn't support sessions AT ALL, and you can't rename one if you can't host one....so you are out of luck as far as I am aware.


                Consider supporting me on patreon

                My Open source tools and plugins
                Advanced Sessions Plugin
                VR Expansion Plugin

                Comment


                  #68
                  Wait... Maybe I'm just dumb like a stone or something but, does that mean that Google doesn't support sessions at all? Like, neither the standard Unreal Engine built-in sessions?

                  Comment


                    #69
                    Originally posted by Z-enzyme View Post
                    Wait... Maybe I'm just dumb like a stone or something but, does that mean that Google doesn't support sessions at all? Like, neither the standard Unreal Engine built-in sessions?
                    They don't have anything at all for google play for sessions, so no I wouldn't think so unless you filled it in yourself. They might have plans for it at a later point?


                    Consider supporting me on patreon

                    My Open source tools and plugins
                    Advanced Sessions Plugin
                    VR Expansion Plugin

                    Comment


                      #70
                      Originally posted by Z-enzyme View Post
                      Wait... Maybe I'm just dumb like a stone or something but, does that mean that Google doesn't support sessions at all? Like, neither the standard Unreal Engine built-in sessions?
                      You may want to check if Google even has Sessions and Server Hosting. The build in Session System from UE4 wouldn't help you, because it would be limited to LAN Games or direct IP connection (if it even works).
                      Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

                      My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
                      (Including 100+ Pages Multiplayer Network Compendium to get you started.)

                      Comment


                        #71
                        Hey, Does this plugin work with the NULL subsystem?, because the Create Advanced Session always Fails to create a session when i use it.
                        I did exactly as you did in the example blueprint. I really dont want to rely on steam because i have to get greenlit to release my game.
                        "For me life is continuously being hungry. The meaning of life is not simply to exist, to survive, but to move ahead, to go up, to achieve, to conquer." Arnold Schwarzenegger
                        Unreal Engine Developers Denmark
                        My Blog/Website: http://CrazyToby.com

                        Comment


                          #72
                          Originally posted by tfrom222 View Post
                          Hey, Does this plugin work with the NULL subsystem?, because the Create Advanced Session always Fails to create a session when i use it.
                          I did exactly as you did in the example blueprint. I really dont want to rely on steam because i have to get greenlit to release my game.
                          Yeah it works fine with it, what is it doing? Just passing to failed?


                          *Edit*

                          Here this thread should solve your problem, it isn't because of the plugin, you have to set up the project correctly first:
                          https://answers.unrealengine.com/que...node-it-f.html
                          Last edited by mordentral; 08-03-2015, 03:29 PM.


                          Consider supporting me on patreon

                          My Open source tools and plugins
                          Advanced Sessions Plugin
                          VR Expansion Plugin

                          Comment


                            #73
                            Thanks, ill try to add the onlinesubsystemnull dependency in my build.cs

                            *EDIT*
                            Nope, it's still not working. The create advanced session is just passing to failed. I can succesfully use the build-in Create Session node. I have already added
                            Code:
                            [OnlineSubsystem]
                            DefaultPlatformService=Null
                            to my DefaultEngine.ini file

                            This is all my OSS modules in the build script.

                            Code:
                            PublicDependencyModuleNames.AddRange(newstring[]{
                            "OnlineSubsystem",
                            "OnlineSubsystemUtils",
                            "OnlineSubsystemNull"    
                                   });
                            
                            I have checked the logs and there is nothing else than my print string that is called when the Create Advanced Session node fails
                            Last edited by Nyhaalm; 08-03-2015, 04:57 PM.
                            "For me life is continuously being hungry. The meaning of life is not simply to exist, to survive, but to move ahead, to go up, to achieve, to conquer." Arnold Schwarzenegger
                            Unreal Engine Developers Denmark
                            My Blog/Website: http://CrazyToby.com

                            Comment


                              #74
                              Whoops, I was still checking for user ID in one section after I changed it to not require the user. It doesn't do anything bad unless the interface is null.

                              I'm recompiling everything and re-uploading, not sure why I didn't run into it before.

                              *Edit* Reuploaded
                              Last edited by mordentral; 08-03-2015, 08:02 PM.


                              Consider supporting me on patreon

                              My Open source tools and plugins
                              Advanced Sessions Plugin
                              VR Expansion Plugin

                              Comment


                                #75
                                Originally posted by mordentral View Post
                                Whoops, I was still checking for user ID in one section after I changed it to not require the user. It doesn't do anything unless the interface is null.

                                I'm recompiling everything and re-uploading.

                                Great!, Thank you so much for fixing it so fast

                                **Edit* I will test if it works for me when i get to my pc with the game project.

                                i have one more question.

                                How do i get the current running session's properties?
                                Do i have to save all the settings in variables when creating the session?
                                Last edited by Nyhaalm; 08-03-2015, 08:17 PM.
                                "For me life is continuously being hungry. The meaning of life is not simply to exist, to survive, but to move ahead, to go up, to achieve, to conquer." Arnold Schwarzenegger
                                Unreal Engine Developers Denmark
                                My Blog/Website: http://CrazyToby.com

                                Comment

                                Working...
                                X