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

Dungeon Alchemist API - Exporting map file issue

1716291477

Edited 1716292323
Rob
Pro
I'm having a problem importing maps created in Dungeon Alchemist (DA) to Roll20.&nbsp; Here are the things I checked: - I do have an active Roll20 Pro account. - I have the DA API script added successfully in all my Roll20 games. - I made sure the Dynamic Lighting is activated for the DA map in question. - The DA map file size is 5.16 MB. - When dragging the map to Roll20, I made sure it was on the 'Map layer'. - I made sure the DA map on the map layer was 'selected'. - I copy and pasted the script carefully into Roll20 and hit the 'Send' button to execute the script. The screen reloaded and a chat message comes up stating that the DA map data was successfully imported. Yet, the map area of the Roll20 UI is now blank, and when I check the Page settings for the map, the map size dimensions are now cleared out. Reference image links: - Roll20 map setting showing the map size dimensions ' before ' the DA script was ran: <a href="https://i.imgur.com/wZze6jR.png" rel="nofollow">https://i.imgur.com/wZze6jR.png</a> - Roll20 map setting showing the map size dimensions ' after ' the DA script was ran: <a href="https://i.imgur.com/McKo5ph.png" rel="nofollow">https://i.imgur.com/McKo5ph.png</a> - Not that it would really matter but I tried these exact steps several different times on different browsers (Chrome (my default browser), Brave, Firefox, and Edge)...no change.&nbsp; - I've tried importing 3 other maps with different file sizes and file names, and the results are still the same. - I reloaded the DA API script and tried these exact same steps again to no avail. - This used to work for me with other DA maps I've created in the past using the exact same exporting map file steps/instructions provided on DA's website, but it doesn't appear to do so anymore...at least for me. - I've already sent DA a similar message concerning this issue as well about 15 minutes before posting this message here. - I've done a search for DA on the Roll20 forums but this posting ( <a href="https://app.roll20.net/forum/post/11538229/slug%7D#newtopic" rel="nofollow">https://app.roll20.net/forum/post/11538229/slug%7D#newtopic</a> ) from 10 months ago closely relates to issues I'm having and it's relatively new compared to the other postings which are years old and most likely outdated information with all the changes going on with Roll20. I appreciate any helpful insights or constructive inputs you can provide to see if I have overlooked anything else that I can try to resolve this issue.&nbsp; If not, I will wait for DA's customer support to reply. Thanks. - Rob
1716328015
The Aaron
Roll20 Production Team
API Scripter
Could you post the commands you are copying from the DA website and posting in the chat?
1716333284
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Is this on a regular game, or a Jumpgate game?
keithcurtis said: Is this on a regular game, or a Jumpgate game? Regular game.
1716337868

Edited 1716345962
Rob
Pro
The Aaron said: Could you post the commands you are copying from the DA website and posting in the chat? It will not allow me to paste commands/scripts here on this post.&nbsp;&nbsp;
1716343882

Edited 1716343941
The Aaron
Roll20 Production Team
API Scripter
Hmm.&nbsp; When I loaded that up and ran the command, it worked for me.&nbsp; Do you want to PM me an invite to your game and GM me and I can try and sort out what's happening?
The Aaron said: Hmm.&nbsp; When I loaded that up and ran the command, it worked for me.&nbsp; Do you want to PM me an invite to your game and GM me and I can try and sort out what's happening? Thanks.&nbsp; I appreciate your help. Just sent you a pm.
1716840397
The Aaron
Roll20 Production Team
API Scripter
The issue turns out to be that DungeonAlchemist relies on the snapping increment for the page.&nbsp; However, snapping increment is only set if there is a grid for the page.&nbsp; Without a grid, it has a value of 0, which causes all the dimensions to be scaled to 0.&nbsp; I've sent a pull request to fix that oversight:&nbsp; <a href="https://github.com/Roll20/roll20-api-scripts/pull/1934" rel="nofollow">https://github.com/Roll20/roll20-api-scripts/pull/1934</a> In the meantime, just be sure you have a grid set on the page when you run the script.
Will do, sir. So based on what you stated above, this would be part of "Step 4" from Dungeon Alchemist's site (<a href="https://www.dungeonalchemist.com/import-to-roll20" rel="nofollow">https://www.dungeonalchemist.com/import-to-roll20</a>) explaining the procedural steps of successfully importing a map to Roll20. Thanks so much for taking the time to troubleshoot and identifying this issue, Aaron.&nbsp; I sincerely appreciate it!&nbsp; You guys rock!