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

MapLock script error help

1458007556
Tim
Pro
Sheet Author
Heya, can anyone help me get  MapLock working?  If I run "!map-lock --help" that works fine, but when I try to use the actual functionality it returns this error which means nothing to me: /home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:1 orts, require, module, __filename, __dirname) { function g(a){throw a;}var j=v ^ ReferenceError: $d is not defined at evalmachine.<anonymous>:30494:17 at Function._.each._.forEach (/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:153:9) at _.(anonymous function) [as each] (/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:1496:34) at tintGraphics (evalmachine.<anonymous>:30492:14) at evalmachine.<anonymous>:30523:37 at Function._.each._.forEach (/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:153:9) at handleInput (evalmachine.<anonymous>:30518:31) at eval (
1458041023
The Aaron
Forum Champion
API Scripter
Sorry Tim! &nbsp;I accidentally left some debugging code in that script when I deployed it last. &nbsp;I'll add a filter to my deploy script to prevent that from happening in the future. &nbsp;I've pushed an updated version without that code: <a href="https://github.com/shdwjk/Roll20API/blob/master/Ma" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Ma</a>...
1458064152
Tim
Pro
Sheet Author
That's awesome, thanks Aaron - you rule!