Hi there, I just subscribed to the Pro version of Roll20 to be able to use the API functions. I am trying to specifically use the Walls script to take an SVG file I made using DungeonFog and then tweaking it inside of GIMP. The data I get when I use the SVG Parser looks like this: !walls begin !walls viewbox 1750 1750 !walls strokecolor #ff0000 !walls fillcolor transparent !walls strokewidth 8 !walls moveto 827.64 279.91 !walls curveto 827.64 279.91 775.16 279.91 775.16 279.91M !walls curveto 349.89 209.93 !walls curveto 349.89 209.93 1119.63 209.93 1119.63 209.93 !walls curveto 1119.63 209.93 1119.63 279.91 1119.63 279.91 !walls curveto 1119.63 279.91 349.89 279.91 349.89 279.91 !walls curveto 349.89 279.91 349.89 209.93 349.89 209.93 !walls curveto 349.89 209.93 1119.63 209.93 1119.63 209.93 !walls moveto 699.77 622.71 !walls curveto 699.77 622.71 699.77 570.23 699.77 570.23M !walls curveto 909.70 566.90 !walls curveto 909.70 566.90 909.70 619.38 909.70 619.38M !walls curveto 699.77 279.91 !walls curveto 699.77 279.91 909.70 279.91 909.70 279.91 !walls curveto 909.70 279.91 909.70 909.70 909.70 909.70 !walls curveto 909.70 909.70 699.77 909.70 699.77 909.70 !walls curveto 699.77 909.70 699.77 279.91 699.77 279.91 !walls curveto 699.77 279.91 909.70 279.91 909.70 279.91 !walls moveto 699.77 489.84 !walls curveto 699.77 489.84 279.91 489.84 279.91 489.84 !walls curveto 279.91 489.84 279.91 769.75 279.91 769.75 !walls curveto 279.91 769.75 699.77 769.75 699.77 769.75 !walls curveto 699.77 769.75 699.77 629.79 699.77 629.79 !walls curveto 699.77 629.79 699.77 769.75 699.77 769.75 !walls curveto 699.77 769.75 279.91 769.75 279.91 769.75 !walls curveto 279.91 769.75 279.91 489.84 279.91 489.84 !walls curveto 279.91 489.84 699.77 489.84 699.77 489.84 !walls curveto 699.77 489.84 279.91 489.84 279.91 489.84 !walls moveto 699.77 559.82 !walls curveto 699.77 559.82 699.77 629.79 699.77 629.79 !walls curveto 699.77 629.79 699.77 769.75 699.77 769.75 !walls curveto 699.77 769.75 279.91 769.75 279.91 769.75 !walls curveto 279.91 769.75 279.91 489.84 279.91 489.84 !walls curveto 279.91 489.84 699.77 489.84 699.77 489.84 !walls curveto 699.77 489.84 699.77 559.82 699.77 559.82 !walls curveto 699.77 559.82 699.77 629.79 699.77 629.79 !walls moveto 909.70 559.82 !walls curveto 909.70 559.82 909.70 489.84 909.70 489.84 !walls curveto 909.70 489.84 1609.47 489.84 1609.47 489.84 !walls curveto 1609.47 489.84 1609.47 979.68 1609.47 979.68 !walls curveto 1609.47 979.68 1049.66 979.68 1049.66 979.68 !walls curveto 1049.66 979.68 1049.66 699.77 1049.66 699.77 !walls curveto 1049.66 699.77 909.70 699.77 909.70 699.77 !walls curveto 909.70 699.77 909.70 629.79 909.70 629.79 !walls curveto 909.70 629.79 909.70 559.82 909.70 559.82 !walls curveto 909.70 559.82 909.70 489.84 909.70 489.84 !walls end And when I run it I get these following errors: For reference, the error message generated was: Error: Firebase.set failed: First argument contains NaN in property 'width'
Error: Firebase.set failed: First argument contains NaN in property 'width'
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186)
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207)
at Aa (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462)
at J.set (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:98)
at createObj (/home/node/d20-api-server/api.js:2738:26)
at buildPath (apiscript.js:151:9)
at Array.forEach (<anonymous>)
at buildWalls (apiscript.js:169:49)
at handleInput (apiscript.js:212:21)
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16) I'm really not sure what to make of this and how to fix it.. if anyone could give me some pointers on this I'd really appreciate it. I'm trying to build some maps for my players and this is all just frying my brain after a long day at work. Any help would be super great and thank you so much!