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

[Bug Report] The Aaron's Walls.js

1485949567
Andrew C
Marketplace Creator
I was using the Walls.js Script... and the API Console spat out this bunch of bugs... Since I don't speak Javascript... HELP. I don't want to hand-make these walls if at ALL avoidable. ------ Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info... For reference, the error message generated was: TypeError: Cannot read property 'replace' of undefined TypeError: Cannot read property 'replace' of undefined at fixNewObject (apiscript.js:233:15) at apiscript.js:144:13 at Function._.each._.forEach (/home/node/d20-api-server/node_modules/underscore/underscore.js:153:9) at Object.Walls.HandleInput (apiscript.js:76:9) at apiscript.js:199:13 at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:146:34), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:146:34), <anonymous>:70:8) at /home/node/d20-api-server/api.js:1494:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
1485957116
The Aaron
Pro
API Scripter
Hmmm. Can you PM me the commands it made? I can try running then and see what happens. 
1486027078
Andrew C
Marketplace Creator
Message about to be sent.
1486128729
The Aaron
Pro
API Scripter
Fixed! &nbsp;It was a case of having an older version (0.1.0, the FIRST version!). &nbsp;It turns out I never updated the link on the original Walls post, but I have now! &nbsp;Here is the original post:&nbsp; <a href="https://app.roll20.net/forum/post/1337473/script-w" rel="nofollow">https://app.roll20.net/forum/post/1337473/script-w</a>... If anyone is looking for the latest version directly, it will be here:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/Wa" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Wa</a>... Happy Rolling!
1486129431

Edited 1486129444
Andrew C
Marketplace Creator
Aaaaaaaaaah there we go only marginal incompetence!