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.

September 22 (9 years ago)

Edited September 23 (9 years ago)
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 (
September 26 (9 years ago)
Quick question, do you have to create a new campaign or can you use an existing one?
September 27 (9 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
You can use an existing one.
September 27 (9 years ago)
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?
September 27 (9 years ago)
vÍnce
Pro
Sheet Author
Is the script running in the API console?  Any errors?
September 27 (9 years ago)
I got random los blockers when using the script roll20 is not even saying that anything is there so any ideas on what happened?.
September 27 (9 years ago)

Edited September 27 (9 years ago)

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.
September 27 (9 years ago)
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?
September 27 (9 years ago)
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.

September 27 (9 years ago)
no it just moved it also i have to keep re saving the script so it works sometimes but im not getting any errors
September 27 (9 years ago)
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
September 28 (9 years ago)
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!
September 28 (9 years ago)

Edited September 28 (9 years ago)
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.
September 28 (9 years ago)
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?
September 29 (9 years ago)
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.
October 03 (9 years ago)
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.
October 04 (9 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
drag it into place.... and rotate it.... should work. ( I hope.)
October 04 (9 years ago)
Oh yep that worked. I thought I read to delete it to fill.
October 04 (9 years ago)
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 :)
October 11 (9 years ago)


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.
October 14 (9 years ago)
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?
October 17 (9 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
@David T.

https://app.roll20.net/forum/post/2283776/script-dungeon-connect-over-70-tiles-for-use-with-api-line-segment-script/?pageforid=2318721#post-2318721
Thx
October 21 (9 years ago)
PaulOoshun
Marketplace Creator
Terrible idea, Stephen.
October 21 (9 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter

Alan H. said:

Terrible idea, Stephen.

Its not my fault... I blame the Druid.
December 05 (9 years ago)
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?