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

Killed my API scripts page

Hi all.&nbsp;My board isn't working when clicking on the API scripts. After trying to add a script for the first time, it now displays a black screen that I cannot interface with. Here it is: <a href="https://app.roll20.net/campaigns/scripts/1441752" rel="nofollow">https://app.roll20.net/campaigns/scripts/1441752</a> That's dead, good and proper. Thankfully I created a backup to my game and I can access the API Scipts on that one... For those curious, what caused it was when I copy/pasted a script from Github, I didn't do it from the raw page. Roll20 did not like that. Any ideas as to how I can fix it?
Hi, Gregor Eisenhorn . I'm sorry to hear that you're having issues with the site. Could you please carefully work through the first three steps of our guide to Solving Technical Issues ? Step 1: Make sure to use the right browser Please check if these issues persist when using both Chrome and Firefox. Step 2: Ensure that there are no extensions/addons interfering with Roll20 Please disable all add-ons/extensions and anti-virus programs. Step 3: Clear your cache If none of the above succeeds, please thoroughly work through Step 4 . (Don't forget the complete Console Log!) Thank you!
Hi Silvyre, To reiterate, my API scripts page work absolutely fine on the copy of the game I made. It's in the original copy I messed something up badly. However for completeness sake, I did steps one through three anyway. Please note that other people are able to confirm that the API scripts page for that one specific game I messed up on is indeed completely black and non-interactive. I'll look into posting a bug report.
Operating System Windows Windows 8.1 Screen Resolution 1536 x 864 Web Browser Chrome 56.0.2924.87 Browser Size 1920 x 920 Color Depth 24 bit Javascript Enabled Flash Version 24.0.-1 Cookies Enabled Anti Virus: Kaspersky Extensions: Adblock, Kaspersky Protection I don't think any of the above is causing the issue. The scripts API page is fine in each of my other games. Console Log of the Black API Scripts Page: Uncaught TypeError: define.register is not a function at github-9eb47fb….js:2 (anonymous) @ github-9eb47fb….js:2 ace.js:1 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message o @ ace.js:1 onCursorChange @ ace.js:1 r._emit.r._dispatchEvent @ ace.js:1 (anonymous) @ ace.js:1 r._signal @ ace.js:1 setPosition @ ace.js:1 onChange @ ace.js:1 r._signal @ ace.js:1 applyDelta @ ace.js:1 insertMergedLines @ ace.js:1 insert @ ace.js:1 setValue @ ace.js:1 setValue @ ace.js:1 (anonymous) @ 1441752:632 each @ v2.js?1485974599:1 each @ v2.js?1485974599:1 (anonymous) @ 1441752:624 u @ v2.js?1485974599:2 fireWith @ v2.js?1485974599:2 ready @ v2.js?1485974599:2 o @ v2.js?1485974599:1 ace.js:1 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message o @ ace.js:1 onCursorChange @ ace.js:1 r._emit.r._dispatchEvent @ ace.js:1 (anonymous) @ ace.js:1 r._signal @ ace.js:1 setPosition @ ace.js:1 moveCursorTo @ ace.js:1 moveTo @ ace.js:1 setValue @ ace.js:1 (anonymous) @ 1441752:632 each @ v2.js?1485974599:1 each @ v2.js?1485974599:1 (anonymous) @ 1441752:624 u @ v2.js?1485974599:2 fireWith @ v2.js?1485974599:2 ready @ v2.js?1485974599:2 o @ v2.js?1485974599:1 1441752:6 GET <a href="https://js-agent.newrelic.com/nr-1016.min.js" rel="nofollow">https://js-agent.newrelic.com/nr-1016.min.js</a> r @ 1441752:6 1441752:995 Auth success! ace.js:1 Use of document.insertLines is deprecated. Use the insertFullLines method instead. insertLines @ ace.js:1 (anonymous) @ 1441752:998 (anonymous) @ firebase.js?2:85 fc @ firebase.js?2:39 yd @ firebase.js?2:85 wd.Eb @ firebase.js?2:85 zd.Eb @ firebase.js?2:86 (anonymous) @ firebase.js?2:103 Ec @ firebase.js?2:51 (anonymous) @ firebase.js?2:103 Sa @ firebase.js?2:20 Wd @ firebase.js?2:103 W @ firebase.js?2:103 r.Yb @ firebase.js?2:111 r.Xb @ firebase.js?2:77 Uc.Xb @ firebase.js?2:71 (anonymous) @ firebase.js?2:69 Rc @ firebase.js?2:65 W.onmessage @ firebase.js?2:64 ace.js:1 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message o @ ace.js:1 onCursorChange @ ace.js:1 r._emit.r._dispatchEvent @ ace.js:1 (anonymous) @ ace.js:1 r._signal @ ace.js:1 setPosition @ ace.js:1 onChange @ ace.js:1 r._signal @ ace.js:1 applyDelta @ ace.js:1 insertMergedLines @ ace.js:1 insertFullLines @ ace.js:1 insertLines @ ace.js:1 (anonymous) @ 1441752:998 (anonymous) @ firebase.js?2:85 fc @ firebase.js?2:39 yd @ firebase.js?2:85 wd.Eb @ firebase.js?2:85 zd.Eb @ firebase.js?2:86 (anonymous) @ firebase.js?2:103 Ec @ firebase.js?2:51 (anonymous) @ firebase.js?2:103 Sa @ firebase.js?2:20 Wd @ firebase.js?2:103 W @ firebase.js?2:103 r.Yb @ firebase.js?2:111 r.Xb @ firebase.js?2:77 Uc.Xb @ firebase.js?2:71 (anonymous) @ firebase.js?2:69 Rc @ firebase.js?2:65 W.onmessage @ firebase.js?2:64
Thank you. I've brought your issue to the attention of the Roll20 Dev Team, who will take a look.
This may be relevant:&nbsp;
1487446091
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
You pasted in HTML and not a JavaScript API script. I've removed the HTML and your game should be fixed.