Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

    Uploaded the GetFriend Node Fix for presence


    Consider supporting me on patreon

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

    Comment


      Originally posted by mordentral View Post
      Uploaded the GetFriend Node Fix for presence
      That was way fast. Thanks, I will just check if they are playing and are joinable before getting their session information. I will take a look at it when I get off work.

      Metahusk: A 501(c)(3) Creative Development Cooperative
      Projects | Forums | Repositories | Nonprofit | Donate

      Comment


        Originally posted by mordentral View Post
        Uploaded the GetFriend Node Fix for presence
        The crash problem strangely didn't manifest again with engine version 4.12 and your current build from 06-21-2016. I was on 4.11 previously. I wonder if some things were fixed by Epic between those releases.

        I had trouble getting "bIsJoinable" to report correctly? Maybe I was implementing it wrong. "bIsPlayingSameGame" did work though. I used a different solution to overcome friends showing in the server browser when sitting in the main menu. I used a check to see if UniqueBuildID != 0 to filter out the "menu player" results. Maybe not the best solution but it seems to work for now.

        I will attach screenshots of my bp nodes below.

        Thanks!

        Metahusk: A 501(c)(3) Creative Development Cooperative
        Projects | Forums | Repositories | Nonprofit | Donate

        Comment


          Here are screenshots from my progress so far.

          Friends browser
          Click image for larger version

Name:	friends-list.PNG
Views:	1
Size:	900.3 KB
ID:	1108822

          Server browser
          Click image for larger version

Name:	server-browser.PNG
Views:	1
Size:	987.7 KB
ID:	1108823

          Fetch list of friends
          Click image for larger version

Name:	construct-fetch-friends2.PNG
Views:	1
Size:	150.1 KB
ID:	1108844

          Fetch friend's avatars
          Click image for larger version

Name:	fetch-avatars.PNG
Views:	1
Size:	167.9 KB
ID:	1108824

          Fetch friend's sessions
          Click image for larger version

Name:	fetch-friends-sessions.PNG
Views:	1
Size:	190.6 KB
ID:	1108825

          Crude loop counter for controlling the session fetching (better method anyone?)
          Click image for larger version

Name:	fetch-friends-session-loop-count.PNG
Views:	1
Size:	121.5 KB
ID:	1108826

          Clears list and refreshes everything
          Click image for larger version

Name:	clear-refresh-friends-list.PNG
Views:	1
Size:	121.2 KB
ID:	1108828

          Builds the list of friends that are in sessions.
          Click image for larger version

