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

Went Pro, added one simple Script (Torch,) broke game — little help?

A detailed description of the issue. The more information you can give us, the better able we'll be to fix the issue promptly! I recently upgraded to Pro. The only API Script I attempted to add was Torch. I used the straightforward system outlined on the API Scripts Page (drop down menu of Script Library, add script, activate, play.) The game ran totally fine for about an hour or two, then I opened a door on the Dynamic Lighting Layer (not the first) and everything went to crap permanently for everyone. I have included screen shots below: &nbsp; Additional weird symptom is that once I Command-L to see from a player's view as GM, I am unable to escape that mode without going to the toolbar and selecting a different layer. Definitely VERY gun shy to try anything else until I know what happened! Thank you! Step by step instructions on how to reproduce the issue. No idea. Not sure at all what went wrong. Your computer's settings (A good place to find this info if you don't know it is&nbsp; Support Details ): Web Browser — Chrome Browser Version — 83.0.4103.61 Operating System — Mac OS Mojave 10.14.6 If Javascript is enabled — Yes Your anti-virus software — None List of any browser add-ons or extensions enabled — Amazon Assistant, Block Site, Cisco WebEx, Dropbox for Gmail, Google Docs Offline, Honey, Netflix Enhancement Suit, WikiBuy, Docs, Sheets, Slides A Console Log from the moment you logged into the page through when you encountered the issue. app.roll20.net/:12 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'sha256-dm6tOb8rwEmENe5+ec26sQvlH6Xd1CBZ7IvtZ4kJ1og=' 'sha256-jlxVUPsj/qdPM120UwbjpC4Tw7dq+obb7SYUV+lSfrI=' 'nonce-0XtdvVj78nGrlJdq' <a href="http://cdn.inspectlet.com" rel="nofollow">http://cdn.inspectlet.com</a> https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a> *.sentry-cdn.com". Either the 'unsafe-inline' keyword, a hash ('sha256-OMyQhVbnIqwNNnJvo7GM4mpqRJhIyJ7m8jLoaRRzeJE='), or a nonce ('nonce-...') is required to enable inline execution. app.roll20.net/:13 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'sha256-dm6tOb8rwEmENe5+ec26sQvlH6Xd1CBZ7IvtZ4kJ1og=' 'sha256-jlxVUPsj/qdPM120UwbjpC4Tw7dq+obb7SYUV+lSfrI=' 'nonce-0XtdvVj78nGrlJdq' <a href="http://cdn.inspectlet.com" rel="nofollow">http://cdn.inspectlet.com</a> https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a> *.sentry-cdn.com". Either the 'unsafe-inline' keyword, a hash ('sha256-qVYrPnagNKEzS5s6LlcrxJKcs6IKoT9oK0WNX+tQu50='), or a nonce ('nonce-...') is required to enable inline execution. jquery.migrate.js:20 JQMIGRATE: Logging is active app.roll20.net/:15 CAMPAIGN ID: 7079225 app.js?1590778361:552 70 app.js?1590778361:553 Custom Sheet Translation app.js?1590778361:557 TOUCH SUPPORTED: false app.js?1590778361:557 USING WEBGL ACCELERATION... app.js?1590778361:557 WEBGL STARTUP SUCCESS app.js?1590778361:574 Loading Custom character sheet. app.js?1590778361:574 Including compendium template css. tutorial_tips.js:7 tuts loaded app.roll20.net/:1 [DOM] Found 2 elements with non-unique id #0: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;select aria-selected=​"true" class=​"chosen filter-search_filter-value" data-filter-num=​"0" data-match-type=​"Any" id=​"0" multiple name=​"expansion"&gt;​…​&lt;/select&gt;​ &lt;input class=​"filter-search_filter-value" data-filter-num=​"0" data-match-type=​"Any" id=​"0" name=​"Feat Name" type=​"text" value&gt;​ app.roll20.net/:1 [DOM] Found 2 elements with non-unique id #1: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;input class=​"filter-search_filter-value" data-filter-num=​"1" data-match-type=​"Any" id=​"1" name=​"data-Alignment" type=​"text" value&gt;​ &lt;select name=​"Feat Type[]​" id=​"1" class=​"chosen filter-search_filter-value multiselect" multiple=​"multiple" aria-selected=​"true" data-filter-num=​"1" data-match-type=​"Any" placeholder=​"Select Some Options"&gt;​…​&lt;/select&gt;​ app.roll20.net/:1 [DOM] Found 2 elements with non-unique id #color_value: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ sheetsandboxworker.js?1591040785927:682 Starting up WEB WORKER sheetsandboxworker.js?1591040785936:682 Starting up WEB WORKER app.js?1590778361:565 Final page load. app.js?1590778361:563 Auth'ed. app.js?1590778361:563 Go post auth! app.js?1590778361:563 initial setup VM2052:3 Uncaught TypeError: Cannot read property 'id' of undefined &nbsp; &nbsp; at Object.eval (eval at jqotec (base.js?1578419093:20), &lt;anonymous&gt;:3:76) &nbsp; &nbsp; at HTMLScriptElement.&lt;anonymous&gt; (base.js?1578419093:20) &nbsp; &nbsp; at Function.each (jquery-1.9.1.js:648) &nbsp; &nbsp; at jQuery.fn.init.each (jquery-1.9.1.js:270) &nbsp; &nbsp; at jQuery.fn.init.jqote (base.js?1578419093:20) &nbsp; &nbsp; at Object.d20.journal.refreshSpeakingAsOptions (app.js?1590778361:574) &nbsp; &nbsp; at Object.d20.journal.refreshJournalList (app.js?1590778361:574) &nbsp; &nbsp; at app.js?1590778361:574 app.js?1590778361:564 joining game... app.js?1590778361:561 Player -M5V3-STcji_eGQ3vP9q is offline... app.js?1590778361:228 THREE.WebGLRenderer 69 app.js?1590778361:561 Player -M5VLFmmozyexMjAnzRJ is offline... app.js?1590778361:561 Player -M5cue9ht9mKUW4aU8CG is offline... app.js?1590778361:561 Player -M5eD6smuSi4jRtLkdM- is offline... app.js?1590778361:561 Player -M5i2LXnllVob4B8PFRd is offline... app.js?1590778361:564 Deferred finish joining... app.js?1590778361:552 Firebase Online 9app.js?1590778361:560 Full load page! app.js?1590778361:563 We have 9 pages app.roll20.net/:1 [DOM] Found 10 elements with non-unique id #color_value: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ app.roll20.net/:1 Access to image at '<a href="https://imgsrv.roll20.net/?src=&amp;cb=5" rel="nofollow">https://imgsrv.roll20.net/?src=&amp;cb=5</a>' from origin '<a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. imgsrv.roll20.net/?src=&amp;cb=5:1 Failed to load resource: net::ERR_FAILED app.roll20.net/:1 Access to image at '<a href="https://imgsrv.roll20.net/?src=http%3A//www.seton-school.org/Resources/Graphics/Key.jpg&amp;cb=5" rel="nofollow">https://imgsrv.roll20.net/?src=http%3A//www.seton-school.org/Resources/Graphics/Key.jpg&amp;cb=5</a>' from origin '<a href="https://app.roll20.net" rel="nofollow">https://app.roll20.net</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. imgsrv.roll20.net/?src=http%3A//<a href="http://www.seton-school.org/Resources/Graphics/Key.jpg&amp;cb=5:1" rel="nofollow">www.seton-school.org/Resources/Graphics/Key.jpg&amp;cb=5:1</a> Failed to load resource: net::ERR_FAILED 4app.js?1590778361:552 Error loading graphic, probably due to CORS. Trying once without CORS for&nbsp; (anonymous) @ app.js?1590778361:552 app.js?1590778361:552 Error loading graphic, probably due to CORS. Trying once without CORS for <a href="http://www.seton-school.org/Resources/Graphics/Key.jpg" rel="nofollow">http://www.seton-school.org/Resources/Graphics/Key.jpg</a> (anonymous) @ app.js?1590778361:552 app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794862" rel="nofollow">http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794862</a>'. This content should also be served over HTTPS. app.js?1590778361:552 Error loading graphic, probably due to CORS. Trying once without CORS for <a href="http://www.seton-school.org/Resources/Graphics/Key.jpg" rel="nofollow">http://www.seton-school.org/Resources/Graphics/Key.jpg</a> (anonymous) @ app.js?1590778361:552 app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794864" rel="nofollow">http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794864</a>'. This content should also be served over HTTPS. app.js?1590778361:552 Second load attempt failed for ?1591040794858 s @ app.js?1590778361:552 app.js?1590778361:552 Second load attempt failed for ?1591040794854 s @ app.js?1590778361:552 app.js?1590778361:552 Second load attempt failed for ?1591040794860 s @ app.js?1590778361:552 app.js?1590778361:552 Second load attempt failed for ?1591040794857 s @ app.js?1590778361:552 s3.amazonaws.com/files.d20.io/images/28859460/lTd0WuOepGuhEF6w6POywQ/thumb.png?148719354755:1 Failed to load resource: the server responded with a status of 403 (Forbidden) app.js?1590778361:552 Error loading graphic, probably due to CORS. Trying once without CORS for <a href="https://s3.amazonaws.com/files.d20.io/images/28859460/lTd0WuOepGuhEF6w6POywQ/thumb.png?14871935475" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/28859460/lTd0WuOepGuhEF6w6POywQ/thumb.png?14871935475</a> (anonymous) @ app.js?1590778361:552 <a href="http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794862:1" rel="nofollow">www.seton-school.org/Resources/Graphics/Key.jpg?1591040794862:1</a> Failed to load resource: net::ERR_NAME_NOT_RESOLVED <a href="http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794864:1" rel="nofollow">www.seton-school.org/Resources/Graphics/Key.jpg?1591040794864:1</a> Failed to load resource: net::ERR_NAME_NOT_RESOLVED app.js?1590778361:552 Second load attempt failed for <a href="http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794862" rel="nofollow">http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794862</a> s @ app.js?1590778361:552 app.js?1590778361:552 Second load attempt failed for <a href="http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794864" rel="nofollow">http://www.seton-school.org/Resources/Graphics/Key.jpg?1591040794864</a> s @ app.js?1590778361:552 s3.amazonaws.com/files.d20.io/images/28859460/lTd0WuOepGuhEF6w6POywQ/thumb.png?148719354751591040797584:1 Failed to load resource: the server responded with a status of 403 (Forbidden) app.js?1590778361:552 Second load attempt failed for <a href="https://s3.amazonaws.com/files.d20.io/images/28859460/lTd0WuOepGuhEF6w6POywQ/thumb.png?148719354751591040797584" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/28859460/lTd0WuOepGuhEF6w6POywQ/thumb.png?148719354751591040797584</a> s @ app.js?1590778361:552 9[.WebGL-0x7fbdc80b7c00]RENDER WARNING: Render count or primcount is 0. app.js?1590778361:557 Debounced init page! app.js?1590778361:557 Debounced init page! 2DevTools failed to load SourceMap: Could not load content for <a href="https://app.roll20.net/js/d20/underscore-min.map" rel="nofollow">https://app.roll20.net/js/d20/underscore-min.map</a>: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
1591046952
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Quick question: Are you using Updated Dynamic Lighting or Legacy? Since this seems to be a DL issue (due to the change in the DL layer seemingly setting it off), it might help folks if you post the DL settings of the page, and the light and vision settings on the torch.
Hey @keithcurtis , thanks for the assist. I'm using the Legacy lighting and here are the page settings: It wasn't actually a torch token that set off the bug (unless it was, but...) it seemed to occur when I opened a "door" on the DL Layer. That being said, we are/were using torch tokens, but they've never been an issue. i was more referrring to the new thing being the "Torch" API Script. We were trying that for the first time.&nbsp;
Hello DMPC, I've been using Torch now for five years and have never experienced a problem with it. I used it several dozen times last night during a four hour session. If it is a problem related to Torch I'd be interested in that and will follow this thread. It seems like a matter of bad timing.&nbsp; Scripts can, and do, interfere with each other. But since you have only one script going....
1591143008

Edited 1591145262
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I'm kind of stumped. I am curious about the grey area in the first shots What is that? Usually unseen DL is black as is unrevealed AFoW, whereas revealed AFoW is the map background, darkened and without tokens. What are we looking at?
Yep, agreed, it's a weird one. The gray was once simply all the exposed map. In other words, what had been revealed by fog of war. All was fine, then after the glitch hit it looked like this for everyone. And though you'll notice the light *seems* to penetrate it in that closeup shot, when moving a token out "into" it, it does not reveal or react to the light source.
1591370149

Edited 1591370538
It absolutely looks to me like you either grabbed the map and moved it (dynamic lighting is still there), or you somehow dropped it to another layer.&nbsp; Looking again that might not be right, but the fact that you couldn't get out of player view suggests that there is no map to click on (since you usually click on the map to exit player view).&nbsp; Did you maybe have advanced keyboard shortcuts on and inadvertently change to a different layer? 4th edit:&nbsp; Maybe the opacity got turned way up?&nbsp; Sorry, just brainstorming.