Announcement

Collapse
No announcement yet.

Advanced Sessions Plugin

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

  • replied
    I am looking for a steam ladder board (leader board) to see high scores of steam friends and compare your high scores with steam friends high scores.
    - Has "Advanced Sessions Plugin" implemented to read steam ladder board scores and read the scores from steam-friends?
    - And to write own high score to steam ladder board?
    As I read already, there is also UE4 built-in ladder board blue print support. But I only found "get" and "set" integer values. I think only for the own gamer score. But I do not find to get all high scores in overall. Or all high scores of friends. Are BP nodes inside "Advanced Sessions Plugin" for that?

    Does Steam Ladderboard only allow integers, or it is possible to have also a column with "text" to store some custom text into the leader board entry?
    Does Steam Ladderboard allow to filter by properties like country?

    Perhaps any tutorial available for this? (Edit, I found this Tutorial with Advanced Sessions and leader boards, but it is from 2018 ... is it still working like this?
    https://www.youtube.com/watch?v=frpBJ_R4CmY ("[ue4] Scoreboard/Leaderboard - Advanced Session - Steam Multiplayer #18")
    )
    Last edited by TheFlow3k; 09-20-2020, 08:19 PM.

    Leave a comment:


  • replied
    does not work when added to project plugins or engine plugins with ue4 4.25

    Leave a comment:


  • replied
    Originally posted by mordentral View Post

    You can PIE with the standalone mode and it will load the steam overlay and init the subsystem.
    Interesting, I don't think it works for me in Standalone mode, I have to use Launch. I'll look into why that may be.

    Leave a comment:


  • replied
    Originally posted by Nostrildumbass View Post

    Are you previewing in editor or launching from a packaged build? The Steam integration doesn't work in PIE due to a bug
    Its not a bug, the editor would have to boot up the steam subsystem on launch and manage it with sub windows for it to work with a normal editor window. You can PIE with the standalone mode and it will load the steam overlay and init the subsystem.

    Leave a comment:


  • replied
    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)
    Are you previewing in editor or launching from a packaged build? The Steam integration doesn't work in PIE due to a bug
    Last edited by Nostrildumbass; 09-17-2020, 11:56 PM.

    Leave a comment:


  • replied
    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)

    Leave a comment:


  • replied
    Originally posted by davicyyo View Post

    Nothing works, finally i can export game, i open and Steam don't show, also don't work Online subsystem (No Logs).

    I disabled online subsystem + steam and Advanced sessions + steam, nothing works

    Warnings:
    Code:
    LogPlayLevel: Warning: LogSteamShared: Warning: SteamAPI failed to initialize, conditions not met.
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamUtils() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamUser() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamFriends() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamRemoteStorage() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamUserStats() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamMatchmakingServers() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamApps() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamNetworking() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamMatchmaking() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steam API failed to initialize!
    LogPlayLevel: Warning: LogModuleManager: Warning: ModuleManager: Module 'OnlineSubsystemNULL' not found - its StaticallyLinkedModuleInitializers function is null.
    LogPlayLevel: Warning: LogOnline: Warning: OSS: TryLoadSubsystemAndSetDefault: LoadSubsystemModule([NULL]) failed
    *Errors to launch, i can't join but Steam overlay not show

    Bad moment for make games on UE4...


    Edit:
    All works now... idk why :/ just disabled all and works
    Development in general is a frustrating experience XD Only those that can endure the frustration, never give up, and push through the obstacles make it.

    Leave a comment:


  • replied
    Originally posted by Nostrildumbass View Post

    I was having the same issue about the OnlineSubsystem plugin not being found, but I'd get a window at launch showing me the error (if you look back just a page or two my post about it is here somewhere). It took me a lot of trial and error to fix it to where I don't even know what did fix it. Try disabling all the OnlineSubsystem plugins in your plugins settings in UE, close UE, re-open your project, re-enable all the plugins, and re-package then. That was one of the things I remember doing.

    https://forums.unrealengine.com/comm...70#post1806894
    Nothing works, finally i can export game, i open and Steam don't show, also don't work Online subsystem (No Logs).

    I disabled online subsystem + steam and Advanced sessions + steam, nothing works

    Warnings:
    Code:
    LogPlayLevel: Warning: LogSteamShared: Warning: SteamAPI failed to initialize, conditions not met.
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamUtils() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamUser() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamFriends() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamRemoteStorage() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamUserStats() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamMatchmakingServers() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamApps() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamNetworking() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steamworks: SteamMatchmaking() failed!
    LogPlayLevel: Warning: LogOnline: Warning: STEAM: Steam API failed to initialize!
    LogPlayLevel: Warning: LogModuleManager: Warning: ModuleManager: Module 'OnlineSubsystemNULL' not found - its StaticallyLinkedModuleInitializers function is null.
    LogPlayLevel: Warning: LogOnline: Warning: OSS: TryLoadSubsystemAndSetDefault: LoadSubsystemModule([NULL]) failed
    *Errors to launch, i can't join but Steam overlay not show

    Bad moment for make games on UE4...


    Edit:
    All works now... idk why :/ just disabled all and works
    Last edited by davicyyo; 09-13-2020, 08:57 PM.

    Leave a comment:


  • replied
    Originally posted by davicyyo View Post

    Thank you very much for answering me, I have reviewed the code of the ThirdPersonCharacter and I have some Booleans, however none affects the movement of the player walking, the curious thing about that error, is that it happens when moving to the sides and back, if it walks straight if it works, how it said above is as which one brings it by default ThirdPersonCharacter.

    I see that if I give it to launch in effect a kind of packaging, I have given it but I skip an error of online subsystem

    Code:
    LogPlayLevel: Error: LogPluginManager: Error: Unable to load plugin 'OnlineSubsystemSteam'. Aborting.
    LogPlayLevel: Error: ERROR: Client exited with error code: 1
    PackagingResults: Error: Launch failed! Unknown Error
    Follow everything activated both advanced sessions + advanced steam sessions and online subsystem + online subsystem steam

    I don't get any errors when running the packaged game, it directly doesn't open me or open the epic games launcher.

    I have disabled the CPU option, but I do not see any improvement effect, however it only works poorly in Standlone, in viewport there is no delay.

    Thank you
    I was having the same issue about the OnlineSubsystem plugin not being found, but I'd get a window at launch showing me the error (if you look back just a page or two my post about it is here somewhere). It took me a lot of trial and error to fix it to where I don't even know what did fix it. Try disabling all the OnlineSubsystem plugins in your plugins settings in UE, close UE, re-open your project, re-enable all the plugins, and re-package then. That was one of the things I remember doing.

    https://forums.unrealengine.com/comm...70#post1806894
    Last edited by Nostrildumbass; 09-11-2020, 11:37 AM.

    Leave a comment:


  • replied
    Originally posted by mordentral View Post
    The ping not returning was an issue with steam servers, they "fixed" that when they added in the steam authentication setup where it should return the correct ping now if you are using steam auth.
    Thank you. You mean it works fine now Advanced Steam Sessions or it now also working fine in UE4 built in steam session subsystem?

    Leave a comment:


  • replied
    Originally posted by Nostrildumbass View Post

    Hi, the Steam subsystem doesn't work if you use the play button from the editor. It only works if you use the Launch button (which from what I understand is just like packaging on the fly and running) or run your packaged game. It sucks and I think it's a UE bug Epic know about. Why can't you open the game after you package it? Any errors?

    I thought I'd help Mordentral here by explaining he can't (or at least can't offer more of his time) help with "development issues", his plugin doesn't handle replication itself, it just provides us more access to session info essentially. What you're seeing that looks like a collision is most likely client/server lag or some conflicting logic where the server is telling the client he can't move, then allows him to (likely alternating quickly between the two). If you have any sort of booleans on your character like CanWalk, make sure it's not being updated to False or something while replicating the problem.

    There's a setting in UE that I recommend disabling that might help, search for "Use less CPU when in background". Disabling that helped with several performance issues I was having when testing (client loading in and seeing everything start sync took up to 10 seconds, and movign around was choppy pretty similar to your video).
    Thank you very much for answering me, I have reviewed the code of the ThirdPersonCharacter and I have some Booleans, however none affects the movement of the player walking, the curious thing about that error, is that it happens when moving to the sides and back, if it walks straight if it works, how it said above is as which one brings it by default ThirdPersonCharacter.

    I see that if I give it to launch in effect a kind of packaging, I have given it but I skip an error of online subsystem

    Code:
    LogPlayLevel: Error: LogPluginManager: Error: Unable to load plugin 'OnlineSubsystemSteam'. Aborting.
    LogPlayLevel: Error: ERROR: Client exited with error code: 1
    PackagingResults: Error: Launch failed! Unknown Error
    Follow everything activated both advanced sessions + advanced steam sessions and online subsystem + online subsystem steam

    I don't get any errors when running the packaged game, it directly doesn't open me or open the epic games launcher.

    I have disabled the CPU option, but I do not see any improvement effect, however it only works poorly in Standlone, in viewport there is no delay.

    Thank you

    Leave a comment:


  • replied
    Originally posted by TheFlow3k View Post
    Hello, I have not implemented Advanced Steam Sessions yet in my project. Just a question, is "get ping" working for listen server multiplayer also?
    I found a reddit chat about problems of UE4 getting not a correct ping of the session:
    https://www.reddit.com/r/unrealengin...nce_ping_9999/
    Someone said it is fixed in Advanced Steam Sessions plugin, but someone also said its not. Would be nice to know before implementing your great plugin.
    Do it provide to get accurate ping in listen mode? Thanks a lot.

    Just a side question. When its working fine, do I have to make the "get ping" call on every client and the replicate the result to the server (to let server know all pings)? Or is it also possible for the server to simply ping all connected players (player controllers) and have all ping of all clients on that way?
    The ping not returning was an issue with steam servers, they "fixed" that when they added in the steam authentication setup where it should return the correct ping now if you are using steam auth.

    Leave a comment:


  • replied
    Hello, I have not implemented Advanced Steam Sessions yet in my project. Just a question, is "get ping" working for listen server multiplayer also?
    I found a reddit chat about problems of UE4 getting not a correct ping of the session:
    https://www.reddit.com/r/unrealengin...nce_ping_9999/
    Someone said it is fixed in Advanced Steam Sessions plugin, but someone also said its not. Would be nice to know before implementing your great plugin.
    Do it provide to get accurate ping in listen mode? Thanks a lot.

    Just a side question. When its working fine, do I have to make the "get ping" call on every client and the replicate the result to the server (to let server know all pings)? Or is it also possible for the server to simply ping all connected players (player controllers) and have all ping of all clients on that way?
    Last edited by TheFlow3k; 09-11-2020, 07:22 AM.

    Leave a comment:


  • replied
    Originally posted by davicyyo View Post
    Hi mordentral, i have a problem right now[LIST=1][*]I try open the game as (Standalone Game with Offline/Server listen/Client) on all methods don't show Steam overlay.[*]I Try package game, works, but i can't open the game.
    [/B]
    Hi, the Steam subsystem doesn't work if you use the play button from the editor. It only works if you use the Launch button (which from what I understand is just like packaging on the fly and running) or run your packaged game. It sucks and I think it's a UE bug Epic know about. Why can't you open the game after you package it? Any errors?

    I thought I'd help Mordentral here by explaining he can't (or at least can't offer more of his time) help with "development issues", his plugin doesn't handle replication itself, it just provides us more access to session info essentially. What you're seeing that looks like a collision is most likely client/server lag or some conflicting logic where the server is telling the client he can't move, then allows him to (likely alternating quickly between the two). If you have any sort of booleans on your character like CanWalk, make sure it's not being updated to False or something while replicating the problem.

    There's a setting in UE that I recommend disabling that might help, search for "Use less CPU when in background". Disabling that helped with several performance issues I was having when testing (client loading in and seeing everything start sync took up to 10 seconds, and movign around was choppy pretty similar to your video).
    Last edited by Nostrildumbass; 09-11-2020, 01:03 AM.

    Leave a comment:


  • replied
    Hi mordentral, i have a problem right now
    1. I Download Advanced Sessions i install on MyFolder/plugins/AdvancedSessions
    2. I Activate AdvancedSessions & AdvancedSteamSessions
    3. Also i have online subsystem and steam substystem activated
    4. Work Host & Find sessions and i think all features
    5. I Put on defaultEngine.ini the Finished Settings (https://docs.unrealengine.com/en-US/...eam/index.html)
    6. I try open the game as (Standalone Game with Offline/Server listen/Client) on all methods don't show Steam overlay.
    7. I Try package game, works, but i can't open the game.
    Thanks for help.

    Edit:

    Also i have a strange problem:

    When move forward with client it's okey, but if i try move to sideways or backward i have a problem like a collision?

    First is server and second is Client.



    (Is ThirdPersonCharacter)

    Edit2:
    I'm using 4.25.3
    Last edited by davicyyo; 09-10-2020, 11:00 PM.

    Leave a comment:

Working...
X