Join Session does not work (Steam, Advanced sessions plugin)

My findings thus far
a lot of the example project they provide hasn’t been updated since 1996-2004 or 2010 in some cases

Welp I've now read every line of space wars

low and behold I’ve determined the same thing that the documentation were not allowed to talk about says that SpaceWarServer is where the connection happens
SpaceWarServer.cpp/h – Server code for the example game.
And the Client.cpp/h naturally looks like it does what you’d expect it too as well

You should have to login to look at this page and be a steam dev sorry
Documentation - Steamworks partners only for Multiplayer
API documentation - Steamworks partners only

As someone who doesn’t fully understand c++ but is able to skim the likes of c++ or java and understand what is generally happening Most of this seems c++ specific nonsense, interestingly though it says some stuff about Authenticating after joining
which is also mentioned on line 270 of SpaceWarServer.cpp

Bunch of pointers all over the place most of them game related, i think advanced sessions already handles the authentication part but im gonna try and read the documentation on that now and see where that gets me/us as that’s the only idea the steamworks documentation game me

When using the adv session BP nodes “create adv session” and “Join session” it does in fact say you’ve joined success if you attach a print string to the on success execution pin and will even do a little loading screen if your using the Async loading screen plugin but that’s really all i got out of what i was able to read

Advanced sessions

Advanced sessions and documentation links herein
Prepare to get flash banged if your used to dark mode clicking any further links

figuring out how to use ServerTravel may be helpful to us but i think that’s for changing maps after you’ve already connected to the first lobby/map

Then of course there’s the nodes we’ve been trying to use Create Advanced Session and Join Session

Figuring out Update Session may be of some use as well

Reading through years worth of comments 3321 to be exact here is what i found of interest
some potential solutions as well that i plan to try

Don’t worry its like 30links at most

Summary
Summary of 2015

Make sure defaultengine.ini is in the right order
Looks like everyone does it about the same as You/I/We all have tried
I did this, im sure you did it aswell if you use the plugin with BPs
Adv sessions plugin author talks about join session and destroy session
Feature Notes/Changes
Setting up the Advanced Game Instance and Player Controller Interfaces

Worth trying ( try not using presence )

Cleanly closing a session
Run in standalone not editor

Summary of 2016

Confirmed my theory earlier that you need separate computers
Mentions creating joining sessions and a tutorial
Information about region lock
Do it from game instance
Useful but not related to what we’re trying to figure here
I’ll have to do some testing on this one
Could be answer?

blah blah blah, there’s logs made by adv sessions check those
Ping Issues

Summary of 2017

Something about plugins that ill have to also go testing
Testing which subsystem is being used
More stuff about destroying sessions
Yay we’re a third of the way through the 3000 comments
Steam part of adv sessions contains steam only nodes makes sense
More DefaultEngine.ini Stuff
More mentions to how doesn’t work with dedicated server
Advanced Friends
stuff regarding game instance

i think you all are aware of this but included non the less
also we’re half way there living on a prayer that we get answers lol

Largely the same thing or something i already linked happened in this gap of years

Summary of 2022

No you don’t need to port forward if your router supports nat punchthrough

Summary of 2023

Likely another solution/reason

Summary of 2024 up to 5/31/24

Subsystem activation
SteamSockets may have issues
Also likey the solution or part of it solution

Hooray we made it to the end... what did i learn
  • Most of the 3321 comments are people not using ctt+F to find their exact problem already answered with usually the same words they used
  • Most of the problems are not related to the Adv sessions plugin it just exposes things to BP
  • In 9 years it never occurred to epic that this may be worth adding to engine or plugin store and hasn’t had more than a small patch since 2017 or 4.17 maybe 4.22 i forgot honestly one of the links above says it
  • The automatically generated documentation is practically useless if you already know how to use the unreal editor to find nodes and understand that if you hover it’ll tell you the same things as the documentation
  • Everything that i just spent a few hours going through is pretty much summed up same as here in the First comment/post
  • Theres more systems involved in using AdvSessions or Sessions in general, likely our issue
  • mordentral the author of AdvSessions is really helpful
  • DefaultEngine.ini requires a specific order
  • You need seperate computers or have to apply some workaround
  • I’ve certainly wasted my time going through some 10,000 videos and posts and the 3,000 comments but certainly learned some stuff along the way so only half regert
  • Only spacewars appid 420 should in theroy be region locked but worth setting to same download server for piece of mind when testing
  • Advanced session makes logs somewhere that i’ll also have to dig through our answer is definitly there if we can find and read it and understand it
  • No you don’t need to port forward if your router supports nat punchthrough
  • If your ping is 9999 it’s this:
So what now?
  • i’m gonna tear through the example project with all this in mind and compare my DefaultEngine.ini with the example project
  • I’m gonna get my other computer running again and use it through a different external router
  • and also try passing in an IP address instead
  • gonna do a deep dive on steamsockets,steam onlinesubsystem
  • gonna stick to ctrl+f searching through big posts like this as as expected most of it was irrelevant

Posting this summary of a summary of basically another summery to basically say

  • I’ve certainly tried and done a load of research to discover you need to know c++ and networking essentially to have this be an easy thing to use out of the gate
  • I have a few more things to try before putting multiplayer on pause and just worrying about singleplayer ( esentially temporarily giving up, going against my own advice of Never give up )
  • solid tutorials are hard to find and “Explanations” of how it all works are not very deep on this
    And i plan to make one once i understand what’s going on well enough

Thanks for reading any of that as I’m essentially an idiot summarizing and trying to understand networks I’ll make another comment here when I’ve done more of my proposed digging/reasearch/find the solution

Requested help from creator

@mordentral Pardon the summons, i’d add this to your pile of 3000 comments on your adv sessions but i don’t believe its an issue with your code as many times you pointed out you’ve just exposed more of the code provided by epic

But I’ve been struggling with this for quite a while as more than port forwarding and dmz networking stuff i have literally no experience pretty much then we’re mixing that with programming and steam and game development

So my question is, is this obvious to you, essentially ops question my setup at least the parts here are identical


Notably at least in my case i have these installed plugins
I’ve seen at several points in the past you say not to use sockets
Is installing the API this way still not advisable, should i be going through the effort of installing the API manually?
I plan to try it with one the other or both uninstalled

Admittedly i also haven’t gotten around to looking at the demo project just yet, i’ll have to solve this eventually i would like to have multiplayer and that said decent multiplayer made possible by your plugin so thank you

haven’t gotten my 2nd computer fixed yet to test it with a different router i have to get a HDD or go to the effort of clearing out one that i have stuff on in my main workstation

Thanks for any help or deep tutorials your able to send our way in advance