Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

    I am using UE 4.15 and the Advanced find session node does not work when using STEAM. It works fine without STEAM. With STEAM, it returns 0 as the number of sessions found which were created using Create Advanced Session node. Has anybody encountered this issue?

    Comment


      It's vecause FindSession finds a few thousand of Sessions, by searching.

      That's cause in dev, you are using AppId 480 - which is the Game Spacewar.
      This Id is used by all devs working with steam, without a SDirect Service.

      Rise your Search Max results to a really high Number and/or you need to Filter out your Project by using Properties - like the servername f.e.

      Comment


        Hi !
        I'm having a nice conversation with plugin about the Event On Session Invite Accepted. Whenever I get the Unique Net ID and pass it to the UniqueNetId to String function, it gives me local user steam netid instead of the inviter. How can that happen ? I looked at the code but there some mess going around in that code with syntaxing.
        (4.16.1, with latest update of plugin)
        [MENTION=4285]mordentral[/MENTION] Thanks a lot for sharing this and helping us out

        Comment


          Originally posted by Akcanca View Post
          Hi !
          I'm having a nice conversation with plugin about the Event On Session Invite Accepted. Whenever I get the Unique Net ID and pass it to the UniqueNetId to String function, it gives me local user steam netid instead of the inviter. How can that happen ? I looked at the code but there some mess going around in that code with syntaxing.
          (4.16.1, with latest update of plugin)
          [MENTION=4285]mordentral[/MENTION] Thanks a lot for sharing this and helping us out
          mmmm, appears to be a naming issue, it should be "PersonInvited" not "PersonInviting". I'll fix that

          *Edit* Newest upload has it changed as does the repository.

          Sorry about that, I think the old reference wording was wrong in engine and I never went back and checked later on to see if it was different.
          Last edited by mordentral; 07-01-2017, 03:00 PM.


          Consider supporting me on patreon

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

          Comment


            The project is not packed. What is the problem?

            HTML Code:
            UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
            UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="C:/Users/Chaki Kos/Documents/Unreal Projects/MyProject7/MyProject7.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:/Users/Chaki Kos/Documents/Unreal Projects/MyProject7/MyProject7.uproject" -cook -stage -archive -arc
            hivedirectory="C:/Users/Chaki Kos/Documents/Unreal Projects/MyProject7/test" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -utf8output
            UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.uproject
            UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
            UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Games\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Win64 Development -Project="C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.uproject"  "C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.uproject" -NoUBTMakefiles  -remoteini="C
            :\Users\Chaki Kos\Documents\Unreal Projects\MyProject7" -noxge -generatemanifest -NoHotReload
            UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 0,8576101s to run UnrealBuildTool.exe, ExitCode=0
            UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Games\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Win64 Development -Project="C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.uproject"  "C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.uproject" -NoUBTMakefiles  -remoteini="C
            :\Users\Chaki Kos\Documents\Unreal Projects\MyProject7" -noxge -NoHotReload -ignorejunk
            UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: Windows SDK v8.1 must be installed in order to build this target.
            UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 2,6528794s to run UnrealBuildTool.exe, ExitCode=5
            UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Games\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Win64 Development -Project="C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.
            uproject"  "C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7\MyProject7.uproject" -NoUBTMakefiles  -remoteini="C:\Users\Chaki Kos\Documents\Unreal Projects\MyProject7" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.07.02-01.38.33.txt' 
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
            UATHelper: Packaging (Windows (64-bit)):    в 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)
            UATHelper: Packaging (Windows (64-bit)):    в 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, Diction
            ary`2 InTargetToManifest)
            UATHelper: Packaging (Windows (64-bit)):    в Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
            UATHelper: Packaging (Windows (64-bit)):    в BuildCookRun.DoBuildCookRun(ProjectParams Params)
            UATHelper: Packaging (Windows (64-bit)):    в BuildCookRun.ExecuteBuild()
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.BuildCommand.Execute()
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.Automation.Process(String[] Arguments)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.Program.MainProc(Object Param)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
            UATHelper: Packaging (Windows (64-bit)):    в AutomationTool.Program.Main()
            UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
            UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
            PackagingResults:Error: Error Unknown Error

            Comment


              Hello bro, good job.
              I'm using it since 4.10 and it's really wonderful.
              I Just updated your plugin for 4.16.2, i'm building from the source, and i got this error:

              U:\Unreal Projects\Impero\Source\AdvancedSteamSessions\Private\AdvancedSteamFriendsLibrary.cpp(22): fatal error C1083: Cannot open include file: 'OnlineSubsystemSteamTypes.h': No such file or directory
              It seems the path in AdvancedSteamSessions.Build.cs is somehow wrong
              PublicIncludePaths.AddRange(new string[] { "../Plugins/Online/OnlineSubsystemSteam/Source/Private" });// This is dumb but it isn't very open
              Any idea to fix it?

              Meanwhile i solved it with a

              Code:
              #include "../Plugins/Online/OnlineSubsystemSteam/Source/Private/OnlineSubsystemSteamTypes.h"
              Last edited by zamy; 07-03-2017, 02:20 PM.

              Comment


                Hello, how does the add or modify extra settings work? How can I change the extra settings when the server is already running and it actually updates the extra settings?

                Comment


                  Originally posted by Soul Reavers View Post
                  The project is not packed. What is the problem?
                  UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: Windows SDK v8.1 must be installed in order to build this target.

                  You didn't fully install visual studio 2017 for UE4, you are missing a core component.


                  Originally posted by zamy View Post
                  Hello bro, good job.
                  I'm using it since 4.10 and it's really wonderful.
                  I Just updated your plugin for 4.16.2, i'm building from the source, and i got this error:



                  It seems the path in AdvancedSteamSessions.Build.cs is somehow wrong


                  Any idea to fix it?

                  Meanwhile i solved it with a

                  Code:
                  #include "../Plugins/Online/OnlineSubsystemSteam/Source/Private/OnlineSubsystemSteamTypes.h"
                  Mmmmm, I run all of my builds from code (obviously) and the pre-packaged version uses that same path. Also the 4.13-4.15 versions had that same path as well and it is the correct one.

                  The only definition that effects whether it is built or not is

                  Code:
                  if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Linux) || (Target.Platform == UnrealTargetPlatform.Mac))
                  which is intended to not include steam files on mobile platforms, what platform were you building for?


                  Consider supporting me on patreon

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

                  Comment


                    i dont know if you have it fixed yet, but here's a wrong (copy pasted, happens a lot to me too) tooltip :P

                    Click image for larger version

Name:	unknown.png
Views:	1
Size:	31.4 KB
ID:	1130749

                    Comment


                      Originally posted by mordentral View Post
                      mmmm, appears to be a naming issue, it should be "PersonInvited" not "PersonInviting". I'll fix that

                      *Edit* Newest upload has it changed as does the repository.

                      Sorry about that, I think the old reference wording was wrong in engine and I never went back and checked later on to see if it was different.
                      From what I understand, this node does not return the person who invited us, instead it returns just who accepted the invite (which is obviously always us/me). I think that's wrong. If it's not supposed to be like that, it's still not fixed.

                      Comment


                        Originally posted by Akcanca View Post
                        From what I understand, this node does not return the person who invited us, instead it returns just who accepted the invite (which is obviously always us/me). I think that's wrong. If it's not supposed to be like that, it's still not fixed.
                        Its how it is implemented in the subsystem / steam, not much I can do about that.


                        Consider supporting me on patreon

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

                        Comment


                          Originally posted by mordentral View Post
                          Its how it is implemented in the subsystem / steam, not much I can do about that.
                          [MENTION=4285]mordentral[/MENTION]
                          Interesting implementation then. By the way do you have any ideas about how can I retrieve the player list in a session ?
                          Or just the person who invited me ?
                          Last edited by Akcanca; 07-07-2017, 04:50 PM.

                          Comment


                            Originally posted by Akcanca View Post
                            [MENTION=4285]mordentral[/MENTION]
                            Interesting implementation then. By the way do you have any ideas about how can I retrieve the player list in a session ?
                            Or just the person who invited me ?
                            That is "supposed" to be handled by:

                            Code:
                            // Removed because it never gets called by the online subsystems
                            /*void UAdvancedFriendsGameInstance::OnSessionInviteReceivedMaster(const FUniqueNetId &InvitedPlayer, const FUniqueNetId &FriendInviting, const FOnlineSessionSearchResult& Session)
                            {
                            However the problem is that while it exists in the base subsystem, it is not implemented in the any actual subsystem. I could implement it myself but would have to add another override game instance in the steam module that inherits from the advanced friends game instance. Was really hoping that gap would be filled in engine eventually.
                            Last edited by mordentral; 07-07-2017, 08:10 PM.


                            Consider supporting me on patreon

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

                            Comment


                              Originally posted by mordentral View Post
                              That is "supposed" to be handled by:

                              Code:
                              // Removed because it never gets called by the online subsystems
                              /*void UAdvancedFriendsGameInstance::OnSessionInviteReceivedMaster(const FUniqueNetId &InvitedPlayer, const FUniqueNetId &FriendInviting, const FOnlineSessionSearchResult& Session)
                              {
                              However the problem is that while it exists in the base subsystem, it is not implemented in the any actual subsystem. I could implement it myself but would have to add another override game instance in the steam module that inherits from the advanced friends game instance. Was really hoping that gap would be filled in engine eventually.
                              If you can do that, you would be filling that gap as big as death star. I don't even know why nobody even complains about that I'm trying to do it myself too but having no documentation makes it so slow...

                              Comment


                                [MENTION=4285]mordentral[/MENTION] I just upgraded the Steam SDK v139 to v140 on binary release 4.16 and whenever I try to get auth token via Get Player Auth Token node, It returns DummyAuthToken. What's up with that ?
                                Thanks

                                EDIT : Fixed with 4.16.2 update
                                EDIT 2 : Problem still occurs with packaged (development) build. It only seems to work on Standalone Game Play mode.
                                Last edited by Akcanca; 07-08-2017, 11:52 AM.

                                Comment

                                Working...
                                X