How do I switch Xbox profiles?

Get help using Construct 3!

Post » Tue Oct 10, 2017 10:29 am

Hi. I finally could test my Xbox game in Visual Studio and log in to my test account via Xbox Live. But there seems to be no sign out action to swtich profiles on Xbox. I tried Sign in again but nothing seems to happen and no error message from the Xbox plugin appears. How can I sign out and sign in with another profile? :?:
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 761
Reputation: 9,601

Post » Fri Jan 05, 2018 6:43 pm

@Bl4ckSh33p

Have you found a solution for this? I've got this problem as well and haven't found a way to fix it.
Image ImageImage
B
8
S
3
G
1
Posts: 105
Reputation: 1,546

Post » Sun Jan 14, 2018 12:51 pm

@rayray No. Seems you need to close the game. Sign in with another profile and then start the game again.
Using the profile selection most other games use would be nice. But I dont know if this is possible with a plugin update.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 761
Reputation: 9,601

Post » Mon Jan 15, 2018 4:41 pm

@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.
Image ImageImage
B
8
S
3
G
1
Posts: 105
Reputation: 1,546

Post » Thu Jan 18, 2018 10:01 am

@rayray Hi. I had problems submitting scores a few weeks ago but it seems it was fixed by Microsoft. Getting Leaderboars, submitting scores and getting profile info works fine for me. I use Construct 3 and the latest Visual Studio Community with the Win10 UWP SDK.

Did you install the Microsoft.Xbox.Live.SDK.WinRT.UWP package and assign it to the store entry?
https://www.scirra.com/tutorials/9540/u ... n-uwp-apps

I have crashes on startup quite often but restarting the game 1-2 times usually is enough to fix it and the game did only crash when the construct loading icon with the progress bar is shown.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 761
Reputation: 9,601

Post » Thu Jan 18, 2018 6:42 pm

@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?
Image ImageImage
B
8
S
3
G
1
Posts: 105
Reputation: 1,546

Post » Fri Jan 19, 2018 11:32 pm

@rayray For opening in VS 2017, try editing your .jsproj file like I wrote here: xbox-one-uwp-performance_p1147037?#p1147037
B
24
S
10
G
4
Posts: 66
Reputation: 3,868

Post » Sat Jan 20, 2018 4:05 pm

Studio Mercato wrote:@rayray For opening in VS 2017, try editing your .jsproj file like I wrote here: xbox-one-uwp-performance_p1147037?#p1147037


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.
Image ImageImage
B
8
S
3
G
1
Posts: 105
Reputation: 1,546

Post » Mon Jan 22, 2018 12:54 pm

I dont get a crash or error when I use GetLeaderboard. And I did not add other packages and just followed the tutorial to add the Nuget pack and assign it to the store.
Did you check if the Xbox Live Plugin has the right values assigned in Construct? The game IDs you get from the Xbox Live service page in Dev Center.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 761
Reputation: 9,601

Post » Tue Jan 23, 2018 7:43 pm

Bl4ckSh33p wrote:I dont get a crash or error when I use GetLeaderboard. And I did not add other packages and just followed the tutorial to add the Nuget pack and assign it to the store.
Did you check if the Xbox Live Plugin has the right values assigned in Construct? The game IDs you get from the Xbox Live service page in Dev Center.


I have checked and doubled checked the game IDs and values and everything is correct. I've followed the guide several times and still can't get it to work, it's very frustrating, even more so since it's does work when i want to sign in, but after signing in, it seems to stop working.

Image

This is how i've set up the leaderboard event (i've changed from "is touching" to "on touched"), have you done it differently to this?
Image ImageImage
B
8
S
3
G
1
Posts: 105
Reputation: 1,546


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 0 guests