Announcement

Collapse
No announcement yet.

UE4 steam Leaderboard BP integration

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

    [RELEASED] UE4 steam Leaderboard BP integration

    Hello

    This pack will support you to integration steam leaderboard to your game with BP without any knowledge in C++

    Click image for larger version  Name:	ld.jpg Views:	1 Size:	422.7 KB ID:	1226536

    * Important note : the code of the leaderboard should rune once peer game session either at the end of the game when the player finish the level and get his final score or in main menu to upload and show the high score once peer game session.
    * You don't need any C++ knowledge but you still need to have Visual studio to compile the project .
    *This might not be the best way to add steam leaderboard but it works fine if you don't know any C++

    Technical Details:
    48min Video tutorial show you How to:
    -add Leaderboard in steam work site for your app id
    -integrate steam SDK to your project
    -Run the sample project which you can build your game on it .
    - Migrate the codes from the sample project to your game project to add Steam Leaderboard feature to your game .
    - Switch UE4 version for the sample project to be used in another version of the engine .

    - One project samples contain full functional level with steam leaderboard global and friends working .
    UE4 version tested : UE4 version tested : 4.13, 4.15, 4.16, 4.17, 4.18, 4.19

    Number of Actors: 3 main BPactor
    Number of widget : 2 main widget
    Intended Platform:PC
    Platforms Tested:PC
    Documentation Included: (Yes\No) Yes video tutorial
    Platforms tested:Windows


    Released in sellfy with 9.99$ https://sellfy.com/p/lXGj/

    Please let me know if you have any question or problem in this Thread .

    Edit 2018/June/11: sample 4.16, 4.17 , 4.18 & 4.19 added and supported.
    Last edited by Tim_Anderson; 06-11-2018, 03:11 PM.

    #2
    Link pls thanks!

    Comment


      #3
      Originally posted by tuxtux View Post
      Link pls thanks!
      Already added check the last line on sellfy .

      BR

      Comment


        #4
        Tim_Anderson , Is this being updated at all? I am ready to purchase, but, wanted to know if you have updated it from, 'should work with 4.15' to 'works with 4.15 and above'.
        Portfolio Website - www.jforthdesigns.co.uk

        Comment


          #5
          I bought your package. I was wondering how I can fix crashing if i want to send scores a second time. I see you noted this code only can run once per game session. But in my game, I need it to happen more than once. Suggestions?

          Comment


            #6
            Originally posted by Unfamillia View Post
            Tim_Anderson , Is this being updated at all? I am ready to purchase, but, wanted to know if you have updated it from, 'should work with 4.15' to 'works with 4.15 and above'.


            Hi Unfamillia
            Sorry for the late replay, i didn't get notification. The code should work with any version as the package show how to implement the "Source Code" to your project and since i don't own the source code i am not selling it, i only charge for the video i made to support you on how to implement the leaderboard and since i added a small change to the code to make it easier to to work with i added it to the package. in simple words if you follow the tutorial on the package you should able to implement it in any version of the UE4 project version.

            Edit : OK i just tried 4.16 and it works but you need to make a small change which i posted in the main post with * mark as steam SDK updated after 4.15, please check it.


            Originally posted by soyhann View Post
            I bought your package. I was wondering how I can fix crashing if i want to send scores a second time. I see you noted this code only can run once per game session. But in my game, I need it to happen more than once. Suggestions?


            HI soyhann
            Regarding "send scores a second time" at the same session, this is one of the limitation of the code right now sorry (i can't remember right now since its been long time but i think if you restart your level which the code is implemented in it , itshould work) , in case the package didn't help you and you like to get a refund let me know.
            Last edited by Tim_Anderson; 04-07-2018, 08:49 AM.

            Comment


              #7
              Restarting level doesn't help.
              If I set a higher score then it again works for one time.
              If I close and reopen Steam application then it works again, once.
              There is SteamAPI_Shutdown which also doesn't help.
              I have been trying to get this working for 3 weeks and I still couldn't find a solution.

              Comment


                #8
                I experimented with restarting the level.
                I try getting the scores, then after I get correct score or I get 0 I restart
                1 out of 10 times it works. It is very random. I don't get it.

                Comment


                  #9
                  Originally posted by soyhann View Post
                  I experimented with restarting the level.
                  I try getting the scores, then after I get correct score or I get 0 I restart
                  1 out of 10 times it works. It is very random. I don't get it.
                  Do you get same problem with the sample project i provided? if not then check how i fixed this issue in the sample project as i made a branch to keep checking till it read the leader board successfully, so the code will try to get the score till the default value change, the default value is "--". i attached an image showing the retry thing.as for the original question why it can't get the score from the first time i don't know as as said above this code i modified version and i don't own the source code and i only charged here for the tutorial i made as i spent months on making it work on my game and i thought i share it with small fee and help others,I wish if Epic just integrate it themselves and relief us from this painful process.

                  Btw this fix the issue of the score reading if i understood you correctly not the issue of reading/righting the score more than once at the same session. if you need to read/wright the score then you need to restart your level by reopening it with "open level" so you have to read/right your score at the end of the game (level1) and get back to the main menu (level2) then the player play again (level1) he will able to read/wright new score.
                  Last edited by Tim_Anderson; 04-07-2018, 09:22 AM.

                  Comment


                    #10
                    Yeah this actually worked. I don't know why sometimes it needs to try 20 times. But at least most of the time after trying a couple of times, it gets the scores. Thank you so much

                    Comment


                      #11
                      Originally posted by soyhann View Post
                      Yeah this actually worked. I don't know why sometimes it needs to try 20 times. But at least most of the time after trying a couple of times, it gets the scores. Thank you so much
                      Glade it worked, and my pleasure

                      Comment


                        #12
                        hey, has this been tested with 4.19 with changing that steamv139? and what about engine version, does this need source version or is launcher one enough? thanks.

                        Comment


                          #13
                          Sample 4.16, 4.17 , 4.18 & 4.19 added and supported.

                          Comment


                            #14
                            I just made a [FEATURE REQUEST] please guys go and vote and comment so epic can relief us from this painful process.
                            https://forums.unrealengine.com/unre...eam-work-on-bp

                            Comment


                              #15
                              Originally posted by Tim_Anderson View Post
                              I just made a [FEATURE REQUEST] please guys go and vote and comment so epic can relief us from this painful process.
                              https://forums.unrealengine.com/unre...eam-work-on-bp
                              4.20 has leaderboard fixes and additional implementations.


                              Consider supporting me on patreon

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

                              Comment

                              Working...
                              X