Need help to make an online leaderboard

I been trying make an online leaderboard for a group project. I am currently trying test what is going wrong with it. This is outline that I have so far.


Why use two CloudDB instances?

These blocks
image
could just be GetValue tag:Score

If more than one device uses this Score will be overwritten by the other user...

Thank you there is no bug now, but it doesn't solve it when I use the app.


This is the first that records the name and school

This screen actually holds the leaderboard

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.

export_and_upload_aia

.
Going offline for a day.

I leave this to whoever can deal with it.

To all I have offended, I beg forgiveness.
(To all I have not yet offended, well, there's always next year.)

You used the wrong tag when you asked clouddb for the top 5 score list.

Compare that to the tag you use to send it to clouddb.

I see you used my sample tag 'ABG'.

The clouddb tag is used to keep all the values separate from each other, so you get your top 5 list instead of some one else's shopping list.

Reaction_Screen_checkpoint2.aia (255.8 KB)

Thank you, for the help on my leaderboard. I realize the issues was with the index of the list, making it compare name instead of the score. Thank you for providing the background knowledge.

I opened the aia, and looked at the blocks.

I hope you fixed this by yourself in the hour between that and your next post.

Anyway, you had
image

where you should have had
image

Do you see the difference?

Also, this will cause sorting errors, like '10 milliseconds' < '9 milliseconds'


(That's because it looks at the first character, and '1' < '9')

Leave out the 'milliseconds' text, just keep the numbers, to force numeric sorting instead of alphabetic sorting.