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

Random Dungeon Generator script not working

February 20 (10 years ago)
I cannot seem to get this working. I have set up the table as instructed, but when I run the create-map-layer macro I get an error.

TypeError: Cannot read property 'rotation' of undefined at evalmachine.:593:22 at Array.forEach (native) at Function._.each._.forEach (/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:78:11) at buildTileArray (evalmachine.:591:7) at geomorph (evalmachine.:526:35) at processMessage (evalmachine.:469:31) at evalmachine.:463:61 at eval (

I found a "rotation workaround" toward the bottom of the original thread on this script, https://app.roll20.net/forum/post/655402/script-random-dungeon-generator-with-dynamic-lighting#post-669802, but those modifications didn't change the error.

Any ideas?
February 21 (10 years ago)
I as well
February 21 (10 years ago)
vÍnce
Pro
Sheet Author
You might try a PM to Stephen S.(creator of the script and tiles) with a link back to this thread.
February 21 (10 years ago)
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Check the names of the tiles in the rollable table. "Space" will cause this, example:

"Geo_Type_A_0002" <-Correct (no leading or trailing white spaces)

" Geo_Type_A_0002" <-Will cause Error

"Geo_Type_A_0002 " <-Will cause Error
February 21 (10 years ago)
D'oh. I had a lowercase a on 45. Fixed that, but now I'm getting

TypeError: Cannot read property 'changed' of undefined at fixNewObject (evalmachine.:683:16) at placeTile (evalmachine.:678:12) at stepThroughMap (evalmachine.:665:13) at geomorph (evalmachine.:529:58) at processMessage (evalmachine.:469:31) at evalmachine.:463:61 at eval (

Same thing? do I have another name messed up in my table? I've been going over it with a fine toothed comb, but my eyes are starting to crossed!
February 21 (10 years ago)
TypeError: Cannot read property 'changed' of undefined at fixNewObject (evalmachine.<anonymous>:683:16) at placeTile (evalmachine.<anonymous>:678:12) at stepThroughMap (evalmachine.<anonymous>:665:13) at geomorph (evalmachine.<anonymous>:529:58) at processMessage (evalmachine.<anonymous>:469:31) at evalmachine.<anonymous>:463:61 at eval (



what would give me this error???
February 21 (10 years ago)
what will cause this error???

typeError: Cannot read property 'tileName' of undefined at evalmachine.<anonymous>:579:16 at Array.forEach (native) at Function._.each._.forEach (/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:78:11) at buildTileArray (evalmachine.<anonymous>:577:7) at geomorph (evalmachine.<anonymous>:526:35) at processMessage (evalmachine.<anonymous>:469:31) at evalmachine.<anonymous>:463:61 at eval (


just to let you know.

"Geo_Type_A_0002" <-Correct (no leading or trailing white spaces)

Geo_Type_A_0002
<-Will cause Error



Thanks,

Levis Wiggins
February 21 (10 years ago)
New error

ReferenceError: geomorphicTilesTableItems is not defined at buildTileArray (evalmachine.<anonymous>:577:12) at geomorph (evalmachine.<anonymous>:526:35) at processMessage (evalmachine.<anonymous>:469:31) at evalmachine.<anonymous>:463:61 at eval (