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] Random Dungeon Generator with Dynamic Lighting

October 19 (7 years ago)
I have bought and downloaded the Old School Geomorphic tile set. I then set up the API for creating the map layer, dynamic layer, etc. I then created the rollable table and properly named all the pieces, weights, and so on.

My issue is that when I click on Create Map Layer, I get the following error in the API console:

"ERROR: Please use the 'thumb' size for imgsrc properties."

Can anyone hopefully assist with what I need to do for the script to work?
i would check the names of each asset within the roll table aka "Geo_Type_A_0025" ensure there is not a leading or trailing space in all 45 tiles. also make sure each file is uploaded and set as a thumbnail i used https://wiki.roll20.net/Script:Random_Dungeon_Generator to helpp me set mine up and it works there have been some random flukes but all it took was a resave of the proper code. 
October 19 (7 years ago)
The Aaron
Pro
API Scripter
Try this version of the script:  https://gist.github.com/shdwjk/6571e4f155d841dd0f0175d0a7994d06
so glad i can call back to this :D when i have time i will also be testing it :D
October 19 (7 years ago)

The Aaron said:

Try this version of the script:  https://gist.github.com/shdwjk/6571e4f155d841dd0f0175d0a7994d06

It worked.
October 19 (7 years ago)
The Aaron
Pro
API Scripter
Cheers!