Request leaderboard only triggers "on hiscore" once instead.

Get help using Construct 2

Post » Wed Jan 07, 2015 5:06 pm

Hey guys,

I have a situation where request leaderboard only triggers "on hiscore" once instead of 10 times. Facebook leaderboard is working fine but not completely. It just showing my HS and not my friends FB name or HS. Why?
Last edited by Madrasmadnes on Thu Jan 08, 2015 4:49 am, edited 1 time in total.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Thu Jan 08, 2015 1:23 am

What are the events you are using?
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Thu Jan 08, 2015 4:31 am

@briggybros
Everyone says it's the code, but I used debug:
on start of layout -> request leaderboard (10)
on hiscore-> browser alert (phonegapfacebookPB.name&phonegapfacebook.score)
the alert only triggers once, the text implementation has other conditions and people tend to blame that but at least the debug should have worked if it was the code's fault.
You do not have the required permissions to view the files attached to this post.
Last edited by Remus B on Thu Jan 08, 2015 5:47 am, edited 1 time in total.
B
18
S
4
Posts: 87
Reputation: 1,199

Post » Thu Jan 08, 2015 5:09 am

@briggybros, Yes, As Remus said above, those are the events and as we are testing, I am getting only my HS in the leaderboard but not my friend's FB Name or Score.
Last edited by Madrasmadnes on Sun Jan 11, 2015 4:06 am, edited 1 time in total.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Jan 09, 2015 2:05 am

Guys Anybody? I am struck here. Couldn't figure out where the problem is?
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Jan 09, 2015 10:36 am

I am getting thoughts that this leaderboard is not possible?
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Jan 09, 2015 2:13 pm

You should probably ask in the thread for the third-party plugin you're using if it's not working.

I looked up that plugin Phonegap FacebookPB Apparently it is deprecated and there is a newer version called Phonegap Facebook.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Fri Jan 09, 2015 2:16 pm

@ramones Yeah but Phonegap Facebook is for Android build and Phonegap FacebookPB is for Crosswalk for Android, that is what we are using.

Secondly, I am just wondering, whatsup with the official Plugin. :?: :?:
Image
B
31
S
7
Posts: 197
Reputation: 2,497


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], brunopalermo, jorgmaquoi, kiki4construct and 23 guests