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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Internals: Provide a URL to trigger 'scriptrestart' and clearing 'errorlock'

1) Could you please provide a URL on app.roll20.net to do the equivalent of the 'scriptrestart' and 'errorlock = null' triggers that can be used to restart the script API host?   During API Script development, I am able to upload my modified scripts to .../save_script/... but it appears that restarting to load them requires using Firebase?    This isn't reasonable to do from the command line I think, unless you can provide a tool or some guidance.    I realize this isn't supported API, but could you please just help out the dev community? 2) While poking around in there, I noticed that the input to /campaigns/save_script is not validated.  Putting the wrong stuff instead of form data in the body permanently broke one of my game rooms.  After the upload, it was impossible to browse to the API scripts console any more and I had to delete the campaign.  Again, I realize this isn't supported API, but I wanted to let you know that there is some validation missing and the results of a bug hitting that would be bad.
1542117052
Robin
API Scripter
This would be very helpful indeed. Would love to see this implemented.
+1 to anything to allow programmers to efficiently program scripts
1550175633
[Deleted]
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .