Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

    I'm all out of ideas, sometimes it works and sometimes it does not. The level inconsistency is so high I'm about to lose my mind. We've tried using VPN, we've spent some hours making sure everyone's router settings are set up properly(ports 27000-27050 and 7777,7778). We've tried DMZ mode on all ends. Nothing.

    I've compared logs over and over, no errors, just warnings from unrelated games such as Stellaris and Hearts of Iron 4. It might be the region lock, it may not. I've tried it with 2 people with varying results, one from Norway and one from the UK(I live in Sweden). I really can't put my finger on what it may be, but my assumption is Steam's test app ID just an utter mess.

    If you ever get the time, would you mind taking a look at my project? It's not too big at the moment as we haven't started adding assets yet - it's ~99.5MB when compressed in a .rar archive. I'd greatly appreciate it.
    Why do all programmers wear glasses? Because they can't C#

    Comment


      Originally posted by Dealman View Post
      I'm all out of ideas, sometimes it works and sometimes it does not. The level inconsistency is so high I'm about to lose my mind. We've tried using VPN, we've spent some hours making sure everyone's router settings are set up properly(ports 27000-27050 and 7777,7778). We've tried DMZ mode on all ends. Nothing.

      I've compared logs over and over, no errors, just warnings from unrelated games such as Stellaris and Hearts of Iron 4. It might be the region lock, it may not. I've tried it with 2 people with varying results, one from Norway and one from the UK(I live in Sweden). I really can't put my finger on what it may be, but my assumption is Steam's test app ID just an utter mess.

      If you ever get the time, would you mind taking a look at my project? It's not too big at the moment as we haven't started adding assets yet - it's ~99.5MB when compressed in a .rar archive. I'd greatly appreciate it.
      You can PM a link to me, i can maybe look it over tonight. I know of one project that released out of greenlight with the plugin and didn't seem to have session issues.


      Consider supporting me on patreon

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

      Comment


        Rebuilt the plugin to 4.12.3 and re-uploaded it.


        Consider supporting me on patreon

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

        Comment


          Hello, once again thank you for your work. This plugin is still amazing, but right now I'm stuck and I have no idea what the problem could be. I send an invite to my friend. He gets the steam invitation on Steam but in my game instance the two event does not get called. Neither of them prints anything :S. Any idea what could cause it?

          Click image for larger version

Name:	000218.png
Views:	1
Size:	198.9 KB
ID:	1108456
          My Assets
          https://www.unrealengine.com/marketplace/profile/Gabeee

          Consider supporting me on Patreon or Paypal

          Comment


            Gabeee, you've got your answer just a few replies above you. Unfortunately it would seem Epic hasn't implemented it yet.
            Why do all programmers wear glasses? Because they can't C#

            Comment


              Originally posted by Dealman View Post
              Gabeee, you've got your answer just a few replies above you. Unfortunately it would seem Epic hasn't implemented it yet.
              Not true, the On Session Invite Accepted event should work I believe, it is the on received one that will not work. Accepted has to work because that is how you implement joining the game off of the friends list invite.


              Consider supporting me on patreon

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

              Comment


                Hi Mordentral! In my PC my project with the pluggin work exelent, but when I export to Android (ALL) in Log file I get this errors and then Package Failed...

                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:39: error: undefined reference to 'SteamAPI_Init'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:43: error: undefined reference to 'SteamFriends'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:59: error: undefined reference to 'SteamAPI_Init'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:63: error: undefined reference to 'SteamFriends'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:80: error: undefined reference to 'SteamAPI_Init'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:92: error: undefined reference to 'SteamFriends'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:93: error: undefined reference to 'SteamFriends'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:100: error: undefined reference to 'SteamUtils'
                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:111: error: undefined reference to 'SteamUtils'

                I have the last version 12.3.
                Thank for this exelent pluggin!!!

                Comment


                  Originally posted by mordentral View Post
                  Not true, the On Session Invite Accepted event should work I believe, it is the on received one that will not work. Accepted has to work because that is how you implement joining the game off of the friends list invite.
                  Just to make it sure. You accept it on Steam, and the event gets called right?
                  My Assets
                  https://www.unrealengine.com/marketplace/profile/Gabeee

                  Consider supporting me on Patreon or Paypal

                  Comment


                    Originally posted by Gabeee View Post
                    Just to make it sure. You accept it on Steam, and the event gets called right?
                    Yes, and it is working for others ATM and is implemented in the subsystem. The other event sadly is not implemented yet.


                    Consider supporting me on patreon

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

                    Comment


                      Originally posted by LCDLV View Post
                      Hi Mordentral! In my PC my project with the pluggin work exelent, but when I export to Android (ALL) in Log file I get this errors and then Package Failed...

                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:39: error: undefined reference to 'SteamAPI_Init'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:43: error: undefined reference to 'SteamFriends'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:59: error: undefined reference to 'SteamAPI_Init'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:63: error: undefined reference to 'SteamFriends'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:80: error: undefined reference to 'SteamAPI_Init'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:92: error: undefined reference to 'SteamFriends'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:93: error: undefined reference to 'SteamFriends'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:100: error: undefined reference to 'SteamUtils'
                      MainFrameActions: Packaging (Android (All)): UnrealBuildTool: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Source\AdvancedSessions\Private/AdvancedFriendsLibrary.cpp:111: error: undefined reference to 'SteamUtils'

                      I have the last version 12.3.
                      Thank for this exelent pluggin!!!
                      mmm, android doesn't support steam as a subsystem. Since I have steam specific functions in it you are getting errors packaging for android. I can wrap the steam specific functions up in a platform check and it should be fine. I'll release a new version in a little bit that you can try out.


                      Consider supporting me on patreon

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

                      Comment


                        Originally posted by mordentral View Post
                        mmm, android doesn't support steam as a subsystem. Since I have steam specific functions in it you are getting errors packaging for android. I can wrap the steam specific functions up in a platform check and it should be fine. I'll release a new version in a little bit that you can try out.
                        Thannnkkk! When you make a new realease I try this again. So many thanks!

                        Comment


                          Originally posted by LCDLV View Post
                          Thannnkkk! When you make a new realease I try this again. So many thanks!
                          It has been updated, it now skips all of the steam specific code when compiling for platforms other than linux/mac/windows. Let me know if that works for you.


                          Consider supporting me on patreon

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

                          Comment


                            Originally posted by mordentral View Post
                            Yes, and it is working for others ATM and is implemented in the subsystem. The other event sadly is not implemented yet.
                            Alright, I guess I'm going to find the reason it doesn't want to work for me. Maybe something is wrong with my session.
                            My Assets
                            https://www.unrealengine.com/marketplace/profile/Gabeee

                            Consider supporting me on Patreon or Paypal

                            Comment


                              Originally posted by mordentral View Post
                              It has been updated, it now skips all of the steam specific code when compiling for platforms other than linux/mac/windows. Let me know if that works for you.
                              I delete the folder in Pluggin folder, next copy the new one.

                              Now I have another different error:

                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Reflection code generated for SuperSlughfest in 14,8313241 seconds
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Performing 4 actions (2 in parallel)
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: [2/4] clang++.exe AdvancedSessions.generated.cpp [armv7-es2]
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: [1/4] clang++.exe Module.AdvancedSessions.cpp [armv7-es2]
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no such file or directory: '@C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Intermediate\Build\Android\UE4\Development\AdvancedSessions\Module.AdvancedSessions.cpp-armv7-es2.o.response'
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no input files
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no such file or directory: '@C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Intermediate\Build\Android\UE4\Development\AdvancedSessions\AdvancedSessions.generated.cpp-armv7-es2.o.response'
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no input files
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Binaries\Android\UE4-AdvancedSessions-armv7-es2.a
                              MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Total build time: 20,58 seconds
                              MainFrameActions: Packaging (Android (All)): CommandUtils.Run: Run: Took 20,7893605s to run UnrealBuildTool.exe, ExitCode=5
                              MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe SuperSlughfest Android Development -Project=C:\Users\K
                              MainFrameActions: Packaging (Android (All)): oki\Documents\GitHub\UE4\SuperSlughfest.uproject C:\Users\Koki\Documents\GitHub\UE4\SuperSlughfest.uproject -remoteini="C:\Users\Koki\Documents\GitHub\UE4" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.06.17-12.49.34.txt'
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars
                              )
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Di
                              ctionary`2 InTargetToManifest)
                              MainFrameActions: Packaging (Android (All)): en Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
                              MainFrameActions: Packaging (Android (All)): en BuildCookRun.DoBuildCookRun(ProjectParams Params)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.BuildCommand.Execute()
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.Automation.Process(String[] CommandLine)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.Program.MainProc(Object Param)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
                              MainFrameActions: Packaging (Android (All)): en AutomationTool.Program.Main()
                              MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
                              MainFrameActions: Packaging (Android (All)): Domain_ProcessExit
                              MainFrameActions: Packaging (Android (All)): copying UAT log files...
                              MainFrameActions: Packaging (Android (All)): BUILD FAILED
                              PackagingResults:Error: Error Unknown Error

                              Thank for the quick reply and the amazing job!

                              UPDATE: I delete some folders (SAVED, INTERMEDIATED and BINARI) and maybe I solve this last problem...
                              Last edited by LCDLV; 06-17-2016, 12:37 PM.

                              Comment


                                Solved!

                                Originally posted by LCDLV View Post
                                I delete the folder in Pluggin folder, next copy the new one.

                                Now I have another different error:

                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Reflection code generated for SuperSlughfest in 14,8313241 seconds
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Performing 4 actions (2 in parallel)
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: [2/4] clang++.exe AdvancedSessions.generated.cpp [armv7-es2]
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: [1/4] clang++.exe Module.AdvancedSessions.cpp [armv7-es2]
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no such file or directory: '@C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Intermediate\Build\Android\UE4\Development\AdvancedSessions\Module.AdvancedSessions.cpp-armv7-es2.o.response'
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no input files
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no such file or directory: '@C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Intermediate\Build\Android\UE4\Development\AdvancedSessions\AdvancedSessions.generated.cpp-armv7-es2.o.response'
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: clang++.exe: error: no input files
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Koki\Documents\GitHub\UE4\Plugins\AdvancedSessions\Binaries\Android\UE4-AdvancedSessions-armv7-es2.a
                                MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Total build time: 20,58 seconds
                                MainFrameActions: Packaging (Android (All)): CommandUtils.Run: Run: Took 20,7893605s to run UnrealBuildTool.exe, ExitCode=5
                                MainFrameActions: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe SuperSlughfest Android Development -Project=C:\Users\K
                                MainFrameActions: Packaging (Android (All)): oki\Documents\GitHub\UE4\SuperSlughfest.uproject C:\Users\Koki\Documents\GitHub\UE4\SuperSlughfest.uproject -remoteini="C:\Users\Koki\Documents\GitHub\UE4" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.06.17-12.49.34.txt'
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars
                                )
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Di
                                ctionary`2 InTargetToManifest)
                                MainFrameActions: Packaging (Android (All)): en Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
                                MainFrameActions: Packaging (Android (All)): en BuildCookRun.DoBuildCookRun(ProjectParams Params)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.BuildCommand.Execute()
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.Automation.Process(String[] CommandLine)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.Program.MainProc(Object Param)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
                                MainFrameActions: Packaging (Android (All)): en AutomationTool.Program.Main()
                                MainFrameActions: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
                                MainFrameActions: Packaging (Android (All)): Domain_ProcessExit
                                MainFrameActions: Packaging (Android (All)): copying UAT log files...
                                MainFrameActions: Packaging (Android (All)): BUILD FAILED
                                PackagingResults:Error: Error Unknown Error

                                Thank for the quick reply and the amazing job!

                                UPDATE: I delete some folders (SAVED, INTERMEDIATED and BINARI) and maybe I solve this last problem...
                                I Delete the folders BUILD, INTERMEDIATE and SAVED and its work again.

                                I think the update is very necesary, and a little trick of delete this folders too.
                                Thanks again!

                                Comment

                                Working...
                                X