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

[Script] Dungeon Connect: Over 70 tiles for use with API “Line Segment” script.

1442936094

Edited 1443027110
Heyo! First of all, amazing looking script. I was wondering if I could get some help with one thing however, I seem unable to actually interact with the menu. Drawing segments work in the gm layer as well.  An actual error popped up now with the following message (in the API section) /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  ^ TypeError: Cannot read property '0' of undefined at Object.getInput [as Input] (evalmachine. :1141:55) at handleInput (evalmachine. :2637:77) at eval (
Quick question, do you have to create a new campaign or can you use an existing one?
1443312280
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
You can use an existing one.
I tried using this script on an existing one as well as a new one and I can't get it to work. I was following the quick start guide on this post and got no effect. Once I clicked the "Add Segment" button nothing happened at all. I even tried drawing a line, selecting it, and then pressing the button, and still nothing. What is wrong with the script?
1443312849
vÍnce
Pro
Sheet Author
Is the script running in the API console?  Any errors?
I got random los blockers when using the script roll20 is not even saying that anything is there so any ideas on what happened?.
1443328670

Edited 1443328718
Vince said: Is the script running in the API console?  Any errors? Yes, it's running in the API console and there are no errors. Maybe I'm missing something in the process, but the quick start videos are pretty straight forward.
1443330622
vÍnce
Pro
Sheet Author
paul g. said: I got random los blockers when using the script roll20 is not even saying that anything is there so any ideas on what happened?. DId you try "Clear-Map" from the menu?
1443330889
vÍnce
Pro
Sheet Author
Arthur B. said: Vince said: Is the script running in the API console?  Any errors? Yes, it's running in the API console and there are no errors. Maybe I'm missing something in the process, but the quick start videos are pretty straight forward. Not sure Arthur.  I verify the script is running in the console, often using "Save Script" as standard practice when using API scripts.  I then click on the "Dungeon Draw Menu" that appears in chat if the script is running.  Change to the GM Layer make sure "Draw-Is-On" and start adding segments.
no it just moved it also i have to keep re saving the script so it works sometimes but im not getting any errors
ok i have come to the conclusion that that page i was using was just messed up. so i don't know what to say but besides that weirdness the scripts great
I keep getting this message from the API even though I do not have the player marker on the open page: "(From Dungeon Connect): Caution. Current page is the player book mark page. Recommend using the party split feature to select the page you wish to edit. ?-Help | Main-Menu " And no matter how many times I click the button to add segment or clear the map nothing works!
1443458153

Edited 1443458181
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
The script has no way to know which page the GM is looking at (API limitation.) So... the script will "draw" on the player book marked page by default. Its recommend that the GM use the party split feature (native to Roll 20) and move the GM player (yourself) to the page you wish to edit.
Got it, thanks. Had to check on how to split party, as my party rarely ever splits and if they do it's usually in a town. So, I got that working, now how do you get secret doors, and does this script support locked/trapped doors as well, and can you toggle doors from closed to open and back?
1443526428
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Doors (secret or other) can be placed from the GM layer just like walls. But in game, while on the object layer... the GM can select the door (secret doors have an aura only the GM can see.) When selected the GM will have a token action for the door to "toggle" open or closed.
Well I seem to have got most of it to work. Just having problems with the fill button now. It never seems to work for me.
1443918444
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
drag it into place.... and rotate it.... should work. ( I hope.)
Oh yep that worked. I thought I read to delete it to fill.
Ah I see it now. I should have read through the forum more thoroughly. Thanks, I got it all working now and it's awesome :)
Two more questions.  The floor fill seems to overlap the walls. I wouldn't mind except that it makes the secret doors pretty obvious. Am I doing something wrong? Also wondering, what is the door and torch control character for? It doesn't seem to do anything for me.
1444866000
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Don't know about the overlap.... have to check that....  If you go to the object layer, you should be able to select the door and get a token action to toggle it open and closed (which is why you have the door character sheet.)
I purchased your set. how do I remove watermark?
1445086728
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
@David T. <a href="https://app.roll20.net/forum/post/2283776/script-dungeon-connect-over-70-tiles-for-use-with-api-line-segment-script/?pageforid=2318721#post-2318721" rel="nofollow">https://app.roll20.net/forum/post/2283776/script-dungeon-connect-over-70-tiles-for-use-with-api-line-segment-script/?pageforid=2318721#post-2318721</a>
Thx
1445454856
PaulOoshun
Marketplace Creator
Terrible idea, Stephen.
1445467678
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Alan H. said: Terrible idea, Stephen. Its not my fault... I blame the Druid.
This looks amazing, as do many things in the Roll20 API segments, however I cannot seem to get this to function on my part neither. I have attempted to implement both sections of coding into a new campaign (completely blank) but the API just gives me the hilarious error of "Unexpected Identifier". Now don't get me wrong, I'm no wizard at this coding business and appreciate the work that gets put into this, but a little advice could go a long way here. I probably have it input incorrectly, although I copied and pasted both API entries. Advice?