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

No Script Changes - Yet Something Broke

1479912064

Edited 1479912315
I haven't played in my campaign in ~6 weeks. I noticed this morning that my sandbox won't initialize. I narrowed it down to the Time Tracker script I am using.  ( link ) To try and debug it, I did the following: Created a fresh campaign with no other API scripts . Added that script as the default name of "untitled.js". Verified the sandbox initialized. Changed the title from "untitled.js" to "Time Tracker" and clicked Save Script. Verified the sandbox is now failing to initialize with a "SyntaxError: Unexpected identifier" error. This wasn't an issue ~6 weeks ago. Something happen?
1479912236
The Aaron
Pro
API Scripter
Is that the only script you have installed?
Yes.  As part of my test, it is the *only* script.  All I do is rename it and it stops working.
Well.. right now the sandbox won't even start with 0 scripts.  It just sits at "Previous shutdown complete, starting up..."
1479913330
The Aaron
Pro
API Scripter
Hmm..  Weird.  You have the VTT for your test game open, right?  Refresh it and then re-save on the sandbox and see if it starts up.
I ended up deleting my test campaign and creating a new test campaign.  I'm back to reproducing the original issue at this point. I also ended up deleting and re-adding the script to my "real" campaign.  The API seems to be working there.  So this is less of an issue. I just find it odd that renaming *this* particular script in an all-but-empty campaign causes the script to break. Thanks for the assist.
1479918466
The Aaron
Pro
API Scripter
That is strange.  I've seen some weird behavior from having a script tab named the same thing as a script in the 1-click install list, so maybe you hit that jackpot?