Name:	build-session-list-objects.PNG
Views:	1
Size:	234.7 KB
ID:	1108827
          Last edited by Parvan; 06-22-2016, 05:39 AM.

          Metahusk: A 501(c)(3) Creative Development Cooperative
          Projects | Forums | Repositories | Nonprofit | Donate

          Comment


            Originally posted by Parvan View Post
            The crash problem strangely didn't manifest again with engine version 4.12 and your current build from 06-21-2016. I was on 4.11 previously. I wonder if some things were fixed by Epic between those releases.

            I had trouble getting "bIsJoinable" to report correctly? Maybe I was implementing it wrong. "bIsPlayingSameGame" did work though. I used a different solution to overcome friends showing in the server browser when sitting in the main menu. I used a check to see if UniqueBuildID != 0 to filter out the "menu player" results. Maybe not the best solution but it seems to work for now.

            I will attach screenshots of my bp nodes below.

            Thanks!
            Mmmmm, it returns an empty session result on failure to retrieve currently, i'm adding a IsValidSession() node to check if a session is valid or not and also will change that to return FAILED if there was no valid session instead of returning an empty session. So the GetFriendSession with throw "OnFailure" now if the returned session is empty instead of returning "OnSuccess" and having an empty session attached.

            It was originally just returning the result of the SteamCall.

            *Edit* Uploaded with the more correct results from GetFriendSession and the IsValidSession Node.
            Last edited by mordentral; 06-22-2016, 12:50 PM.


            Consider supporting me on patreon

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

            Comment


              Is this error in the log related to the plugin?
              LogVoiceEncode:Error: StopLocalVoiceProcessing: Ignoring stop request for non-owning user
              I used the AdvandcedFriendsGameInstance as a parent, but have not setup anything voice related yet.

              Also why does the ping return 9999, is this intended when the session is on a LAN?

              Thanks for the awesome Plugin

              Comment


                Originally posted by Sarlack View Post
                Is this error in the log related to the plugin?
                LogVoiceEncode:Error: StopLocalVoiceProcessing: Ignoring stop request for non-owning user
                I used the AdvandcedFriendsGameInstance as a parent, but have not setup anything voice related yet.

                Also why does the ping return 9999, is this intended when the session is on a LAN?

                Thanks for the awesome Plugin
                No its not, and 9999 is an engine bug that is slated to be fixed soon hopefully.


                Consider supporting me on patreon

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

                Comment


                  Hi mordentral,
                  I have a some problems with your plugin.
                  1. The game can't find any sessions. Find Sessions Advanced is always returns an empty array, and I don't know why, because my friend is created a game session.
                  2. My friend invited me, but I also can't connect to the game and this is what my Log file says:
                  [2016.06.29-11.29.45:617][561]LogOnline:Warning: Async task 'FOnlineAsyncTaskSteamJoinLobby bWasSuccessful: 0 Session: Game LobbyId: Lobby [0x186000089DCC514] Result: '3' k_EChatRoomEnterResponseNotAllowed (General Denied - You don't have the permissions needed to join the chat)' failed in 0.391433 seconds

                  P.S. Also I have a messages like this:
                  Code:
                  [2016.06.29-11.29.12:915][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000017 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000017 value 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000003c 14
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000003c value 14
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000003d 262144
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000003d value 262144
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000050 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000050 value 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000052 1000
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000052 value 1000
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000088 124
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000088 value 124
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000089 2
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000089 value 2
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008a -2
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008a value -2
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008b -883284736
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008b value -883284736
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008c 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008c value 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008d 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008d value 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 100000aa 2
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 100000aa value 2
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 2000003b 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 2000003b value 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000083 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000083 value 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000084 0
                  [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000084 value 0
                  [2016.06.29-11.29.12:917][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000085 0
                  [2016.06.29-11.29.12:917][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000085 value 0
                  [2016.06.29-11.29.12:917][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000086 0
                  [2016.06.29-11.29.12:917][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000086 value 0
                  Last edited by xlMaSTeRlx; 06-29-2016, 08:48 AM.

                  Comment


                    Originally posted by xlMaSTeRlx View Post
                    Hi mordentral,
                    I have a some problems with your plugin.
                    1. The game can't find any sessions. Find Sessions Advanced is always returns an empty array, and I don't know why, because my friend is created a game session.
                    2. My friend invited me, but I also can't connect to the game and this is what my Log file says:
                    [2016.06.29-11.29.45:617][561]LogOnline:Warning: Async task 'FOnlineAsyncTaskSteamJoinLobby bWasSuccessful: 0 Session: Game LobbyId: Lobby [0x186000089DCC514] Result: '3' k_EChatRoomEnterResponseNotAllowed (General Denied - You don't have the permissions needed to join the chat)' failed in 0.391433 seconds

                    P.S. Also I have a messages like this:
                    Code:
                    [2016.06.29-11.29.12:915][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000017 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000017 value 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000003c 14
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000003c value 14
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000003d 262144
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000003d value 262144
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000050 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000050 value 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000052 1000
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000052 value 1000
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000088 124
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000088 value 124
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 10000089 2
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 10000089 value 2
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008a -2
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008a value -2
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008b -883284736
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008b value -883284736
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008c 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008c value 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 1000008d 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 1000008d value 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 100000aa 2
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 100000aa value 2
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 2000003b 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 2000003b value 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000083 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000083 value 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000084 0
                    [2016.06.29-11.29.12:916][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000084 value 0
                    [2016.06.29-11.29.12:917][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000085 0
                    [2016.06.29-11.29.12:917][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000085 value 0
                    [2016.06.29-11.29.12:917][480]LogOnline:Warning: Unknown or unsupported data type from Steam key data 20000086 0
                    [2016.06.29-11.29.12:917][480]LogOnline:Warning: STEAM: Failed to parse setting from key 20000086 value 0
                    What version of the engine are you using? Can you post a screenshot of your blueprint?

                    Edit: I'm pretty sure friend invites are broken for now until it's fixed in a future engine release. I got friend search and join to work.
                    Last edited by Parvan; 06-30-2016, 12:30 PM.

                    Metahusk: A 501(c)(3) Creative Development Cooperative
                    Projects | Forums | Repositories | Nonprofit | Donate

                    Comment


                      Those warnings are because of using the generic APP ID for Steam, it is filtering out other peoples games from the returned list for you and notifying you about it. I can't help with your finding problems without seeing your blueprints.


                      Consider supporting me on patreon

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

                      Comment


                        The engine version is 4.12.3 (I had the same problem with the 4.10.4 and just converted my project) And of course I can show you my blueprints.
                        Creating the game session:
                        Click image for larger version

Name:	bp1.jpg
Views:	1
Size:	82.6 KB
ID:	1111333
                        Searching for game sessions (resulting array length is always zero):
                        Click image for larger version

Name:	bp2.jpg
Views:	1
Size:	95.0 KB
ID:	1111334
                        And here's inviting friend to the game:
                        Click image for larger version

Name:	bp3.jpg
Views:	1
Size:	64.1 KB
ID:	1111335

                        I hope this will help you.

                        Comment


                          Where is your friend located? App ID 480 is region locked so if he is across country bounds it may be blocking you two from seeing each other.

                          I say this because generally your implementation looks correct and that exact same issue has come up a million times here.


                          Consider supporting me on patreon

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

                          Comment


                            Worth noting that the region lock may be to EU, instead a country-to-country basis as I've been able to play with someone living in Britain as well as Norway. However, I have never been able to play with someone from the US. I wish Valve would make some more detailed information available as it's causing quite a lot of confusion and frustration.

                            Comment


                              My friend is located in Russia just like me. And now I've changed the AppID of my game to the AppID of one of my old projects. Will test now.

                              Comment


                                It didn't work.
                                Code:
                                [2016.07.01-15.48.29:334][ 13]LogOnline:Warning: Async task 'FOnlineAsyncTaskSteamJoinLobby bWasSuccessful: 0 Session: Game LobbyId: Lobby [0x18600008B140A35] Result: '3' k_EChatRoomEnterResponseNotAllowed (General Denied - You don't have the permissions needed to join the chat)' failed in 0.369664 seconds
                                And I can't find my friend's game session.

                                [UPDATE]
                                Okay, now it's working. Problem has been solved in a very strange way: I've just created a new empty project and moved all my work into that project.
                                Last edited by xlMaSTeRlx; 07-03-2016, 05:43 AM.

                                Comment

                                Working...
                                X