Questions tagged [leaderboard]
616 questions
-1
votes
1 answer
How to sort and print N number of high scores (Highest first)
I'm trying to sort my simple game's leaderboard and print out the top 5 scores, but it just prints out the whole list in the order it was saved as and not organised after adding
for eachline in y[:5]:
print(eachline)
, as without this code, it…

Mentlegenn
- 13
- 2
-1
votes
3 answers
Discord.net | How can I turn the user ID's that belong to people in my database to usernames which I can use for my leaderboard?
I'm making a leaderboard for the leveling system my Discord bot has. The list will make a list of the people with most XP and order them from highest to lowest amount. I have already achieved this goal, but I can only show to user's ID next to their…

VAC Efron
- 3
- 1
- 3
-1
votes
1 answer
Creating a dynamic LeaderBoard with profile pictures
I want to find a way to create a leaderboard like one below that uses variables to hold Users Points on Javascript in order to respond to changes to those points with changing users Ranks...
Here is what I'm trying to achieve:
I just want to…

Sara Ree
- 3,417
- 12
- 48
-1
votes
1 answer
stacktrace E/UncaughtException: java.lang.IndexOutOfBoundsException: Invalid index 1
i am developing a android app with firebase leaderboard, it working well, but crash when i click on leaderboard,
here is stack trace logs,
i am getting 2 error:
E/UncaughtException: java.lang.IndexOutOfBoundsException: Invalid index 1, size is…

sanjay
- 3
- 1
-1
votes
1 answer
Get Facebook friends ids to get their picture and make my leaderboard
A few months ago I used to get Facebook friends ids with the graph api friendlists field. With this ids I was able to to get their friends picture with this kind of url : https://graph.facebook.com/{facebookId}/picture?type=square
It doesn't work…

Alex9494
- 1,588
- 3
- 12
- 22
-1
votes
1 answer
Play Game service Leaderboard Error
I've been tried the leaderboard but get errors, my app is called "Flindev I Love You", already uploaded to playstore.
Below is the error:
Screenshot that show only 2 users:
Screenshot that when I try using other account, it only show itself…

stickylab
- 1
- 2
-1
votes
3 answers
Exactly what does handleData do in a reactjs script?
I have made it this far with a FreeCodeCamp project, with a bit of help from some folks who have traveled further down the react.js road.
Before I go on, though, can someone please explain to me exactly what "this.handleData" accomplishes in the…

John Gillespie
- 87
- 2
- 9
-1
votes
1 answer
How to save facebook user score and get (top 10) Facebook friends High Score?
I'm using parse.com to save my game score. I'm also using Facebook sdk in my game. In my game there is two leader-board that's why I'm using parse.com to save users and user's friends score. But Don't know how to get top 10 Facebook friends high…

Sourav Mishra
- 501
- 4
- 21
-1
votes
1 answer
PHP and mysql leaderboard wont display information
I am trying to display mysql data in a table except nothing is being display.
prepare("SELECT name,kill,death from `player`");
$query->execute();
…

ZiiM
- 31
- 1
- 6
-1
votes
2 answers
Achievements and Leaderboars not showing up
I'm a newbie in android programming, having started a few months ago only. I've always found an answer to my questions up to now, but this particular one seems not to exist. I may be missing something obiouvs but I try to ask anyway.
I'm dealing…

ketryu
- 59
- 4
-1
votes
1 answer
Google Play Games (Leaderboard): Get Best score from yesterday
Is it possible with Google Play Games to find out the 1st place from yesterday in leaderboard?
Now it is only possible to find out the best score from today, weekly or all-time.
The Daily leaderboards reset at midnight PST every day, and weekly…

Oli
- 1,407
- 3
- 30
- 47
-1
votes
1 answer
php: Reordering an array and its subkeys
i am basically trying to make a leaderboard system. I need to put 2 types of data in my .yml file: the name of the player, and their score.
Here is a var dump:
array(3) {
[0]=>
array(2) {
[0]=>
string(10) "samueljh1_"
…

Samueljh1
- 129
- 1
- 11
-1
votes
1 answer
Leaderboard position SQL
He there,
I've found a lot of questions like this one, but I cannot seem to work it out. So I'm gonna ask it and hope that someone can help me with this specific problem (or direct me to the question if it is a duplicate).
I have the following…

Shark
- 216
- 4
- 14
-1
votes
1 answer
Android Leaderboard Playstore Game Services
Is it somehow possible to set the public leaderboard to be the default one.
I am talking about the option when you show your leaderboard where is like
Social - All
I cannot find any option in Playstore's Game Services.

Naskov
- 4,121
- 5
- 38
- 62
-1
votes
1 answer
How to Make a Leaderboard System in Google Spreadsheets
I am an Eighth Grader and I am trying to make a leaderboard program using Google Spreadsheets that calculates how many different states a certain class has gotten. I don't know how to make it so that it will COUNTUNIQUE the number of times that a…

Josh Smith
- 84
- 1
- 14