Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

    Is there a way to update the server for all of the players. like if one of the players spawns something then the other players gets that change

    Comment


      Originally posted by 0_ROBO. View Post
      Is there a way to update the server for all of the players. like if one of the players spawns something then the other players gets that change
      Nothing at all to do with the sessions system, normal in engine replication handles that. And generally unless you want client side only objects, you would spawn on the server end.


      Consider supporting me on patreon

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

      Comment


        Hey everyone,
        I can't seem to get the voice interface working - I keep getting the below error - how can I fix this?

        Code:
        AdvancedVoiceLog: Warning: Register Remote Talker couldn't get the voice interface!
        AdvancedVoiceLog: Warning: Register Local Talker couldn't get the voice interface!
        AdvancedVoiceLog: Warning: Start Networked Voice couldn't get the voice interface!

        Comment


          Hey ! Thanks for your awesome job dude.
          I have a question, but tbh I don't really know if it has something to deal with the plugin or not. I tried a lot of option on the "Find Advanced Session" node, and I can't make it find the full sessions (when CurrentPlayers is equal or greater than MaxPlayers). Playing with the "Min Slots Available" integer did nothing. I think that the issue is about the Unreal Engine built-in subsystem, but I'm really not sure at all.
          Hope there's a solution !

          Have a good day

          Comment


            Originally posted by Mik-Amaral View Post
            Hey i have a problem,

            after having installed the two plugins, and add the line "[/Script/Engine.GameEngine]
            + NetDriverDefinitions = (DefName = "GameNetDriver", DriverClassName = "OnlineSubsystemSteam.SteamNetDriver", DriverClassNameFallback = "OnlineSubsystemUtils.IpNetDriver")

            [OnlineSubsystem]
            DefaultPlatformService = Steam

            [OnlineSubsystemSteam]
            bEnabled = true
            SteamDevAppId = 480

            [/Script/OnlineSubsystemSteam.SteamNetDriver]
            NetConnectionClassName = "OnlineSubsystemSteam.SteamNetConnection"

            In my project's DefaultEngine file, nothing works, the game does not want to connect to Steam (4.25.3)

            Thanks for the tip. I had an issue with The Create Sessions Advanced and Find Sessions Advanced instantly failing (triggering the "OnFailure" execution pin). This must be because I set my default platform service to Oculus OSS. I'm checking right now if changing back to Steam fixes it. In any case, it would be nice to have Oculus OSS as a host platform, as they won't allow apps using steam OSS (developing an VR app, here). mordentral

            *Just checked and that solved my issue. This line:
            Code:
            [OnlineSubsystem]
            DefaultPlatformService = Oculus
            Was changed to:
            Code:
            [OnlineSubsystem]
            DefaultPlatformService = Steam
            Last edited by JonathanArmstrong; 01-11-2021, 03:24 AM.

            Comment


              Originally posted by JonathanArmstrong View Post


              Thanks for the tip. I had an issue with The Create Sessions Advanced and Find Sessions Advanced instantly failing (triggering the "OnFailure" execution pin). This must be because I set my default platform service to Oculus OSS. I'm checking right now if changing back to Steam fixes it. In any case, it would be nice to have Oculus OSS as a host platform, as they won't allow apps using steam OSS (developing an VR app, here). mordentral

              *Just checked and that solved my issue. This line:
              Code:
              [OnlineSubsystem]
              DefaultPlatformService = Oculus
              Was changed to:
              Code:
              [OnlineSubsystem]
              DefaultPlatformService = Steam
              Yeah as you found out, nothing to do with the AS functions, they don't alter back end subsystems, just a misconfiguration.


              Consider supporting me on patreon

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

              Comment


                Hey i build a Dedicated Server for Windows and Linux Windows works well but on Linux i have a Problem that he dont get the AppID

                [2021.01.21-19.52.12:804][ 0]LogOnline: STEAM: [AppId: 0] Game Server API initialized 0
                [2021.01.21-19.52.12:804][ 0]LogOnline: Warning: STEAM: Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable

                i had the Same Problem on my Windows Server but fixxed it with installing Steam but how i can do it on Linux?



                EDIT:
                Okay i found it out i have to go to SteamCMD Path and take the steamclient.so file and put that into my Binary Folder of my Server
                Last edited by Tryto1; 01-21-2021, 04:32 PM.

                Comment


                  Hello,

                  I am trying to setup a Quick Match feature that looks for games that have some specific settings and that have at least 1 empty slot. I have been able to setup extra settings and filters to know if the session is the right conditions BUT the moment I change the MinSlotsAvailable to 1, I don't get any sessions visible.

                  Click image for larger version  Name:	Capture3.PNG Views:	0 Size:	59.0 KB ID:	1857012

                  I am testing with 2 PCs with 2 separate steam accounts, just for information. And the sessions are all with 10 Public connections and 0 Private.

                  Thanks!
                  Last edited by LatFoued; 01-28-2021, 06:02 AM.

                  Comment


                    I'm tracking down an issue where the first "Find Session Advanced" search for "All Servers" is extremely slow..

                    I've narrowed the issue down to the RequestLobbyData() call; basically the finding of the listen lobbies is quick but this call effectively times out.. However run the exactly same code again (through a "Refresh" button) and the results return in a few seconds..

                    I've tested on various places, including remote machines and it's the same outcome...

                    Any idea's of what is causing this to timeout?

                    Comment


                      Hi, I've been trying to include this plugin in my game that I'm creating for me and group of my friends to play and most of the things that I wanted to add seem to work, but when I tried to find session it just doesn't show any unless it's set to LAN only. So I wanted to ask for help with setting it up.

                      This is my session finding GAMENAME value is temporary I'll get it from variable when I make it work
                      Click image for larger version  Name:	Screenshot 2021-01-29 091416.png Views:	0 Size:	94.6 KB ID:	1857439

                      This is how i set creating session. The only extra setting I have right now is GAMENAME which is set to Sareth same as in the filters in session finding.
                      Click image for larger version  Name:	Screenshot 2021-01-29 091451.png Views:	0 Size:	150.7 KB ID:	1857442

                      I don't get session finding failure, it just doesn't find any sessions for some reason. Steam invites work perfectly fine btw. but I would like to make server browser work as well.

                      Comment


                        Sarethh It possibly could be related to the same issue I am having above, it could be the "MinSlotsAvailable" set to1. Try with 0 and see if it works.
                        I am still waiting to possibly hear some insight or advice from mordentral hopefully I can fix this. As I really want to get only sessions where the player can join.

                        Comment


                          Originally posted by Sarethh View Post
                          Hi, I've been trying to include this plugin in my game that I'm creating for me and group of my friends to play and most of the things that I wanted to add seem to work, but when I tried to find session it just doesn't show any unless it's set to LAN only. So I wanted to ask for help with setting it up.

                          I don't get session finding failure, it just doesn't find any sessions for some reason. Steam invites work perfectly fine btw. but I would like to make server browser work as well.
                          Check in your log and see if the steam subsystem is even correctly binding, also is that filters array you are passing in to find sessions empty?

                          Also your friends don't happen to be fairly distant do they? The steam default testing app id is region locked to each clients download region they have set in steam.


                          Consider supporting me on patreon

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

                          Comment


                            Originally posted by LatFoued View Post
                            Sarethh It possibly could be related to the same issue I am having above, it could be the "MinSlotsAvailable" set to1. Try with 0 and see if it works.
                            I am still waiting to possibly hear some insight or advice from mordentral hopefully I can fix this. As I really want to get only sessions where the player can join.
                            Yeah, it worked after I changed that to 0 and also set max results to 2000. I guess I'll just get (max players - current player) and if there is a free slot show it in the list for now as a replacement for min slots.
                            Thanks!

                            Originally posted by mordentral View Post

                            Check in your log and see if the steam subsystem is even correctly binding, also is that filters array you are passing in to find sessions empty?

                            Also your friends don't happen to be fairly distant do they? The steam default testing app id is region locked to each clients download region they have set in steam.
                            Seems like I had the same issue as LatFoued but, I also checked things you mentioned just in case.
                            In the logs everything seems fine, though I only checked lines that had steam in them and looked for errors or something similar.
                            In the filters array there is a GAMENAME key which is set to Sareth for now, but I will get the value from search bar later.
                            Friends that I tested it with don't live far from me, but I planned to test it with friends from another country so this prevents future issues.
                            Thanks!

                            Comment


                              Heeyyyy... pretty new here ^^ i've just started a project, but i'm stuck with displaying the steam avatar (like, i can get mine, but when i need to display it in a list of players on a multiplayer game for example) i'm struggling to find how i could make it work, any hint ?

                              (edit: i've found a solution ^^)
                              Last edited by Fr0zka; 02-02-2021, 08:35 AM.

                              Comment


                                I'm trying to implement multiplayer for iOS devices in LAN mode using this plugin and am running into an issue. Launching in standalone mode from the Editor with 2 players works - I can host a listen server on one of the instances and connect to it on the other. The connecting client loads the proper map and everything seems to work. However, when I run the packaged game on two different iPhones on the same LAN and start a session on one phone, the second phone can see the session (I added a session property to name the server) and can connect (the 'Join Session' node 'On Success' pin executes), but the second phone does not load the map. It stays on the start menu map (or perhaps is reloading it).

                                I'm not sure how to diagnose what is happening (tried 'Launching' on one of the phones instead of package/install and that fails to connect to the server entirely). There doesn't seem to be a function I can override or an event I can listen for that gets called when the joining client receives the map from the server. So I'm not sure if the server is sending the map and the joining client isn't loading it or if the server never sends it.

                                If the client just couldn't see the server or wasn't joining then I would suspect network issues, but that doesn't seem to be the case. Also, I know the game has the map installed, because the server phone loads it correctly and I also have a standalone mode in the game that loads the map correctly.

                                Thanks in advance for any ideas as to how I might diagnose this.

                                Comment

                                Working...
                                X