Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

    Hey! We actually encounter a problem with this plugin.

    We are trying to do a serverlist hosted by players.
    Actually we want to show only the servers who are not full.

    So we have a create session node with these settings: Public/Private Connections: 2.

    If in the join session node i set "min available slot" = 1. The server is not found (but there are only the server on the session, so it have actually one available slot no?)
    If i set "min slot availables" = 0. The server is found.

    Any idea how to do this?
    We are using SteamSubsystem in shipping Build.

    Another question:

    We want to show the servers that are not actually "in game"
    To do that, when creating a session we add an extra setting (bool) called: "In game".
    To test, we set the value to TRUE.
    On the join session node, we make a search property setting and "make property by bool" with the same name "In Game" but if the value is true or false, the server is always found.
    Any idea?

    Thanks for your answer, that's a wonderful plugin!!

    Here is a screenshot of the two nodes:

    Click image for larger version

Name:	bugsession.PNG
Views:	425
Size:	349.2 KB
ID:	1729694
    Last edited by Osmose_ben; 03-06-2020, 09:04 AM.

    Comment


      Originally posted by Infinity9115 View Post
      Hey! We actually encounter a problem with this plugin.

      We are trying to do a serverlist hosted by players.
      Actually we want to show only the servers who are not full.

      So we have a create session node with these settings: Public/Private Connections: 2.

      If in the join session node i set "min available slot" = 1. The server is not found (but there are only the server on the session, so it have actually one available slot no?)
      If i set "min slot availables" = 0. The server is found.

      Any idea how to do this?
      We are using SteamSubsystem in shipping Build.

      Another question:

      We want to show the servers that are not actually "in game"
      To do that, when creating a session we add an extra setting (bool) called: "In game".
      To test, we set the value to TRUE.
      On the join session node, we make a search property setting and "make property by bool" with the same name "In Game" but if the value is true or false, the server is always found.
      Any idea?

      Thanks for your answer, that's a wonderful plugin!!

      Here is a screenshot of the two nodes:

      #1: I assume that it is a listen server? In that case the hosting instance is both a server AND a client


      #2: Steam only support Int,Float,Byte,String filter values, all of the in engine values are implemented though as other subsystems are free to implement them eventually (like epics subsystem). I added notes to the filtering functions recently about this.


      Consider supporting me on patreon

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

      Comment


        Thanks for your answer! Yeah that's a listen server.
        I will modify that, thanks!!

        Comment


          Infinity9115 Did increasing the number of connections work for you? It didn't for me.

          In my case I had a working setup, as per the screenshots below except with a "Min Slots Available" of 0.

          I have plenty of public connections available on the create node. I don't want it returning games that are full, so I tried changing "Min Slots Available" to 1 (as shown below), and that caused it to no longer find the session at all (even when the host player and listen server were the only ones in the session with 7 public connections available).

          How can I ensure the find sessions node only returns sessions with at least one public connection available? I'm thinking of adding a new Filter/ExtraSettings that is something like either "Available" or "Full", and then trying to update the session with the Update Session node, and filtering for only "Available" sessions. I'm hesitant to do this as I haven't used the update session node yet so I'm unfamiliar with how it works. For example, I'm not sure if you have to set ALL inputs when using it (including all extra settings) to prevent it from clearing out existing values, or does it only update the non-default values/extrasettings provided?

          Update: This post provided a great screenshot of how to use update session, I will try that! https://forums.unrealengine.com/community/community-content-tools-and-tutorials/41043-advanced-sessions-plugin?p=1005795#post1005795

          My Create Session:
          Click image for larger version  Name:	adv_session_create_session.png Views:	0 Size:	499.7 KB ID:	1730388

          My Find Sessions:
          Click image for larger version  Name:	adv_session_find_session.png Views:	0 Size:	512.1 KB ID:	1730389
          Last edited by faetell; 03-08-2020, 02:52 PM.

          Comment


            does it work with android?

            Comment


              Hey, I found a plugin conflict.

              AdvancedSessions doesn't work with Wwise 2019.2 Unreal Integration, and it will fail when packaging the game, disabling one of the two is necessary to sucessfully package. We are using UE4.23 and I tried on a blank project too.

              Can you provide a solution or workaround?

              I've attached the logs

              Click image for larger version

