rayray's Recent Forum Activity

  • Any update with this issue?

  • Ashley

    I've created a bug report here. Hopefully there's a solution to this.

  • Problem Description

    When displaying the Xbox leaderboard for Global, the sort order is from High to Low, which is how it should be displayed. However, when switching to Friends or People, the sort order reverses and displays from Low to High instead.

    Attach a Capx

    https://www.dropbox.com/s/vhya51sjyz0rd ... .capx?dl=0

    Description of Capx

    A project created from scratch including events to display Xbox leaderboard using the XboxLive plugin. I've included simplified layouts such as Splash screen, Menu, Game & Game Over and have set the events to how they are for the most part on my project in order to replicate my project.

    * I believe that you need to enter your own Xbox ID credentials, so I've just used the ones from your Xbox example capx found here.

    Steps to Reproduce Bug

    • Step 1 - Export as Windows and open in Visual Studio.
    • Step 2 - Add the Xbox packages and associate with store.
    • Step 3 - Launch app and press show leaderboard on Menu screen when signed in. Use arrows to switch social groups.

    Observed Result

    When leaderboard scores are displayed in Global, the sort order is shown from High to Low. When switching to either Friends or People, the sort order reverses to Low to High.

    Expected Result

    The sort order should stay from High to Low when switching social groups.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)
    • Visual Studio: (YES)

    Operating System and Service Pack

    Windows 10 version 1709

    Construct 2 Version ID

    r256 64bit

  • Ashley

    I've fixed the issue i was initally having with the Xbox Leaderboards and managed to get most of it working, but ran into another problem i was hoping you can help with.

    When displaying the leaderboard for Global, the sort order is from High to Low, which is what i want. However, when i switch to Friends or People, the sort order reverses and displays from Low to High instead.

    I've checked on the Microsoft Dev centre and the only option for sort order is set from High to Low. I contacted Microsoft support and suggested I ask here for answers as it's nothing on their side.

    I don't know what's causing this as the actions for Global, Friends and People are all the same. I found an example capx of yours that you posted here which i followed, so i don't know where the issue is.

    I can't find anything within the Xbox plugin, would you be able to provide any suggestions to fix this?

    Thanks.

  • I've got an odd issue when i'm displaying the leaderboard scores for Friends & People.

    It displays fine on Global (High to Low), but reverses when its on Friends or People (Low to High)

    I've checked on the Microsoft dev centre, and it's set to display from high to low. I've searched throughout and can't find any other place i need to set this, so i assume that i only need to set it once. I can't find anything specific for Friends or People list (unless i've missed it).

    My actions in C2 are all set the same, only difference being if its displaying Global, Friends or People. There's no action to change sort order so i don't know whats causing this.

    Has anyone else encountered this issue or know how to fix it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Congrats to the winners. It was pretty interesting to see the different types of games that people can come up with.

    I'm glad to see my game (Switch!) on the honourable mentions, especially since it was a last minute thing and only had a few hours to get the game ready and submit it to the contest

    Looking forward to the next one.

  • Is it possible to retrieve the gamertag picture from Xbox users who have submitted their score to the Xbl leaderboard?

    I want to display the users gamertag picture alongside their gamertag when the leaderboard is displayed.

    I know you can get your own gamertag picture to show, but I can't find a way to show other users picture.

    Is this possible?

  • blackhornet

    Is it possible to add an option for small cap letters, like in photoshop? So it's basically smaller capital letters used as lowercase letters.

    Thanks.

  • rayray For opening in VS 2017, try editing your .jsproj file like I wrote here:

    That's great, thanks. Managed to open my project in VS2017 now.

    Unfortunately, this hasn't solved the leaderboard issue yet. Still getting an exception error in c2runtime.js when trying to access the leaderboard.

  • Bl4ckSh33p

    I have installed Microsoft.Xbox.Live.SDK.WinRT.UWP package and assigned it to the store.

    I have Xbox Live working as I'm able to sign in to an account, the problems occur after that. Once signed in, i can't access the leaderboard as the app crashes/closes when i do so. When i try to retrieve the user profile, i get a runtime error. I created a thread about this here (https://www.scirra.com/forum/error-trying-to-display-leaderboard-with-xbox-live_p1155963?&sid=360a11a90aa159719efa065f90c13171&sid=5751f49a96efc217e9a3f5f35cd24adc#p1155963 but have yet to solve the issue.

    I'm using Construct 2 & Visual Studio Community 2015. I tried using VS 2017 but it says project incompatable when i try to open the project after export.

    Did you do anything different to the XBox plugin tutorial on here?

  • Ashley

    So when testing the game through Visual Studio with Local Machine, if i try to open XBL Leaderboard, i get the following exception error:

    And the following is highlighted in c2runtime.js -

    h="Get leaderboard complete",

    this.cs=g.eventArgs.result,this.b.trigger(Bc.prototype.k.Wv,this)}

    I'm not too familiar with this but would this help in diagnosing my problem?

  • Bl4ckSh33p

    That's currently how it's working for me in order that change profiles. It's a shame you can't switch profiles without having to exit the game.

    Have you managed to get Xbox Live working for your apps by any chance? I'm trying to get it to work for my apps but all i can do is sign in. If i try to open leaderboard, it crashes for me and i get an error if i try to retrieve user profile.

    I was wondering whether you've successfully got this working and could offer some help to get it working for me.

rayray's avatar

rayray

Member since 27 Mar, 2014

Twitter
rayray has 4 followers

Connect with rayray

Trophy Case

  • 10-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

12/44
How to earn trophies