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 .
×
Stuck in a login loop? Try manually signing out and back in before launching your game. Otherwise, contact the Help Center!
Create a free account

Door Knocker v1.212 Error / Struggle

Hi, I Started my campain project a bit more than  a month ago and i start to really dig into all the roll20 scripts and so on, and i just discovered the amazing Door Knocker script today Sadly, i can't figure to make it work, i saw videos on youtube, i've tried to setup as presented, Dynamic Lighting enabled, changing colors to what i used previously on setup page, used  !knock --adapt|wall  and  !knock --adapt|unlocked  on what i previously drawed Then i used  !knock --search  with and without parameter, on any token or even on the key "Door Knocker" token, and i can't make it work, no aura shows up, api console says this when i try a toggle when i have my token touching the door "validDoors:" {} But nothing happens (obviously from the little debug shown), and best i had was 2 errors, but the Official thread is closed so that's why i'm here guy's ^^' Cannot read property 'get' of undefined TypeError: Cannot read property 'get' of undefined at getSegmentedPaths (apiscript.js:410:40) Cannot read property 'get' of undefined TypeError: Cannot read property 'get' of undefined at apiscript.js:687:40 I even disabled my custom script in case it was the issue but anyway, i don't find a solution and i've been stuck for 30min so before going to sleep i'm writing you guys this in hope of some help And to finish guys, i'd like to say as my first message on the forum that i'm pretty amazed by this community, i never searched about the forum before and the scripts and so on as i wasnt pro member, but WOW x) I Couldn't thanks all people who made this that easy to start but it's great to see all the work and help happening ^^ Hope that my work will be usefull later on so i can contribute in a way, i'm working on an Exalted 3 campain and adapting a lot of things to make the experience as fluid as possible to new players
1639501526
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi Groch! Sorry for the inconvenience. It looks like I did something stupid in the code that caused these errors to be thrown. I've just submitted a fix for this to the repository, but it probably won't go live till next week. If you need the fix before then you can grab the raw code from my fork of the repository and copy it into your game.
1639508610

Edited 1639508885
Hey ! Thanks for your time and reply, i disabled the other one and created a new script with the content of your fork, i see things happening when i do adapt commands (no log though), but search command still does nothing on my side, and no logs on console :o edit: on my dummy account i still trigger same log "validDoors:" {}
1639508860

Edited 1639508875
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmm, odd. Do you have the grid enabled on the character sheet  page? There's a more complex bug that I'm still working on a solution for where Door Knocker does not work correctly on gridless maps.
1639508962

Edited 1639510491
Ah that might be that, i disable grid on most pages when the setup is finished as Exalted is more about narrative movement and not exact placement so i try to go in that way somehow x) edit: ok with grid enabled but opacity to 0% i have door showing but no auras
1639509299

Edited 1639510109
with grid enabled but opacity 0% door shows on search command, but on push|toggle, it doesnt open the wall/light, but door doesnt show up on search command after, and after another push|toggle it's back as starting scenario, that is showing doors on search but no auras still edit: even with grid opacity still same problem :( edit2: if i can help you in any way feel free to tell me !
1639514476
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmm, odd. I'll try to replicate in my sandbox. I'll let you know what I find.
If you want me to duplicate my table, invite you and promote you as GM, there is no problem ! Thanks a lot for your time and your work :)