Name:	Screenshot_424.png
Views:	370
Size:	231.4 KB
ID:	1732063

              Attached Files

              Comment


                Originally posted by ChaachM View Post
                Hey, I found a plugin conflict.

                AdvancedSessions doesn't work with Wwise 2019.2 Unreal Integration, and it will fail when packaging the game, disabling one of the two is necessary to sucessfully package. We are using UE4.23 and I tried on a blank project too.

                Can you provide a solution or workaround?

                I've attached the logs
                Those logs don't tell me anything other than that the unreal header tool isn't correctly generating its meta files for either plugin.

                Try full compiling from visual studio itself.



                Consider supporting me on patreon

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

                Comment


                  Hi, I'm just wondering on the correct way to Get the steam username, I have this code, but it just doesn't work. Using Advanced Sessions like

                  Click image for larger version

Name:	30978b204b906594b423e157a6418d39.png
Views:	317
Size:	57.4 KB
ID:	1733537

                  Comment


                    Originally posted by DualFuelStudios View Post
                    Hi, I'm just wondering on the correct way to Get the steam username, I have this code, but it just doesn't work. Using Advanced Sessions like

                    Click image for larger version  Name:	30978b204b906594b423e157a6418d39.png Views:	0 Size:	57.4 KB ID:	1733537
                    Where are you calling that from? Try (Get Player Controller) then (Get Player Name) or get from your player state.


                    In your ThirdPersonCharacter you can call it like this
                    Click image for larger version

Name:	3546.jpg
Views:	305
Size:	55.9 KB
ID:	1733744
                    Last edited by Cipher5; 03-17-2020, 10:20 AM.

                    Comment


                      Anyone know where the build for 4.24.3 is? The only download i'm finding says its for 4.24.0 and it wont compile.

                      Comment


                        Originally posted by Evolover42 View Post
                        Anyone know where the build for 4.24.3 is? The only download i'm finding says its for 4.24.0 and it wont compile.
                        Forgot to upload it, had it repackaged already.

                        Uploading now

                        *Edit* Uploaded
                        Last edited by mordentral; 03-18-2020, 03:24 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

                          Forgot to upload it, had it repackaged already.

                          Uploading now

                          *Edit* Uploaded
                          Thanks so much!

                          Comment


                            I'm a teacher at a university and like most we are forced to continue teaching remotely. I'm using the chance to dive into the multiplayer capabilities of UE4 and try to make a virtual space where my class can convene in VR and First Person. The class is about architecture in virtual worlds so it only seems right to try to explore the possibilities together in a virtual space (it already happens 24/7 in Fortnight etc.). I could just host a world in VRChat but that platform (and most I've encountered) are PC-only.

                            I've succeeded in building a prototype, using this amazing plugin, that works for PC but have run into a wall with the Mac platform. I've had the same issue as others in this thread of being unable to build the Advanced Sessions plugin when launching on a Mac. Also I want to use this insane time as a chance to push my knowledge and share the process with my students.

                            Has anyone had any success compiling a Mac version of the plugin? If so would you be willing to share your compiled version or give me step-by-step instructions on how to do so? I am a visual artist first and a armchair developer out of necessity so the Visual Studio/Xcode workflow is still foreign.

                            Comment


                              I have a little question about how the session system works in ue4 :
                              why, when no session is found, the find session node send a success with no results (empty array) ?
                              it should return a fail no ?
                              btw, if the plugin found out a session without extra settings it return a true too. So I have to check after to compare session settings with the one I was looking for

                              Comment


                                Originally posted by Max_mne View Post
                                I have a little question about how the session system works in ue4 :
                                why, when no session is found, the find session node send a success with no results (empty array) ?
                                it should return a fail no ?
                                btw, if the plugin found out a session without extra settings it return a true too. So I have to check after to compare session settings with the one I was looking for
                                It means that the operation succeeded without error, finding no matching results is a valid result. Also you shouldn't be getting an array of sessions that don't contain your key.


                                Consider supporting me on patreon

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

                                Comment

                                Working...
                                X