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

API crashes

Hi! I recently got the pro version of the game and installed a bunch of APIs that were recommended by many users. The thing is, I ran my first game with them yesterday and I kept having to restart the scripts for them to work. This morning, I was able to reproduce one of the errors and it gives me this. Here is the list of script I got: As I am not a scripter myself, I have no clue where to start or what to look for. From what I understand, it seems that maybe a scrpipt has a syntax error (the "." should be ";" maybe?), but I do not know which script it is or where to fix it. If you guys need more information, let me know, but I would greatly appreciate the help. Thanks!
You can narrow down the problem by disabling half the scripts, then trying to replicate the error.  Keep narrowing down to find which script is throwing the error.  Then at least you know which script needs an in-depth look. There is one problem that's easy to fix.  Roll20 concatenates all the scripts into one long script to run, and sometimes an error shows up where two scripts run together because one was not ended correctly.  You can fix that by adding a semicolon on a separate line at the beginning and end of a suspect script.  Scripts in the one-click menu are probably not the problem, so I would start with the two that you have that are not one-click, TokenAction and ApplyDamage.