Problem with a highscore list

Hello, I followed a forum topic, to create an application for my airsoft shooting range. But I encounter a problem during the tests, when I enter a nickname and I click on save it marks me: Select list item: Attempt to get item number 2 of a list of length 1: [[0, "Lucky luke!" , "March 25, 2022"]].
It worked for a while as seen in the photo. But not anymore ...
I'm not good with app inventor, and despite 3 days of google search couldn't find a solution.



use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

and concerning the screenshot you might get more help if you switch the language to English before taking the screenshot, see also How to ask a question (open new topic)

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Thank you and sorry I will put the blocks back in English. I tried do it but nothing more.

in your while loop you forgot to check, if the list is long enough...
only increment the insertion_point if length of list > insertion_point

Unbenannt

Taifun

Thank you, I managed to solve my problem by modifying the index 0 by 60. 60 being the maximum possible time.