Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

    i try "get session state" "is player in session" "get session settings"
    it work on steam but not work on lan (Online Subsystem Null)

    is this right or it need to setup something to make this work on lan?
    Last edited by Zero Xion; 08-22-2018, 11:32 AM.

    Comment


      Hello,
      I played around with the plugin and followed a few different tutorials to build the engine from source and get a session up and running.
      https://wiki.unrealengine.com/Dedica...er_Guide_Steam

      Current state is:
      • I am able to package the project with a dedicated server.exe,
      • I can start it either with steam running or with all the different steam api dlls in the folder, without any errors (looks like it tries to find the api dlls and falls back on a running steam instance if it can't find them),
      • I can NOT find it locally if I have steam running or the dlls beside the server.exe, even if searching for local matches,
      • I can find a match if steam isn't running (doesn't matter if searching lan or online, it always finds it),
      • I can find it Locally over steam > view > server, with steam running,
      • but I can't find it in the Internet tab despite adding port forwarding in the modem and adding firewall exceptions for 7777 (Unreal) and 27015 (Steam Master Server).
      Questions:
      • Why does it not matter if searching LAN OR Internet with steam disabled?
      • Why can't I find my server with Steam enabled on the Internet tab? (I know that the port forwarding should work because I hosted a Minecraft Server and that worked fine)
      Pastebin of the relevant parts of the DefaultEngine.ini
      https://pastebin.com/FbLSgnsN

      [GameName].Build.cs
      https://pastebin.com/4U1UVXfC

      [GameName].h
      https://pastebin.com/DbXreLK5

      [GameName]Server.Target.cs
      https://pastebin.com/EgRTLfWH

      UE4/Plugins/Online/OnlineSubsystemSteam/Source/Private/OnlineSessionsAsyncServerSteam.cpp
      Only relevant changes
      https://pastebin.com/BVAkuLWY

      I am at the end of my wits here so any help is appreciated!

      Comment


        Originally posted by Unavi View Post
        Hello,
        I played around with the plugin and followed a few different tutorials to build the engine from source and get a session up and running.
        https://wiki.unrealengine.com/Dedica...er_Guide_Steam

        Current state is:
        • I am able to package the project with a dedicated server.exe,
        • I can start it either with steam running or with all the different steam api dlls in the folder, without any errors (looks like it tries to find the api dlls and falls back on a running steam instance if it can't find them),
        • I can NOT find it locally if I have steam running or the dlls beside the server.exe, even if searching for local matches,
        • I can find a match if steam isn't running (doesn't matter if searching lan or online, it always finds it),
        • I can find it Locally over steam > view > server, with steam running,
        • but I can't find it in the Internet tab despite adding port forwarding in the modem and adding firewall exceptions for 7777 (Unreal) and 27015 (Steam Master Server).
        Questions:
        • Why does it not matter if searching LAN OR Internet with steam disabled?
        • Why can't I find my server with Steam enabled on the Internet tab? (I know that the port forwarding should work because I hosted a Minecraft Server and that worked fine)
        Pastebin of the relevant parts of the DefaultEngine.ini
        https://pastebin.com/FbLSgnsN

        [GameName].Build.cs
        https://pastebin.com/4U1UVXfC

        [GameName].h
        https://pastebin.com/DbXreLK5

        [GameName]Server.Target.cs
        https://pastebin.com/EgRTLfWH

        UE4/Plugins/Online/OnlineSubsystemSteam/Source/Private/OnlineSessionsAsyncServerSteam.cpp
        Only relevant changes
        https://pastebin.com/BVAkuLWY

        I am at the end of my wits here so any help is appreciated!
        Okay, what are you trying to do, keep in mind that many of the newer versions of the engine have incorporated fixes that used to require this plugin. Think about an alternative solution to this plugin.

        Comment


          Originally posted by DLROKen View Post

          Okay, what are you trying to do, keep in mind that many of the newer versions of the engine have incorporated fixes that used to require this plugin. Think about an alternative solution to this plugin.
          I want to host a dedicated server which should be visibel in the Internet tab of Steam.
          What did they add in the newer versions? The basic create and find session nodes in BP (UE 4.20) only show Use Lan, how many Public Connections are allowed and how many results should be shown. Looks like I still require the plugin.
          What would be the alternative?

          Comment


            Starting with 4.20 I'm seeing this error when packaging, anyone has a clue?

            Code:
            ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\AdvancedSessions\AdvancedSessions\Intermediate\Build\Win64\UE4\Shipping\AdvancedSessions\AdvancedSessions.precompiled

            Comment


              Originally posted by ostinelli View Post
              Starting with 4.20 I'm seeing this error when packaging, anyone has a clue?

              Code:
              ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\AdvancedSessions\AdvancedSessions\Intermediate\Build\Win64\UE4\Shipping\AdvancedSessions\AdvancedSessions.precompiled
              You need to put the plugin in the project directory unless I start compiling the pre-compiled binaries out of IDE, 4.20 added a new file that is only generated with rocket builds.


              Consider supporting me on patreon

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

              Comment


                Thank you, that worked!

                Comment


                  Except that now I'm having the following:

                  Code:
                  LogOnline: Display: STEAM: Loading Steam SDK 1.39
                  LogOnline: Warning: STEAM: Steam API disabled!
                  LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
                  LogOnline: OSS: Unable to create OnlineSubsystem module Steam
                  LogOnline: Verbose: OSS: Created thread (ID:11436).
                  Any ideas? This used to work on 4.19.

                  Comment


                    Originally posted by DLROKen View Post

                    Okay, what are you trying to do, keep in mind that many of the newer versions of the engine have incorporated fixes that used to require this plugin. Think about an alternative solution to this plugin.
                    That isn't really true....I wish it was.

                    The authentication addition that they added in 4.20 for dedicated servers isn't relevant, I never provided a solution for that.


                    Consider supporting me on patreon

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

                    Comment


                      Originally posted by ostinelli View Post
                      Except that now I'm having the following:

                      Code:
                      LogOnline: Display: STEAM: Loading Steam SDK 1.39
                      LogOnline: Warning: STEAM: Steam API disabled!
                      LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
                      LogOnline: OSS: Unable to create OnlineSubsystem module Steam
                      LogOnline: Verbose: OSS: Created thread (ID:11436).
                      Any ideas? This used to work on 4.19.
                      Really I do not understand. I freshly reinstall 4.20.2, run in standalone, I can see Steam. I package it, and I get:

                      Code:
                      UATHelper: Packaging (Windows (64-bit)):   LogStreaming: Display: Took  0.088s to configure plugins.
                      UATHelper: Packaging (Windows (64-bit)):   LogOnline: Display: STEAM: Loading Steam SDK 1.39
                      UATHelper: Packaging (Windows (64-bit)):   LogOnline: Warning: STEAM: Steam API disabled!
                      UATHelper: Packaging (Windows (64-bit)):   LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
                      PackagingResults: Warning: STEAM: Steam API disabled!
                      From then on, I can't access Steam anymore unless I reinstall 7GB of stuff. I did not experience this with 4.19, and the only difference is the fact that I put the AdvancedSessions plugin into the project's directory (see above why).

                      Anyone has seen this?

                      Comment


                        Originally posted by ostinelli View Post

                        Really I do not understand. I freshly reinstall 4.20.2, run in standalone, I can see Steam. I package it, and I get:

                        Code:
                        UATHelper: Packaging (Windows (64-bit)): LogStreaming: Display: Took 0.088s to configure plugins.
                        UATHelper: Packaging (Windows (64-bit)): LogOnline: Display: STEAM: Loading Steam SDK 1.39
                        UATHelper: Packaging (Windows (64-bit)): LogOnline: Warning: STEAM: Steam API disabled!
                        UATHelper: Packaging (Windows (64-bit)): LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
                        PackagingResults: Warning: STEAM: Steam API disabled!
                        From then on, I can't access Steam anymore unless I reinstall 7GB of stuff. I did not experience this with 4.19, and the only difference is the fact that I put the AdvancedSessions plugin into the project's directory (see above why).

                        Anyone has seen this?
                        Moving the plugin has no effect on the OnlineSubsystemSteam, are you packaging to Shipping? Because from shipping you need to include the App_ID.txt file or the steam subsystem will fail out. In development packaging it will run without that file.


                        Consider supporting me on patreon

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

                        Comment


                          Originally posted by mordentral View Post
                          Moving the plugin has no effect on the OnlineSubsystemSteam, are you packaging to Shipping? Because from shipping you need to include the App_ID.txt file or the steam subsystem will fail out. In development packaging it will run without that file.
                          You're certainly right. I added this detail because this is the only difference, and I thought that maybe it had an effect because now my project started having the Build.cs file. Documentation is inconsistent about whether we should include the Steam module in it or not (docs say yes, comments in the file say no). Also, yes, I do have the steam_appid.txt file in the shipping version.

                          Anyway thanks for confirming that this has nothing to do with the plugin per se, and you for sharing your work Morden Tral!
                          r.

                          Comment


                            Hi, i am trying to use the "Get Session Settings" node, but it always fails. Any idea how is the correct way to using it or where to call it properly? Ty
                            Discord: https://discordapp.com/invite/WmQ3pDR
                            Youtube: https://www.youtube.com/channel/UCkQVJmcV-szXTIySHz4CILw?
                            Twitch: https://www.twitch.tv/alfffffffffff

                            Comment


                              EventOnSessionInviteRecived does not execute for me, is it cuss plugin is 4.20.1 and i'am on 4.20.2? mordentral
                              My website: https://www.pijellypin.com
                              Multiplayer Components: https://www.unrealengine.com/marketp...yer-components

                              Comment


                                Originally posted by PiJellyPin View Post
                                EventOnSessionInviteRecived does not execute for me, is it cuss plugin is 4.20.1 and i'am on 4.20.2? mordentral
                                No, its because it not implemented in the Steam Subsystem, I expose it because Epic has it in their interface so it can be used even if it isn't currently implemented (third party subsystems for example can implement it, currently there aren't any built in ones that do).


                                Consider supporting me on patreon

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

                                Comment

                                Working...
                                X