[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]
The code is written to act as a chatroom, made just for funzies. But when a third user enters, the data limit is hit and the whole thing crashes. I get a crash report
"
WARNING: Line: 81: Data access rate limit exceeded; Please wait 10 seconds before retrying. The app is reading/writing data too many times per second. If you were trying to write data, it wasn’t written.
WARNING: Line: 55: Data access rate limit exceeded; Please wait 10 seconds before retrying. The app is reading/writing data too many times per second. If you were trying to write data, it wasn’t written.
WARNING: Line: 81: Data access rate limit exceeded; Please wait 10 seconds before retrying. The app is reading/writing data too many times per second. If you were trying to write data, it wasn’t written.
"
I’ve tried to change the for loops to use timedLoop(), setInterval(), and removing entirely. The only thing that half worked was removing them, but then nothing was sending and data wasn’t kept in line within the record tables. I’m wondering what I can do to either scale the loading speed to account for the user count, or what I can put in place of these for loops to make it not crash at 3 people.
important note
I cannot use really any other coding platform with Data records. Scratch is blocked on the IP and hardware, and all other IDEs that I know of do not work, thus code.org being my only (known) option for such a project. This is entirely for fun and is not meant to bend rules or cause turmoil.