Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Have to restart every time

Every time I leave my game and come back to it the sandbox has found some kind of errors and I have to restart it. Everything works fine after I restart it but I have to do it every time I launch the game again. What can I do to fix this?
1592969222
The Aaron
Roll20 Production Team
API Scripter
What does the error message say?
At first there was "Possible infinite loops" but now it's a long string of things mostly saying "undefined".
1592976536
The Aaron
Roll20 Production Team
API Scripter
There's a long string of things you can do to fix those problems.  But I can't tell you any of them without more details. Here are explicitly what would be useful to help you: A list of all the scripts you have installed.  If they're all from the one click script library, a screenshot will do. If not, we need to know where they came from.  The actual errors that happen. Preferably copy pasted here, but screenshot if that's what you have to do.  The circumstances under which the crash occurs. Commands you run, or actions you take, whatever.  When you can provide those things, the community can assist you. We can't do anything with vague statements. 
1593109266
The Aaron
Roll20 Production Team
API Scripter
Ok.  What scripts do you have installed.  Whatever script is causing the problem has a createObj() call in the global scope, so it's not possible to identify it from the call stack alone.
I tried deleting each and re-installing it.
1593121575
The Aaron
Roll20 Production Team
API Scripter
Quartz said: I tried deleting each and re-installing it. And did that's have any effect positive or negative?
It didn't have any effect.
My advice is you have small number of scripts installed. I would disable each. Then restart your api. Once all scripts are disabled and you have no error start up each by reenabling. Usually when the error its the last one you just activated. 
1593130901
The Aaron
Roll20 Production Team
API Scripter
So, to be clear, disabling all scripts you still get the error?
ok I'll try that. no error when scripts are disabled.
1593138360
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Quartz  said: no error when scripts are disabled. Mark (GM) said: Once all scripts are disabled and you have no error start up each by reenabling. Usually when the error its the last one you just activated.  To be clear, that's enable one script, test, enable the next script test, and so forth until you get an error message.
oh ok. thank you for your help.
1593142566
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I hope I didn't come off as harsh. That was totally not my intent. I just want to help you troubleshoot this methodically.
No offense taken. :)