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 .
×
May your rolls be merry + bright! 🎄
Create a free account

[Help] Its a Trap - no VTT Configuration appearing

I installed "It's a Trap" API script, inclusive "Pathfinder theme" and required sub scripts: HTML Builder Vector Math MatrixMath Path Math Character Sheet Utils Token Collisions It's a Trap! It's a Trap! - Pathfinder theme Made the TrapMaker button visible via macro bar, as written in the script documentation. Selected the trap token (on the GM layer) and the TrapMaker button afterwards, but then appears no VTT Configuration in the chat. Need your help: what did I wrong? I already searched for a solution, but didn't find a related hint. Here is the related log from the API Output Console, if helpful: "It's A Trap!: Registered TrapTheme - default." "*** Initialized Welcome Package v1.3.2 ***" "-=> HL-Import v0.5 <=-  [Mon Mar 14 2016 01:49:21 GMT+0000 (Coordinated Universal Time)]" "It's A Trap!: Registered TrapTheme - Pathfinder-Generic." "Pathfinder trap theme - auto-detected character sheet: Roll20" "%c���.����.���*����`*���.����.���*����`*���.��  The Aaron Sheet  v0.2.5  ��.���*����`*���.����.���*����`*���.����.���" "%c���.����.���*����`*���.����.���*����`*���.��  Last update: Wed Sep 06 2017 15:09:02 GMT+0000 (Coordinated Universal Time)  ��.���*����`*���.����.���*����`*���.����.���" "%c������������������|(����������������������������������������>       HLImport module loaded             <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>           ,## /##                        <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>          /#/ /  ##                       <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>         / / /    ##                      <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>          | ##___#/                       <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>          | ##       athfinder            <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>       #  | ##    sheet version           <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>        ### /           01.77             <����������������������������������������)|������������������" "%c������������������|(����������������������������������������>                                          <����������������������������������������)|������������������" "--- Initialized It's A Trap! v3.12, using theme 'Pathfinder-Generic' ---" "ItsATrapCreationWizard: Cannot read property 'get' of undefined" "TypeError: Cannot read property 'get' of undefined     at displayWizard (apiscript.js:6243:19)     at apiscript.js:7015:9     at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)     at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)     at /home/node/d20-api-server/api.js:1648: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)     at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)     at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)     at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)" "ItsATrapCreationWizard: Cannot read property 'get' of undefined" "TypeError: Cannot read property 'get' of undefined     at displayWizard (apiscript.js:6243:19)     at apiscript.js:7015:9     at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)     at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)     at /home/node/d20-api-server/api.js:1648: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)     at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)     at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)     at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)" "ItsATrapCreationWizard: Cannot read property 'get' of undefined" "TypeError: Cannot read property 'get' of undefined     at displayWizard (apiscript.js:6243:19)     at apiscript.js:7015:9     at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)     at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)     at /home/node/d20-api-server/api.js:1648: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)     at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)     at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)     at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)" "ItsATrapCreationWizard: Cannot read property 'get' of undefined" "TypeError: Cannot read property 'get' of undefined     at displayWizard (apiscript.js:6243:19)     at apiscript.js:7015:9     at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)     at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)     at /home/node/d20-api-server/api.js:1648: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)     at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)     at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)     at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)"
1593115265
Ada L.
Marketplace Creator
Sheet Author
API Scripter
I tried to recreate your issue by creating a new campaign with the Roll20 Pathfinder sheet, and then installed It's A Trap, the Pathfinder Generic theme, and their dependencies through the One-Click library. I followed the steps you described, but it's working fine on my end. I'm curious about what all that output with the "Aaron Sheet" is though. None of the Pathfinder character sheets in the One-Click library appear to be authored by Aaron.
1593115974

Edited 1593116160
The Aaron
Roll20 Production Team
API Scripter
TheAaronSheet is a convenience library for sheet authors:&nbsp;&nbsp; <a href="https://app.roll20.net/forum/post/2876287/sheetworkers-theaaronsheet-v0-dot-2-1-now-with-some-debugging-tools" rel="nofollow">https://app.roll20.net/forum/post/2876287/sheetworkers-theaaronsheet-v0-dot-2-1-now-with-some-debugging-tools</a> &nbsp; &nbsp;There are 60 Character Sheets that use it, two of which are Pathfinder Community and Pathfinder 2 Playtest. Probably you have something that isn't a graphic selected along with your trap and it's earlier in the msg.selected.&nbsp; The Wizard doesn't verify that the thing it loaded with getObj() worked: if(msg.selected) { selected = _.map(msg.selected, sel =&gt; { return getObj(sel._type, sel._id); }); } if(msg.content.startsWith(DISPLAY_WIZARD_CMD)) { let trapToken = getObj('graphic', msg.selected[0]._id); displayWizard(msg.who, msg.playerId, trapToken);
Thanks for the fast response. Hopefully above Screenshot shows all requested information: The square is selected, and the TrapMaker Configuration menu doesn't show in the chat though.
1593118172
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Aaron's right. You're supposed to use a token (a graphic) for the trap, not a square.
Ouch. You're right. Thought till now that both are the same. It's working now. Great script! Thank you. Sorry for my bloody beginner question.
1593122394
The Aaron
Roll20 Production Team
API Scripter
No problem, it's definitely not immediately apparent that the two are different types, so don't feel bad!