I goofed. I inserted brackets like the original version. Now, when I copy the whole JSON as is and paste, it works flawlessly. THANK YOU! That said, in the console, at the end, there were a couple:
""SHEET WORKER ERROR: You attempted to delete a repeating row but passed an invalid row ID in repeating_attack_undefined_"
Last I checked, my version is still working for imports, albeit with errors. I'd intended to make another release before now in order to clean up some of the math errors and such, but life has gotten in the way of that (and the code has proven more aggravating than originally expected). If my version is not working for you as of now, please file a github issue for it, so I can review it.
I'm not the original publisher, but since they seem to have fled the building I'm working on getting the script up to date. I've released a new version which will at least work with the new JSON structure. It can be found here:
Just tried the script and it worked good for me! You say you dit not activate on roll20, but did you copy the API script in your campaign in roll20?
Thanks a lot for the good work on the script!
How do I copy the API script in my campaign? I did miss this in the read.me?
When you go to your campaign in Roll20, dont hit launch but click on the settings button and select "api scripts". Click on "new script" and paste the script from the Readme
After you save the API sandbox will be restarten. Then the command !beyond --import works. Mind that the character sheet there is put on public though. I will add pictures if it doesnt work for you but dont have time for it now :)
Does this work if the character has abilities, feats, spells or is of a race in D&D Beyond that are sourced from books that one hasn't purchased on Roll20? In other words, simple example, I have a Shadar-kai elf on my team from Mordenkainen Tome, but we don't own that book on Roll20. Will it translate over?
> Gold Medal for "Outstanding Book of the Year" in 2012 Independent Publisher Book Awards > National Indie Excellence Book Award finalist > A Greater Monster named a "Top 10 Book of 2012" by Common Ills blog > Listed in "10 Hot Chicago Reads for Chilly Nights" on Refinery29.com
Just tried the script and it worked good for me! You say you dit not activate on roll20, but did you copy the API script in your campaign in roll20?
Thanks a lot for the good work on the script!
How do I copy the API script in my campaign? I did miss this in the read.me?
When you go to your campaign in Roll20, dont hit launch but click on the settings button and select "api scripts". Click on "new script" and paste the script from the Readme
After you save the API sandbox will be restarten. Then the command !beyond --import works. Mind that the character sheet there is put on public though. I will add pictures if it doesnt work for you but dont have time for it now :)
Good luck, let me know if it works!
I did the above, if I understand it correctly. I copied !beyond --import to the API Scripts and when I saved it, it spit out: Spinning up new sandbox... "Starting webworker script..." SyntaxError: Unexpected token 'import'
> Gold Medal for "Outstanding Book of the Year" in 2012 Independent Publisher Book Awards > National Indie Excellence Book Award finalist > A Greater Monster named a "Top 10 Book of 2012" by Common Ills blog > Listed in "10 Hot Chicago Reads for Chilly Nights" on Refinery29.com
To post a comment, please login or register a new account.
I goofed. I inserted brackets like the original version. Now, when I copy the whole JSON as is and paste, it works flawlessly. THANK YOU! That said, in the console, at the end, there were a couple:
""SHEET WORKER ERROR: You attempted to delete a repeating row but passed an invalid row ID in repeating_attack_undefined_"
errors.
Here's the JSON:
https://character-service.dndbeyond.com/character/v3/character/30718697
Works most of the time, but doesn't seem to work on certain characters, usually the ones' whose id's start with a 3. Very weird.
I'll add that to my bugs and sample data mbg98, thanks
Import does not work for me, looks like they changed the format of the json file so it no longer works with the current script.
Are you using my revised version? If so, please file an issue in Github with the details if you don't mind, so I can attempt to repro the issue.
Oh no I was not, it is working now. Thanks!
Yep it's no working for me. sadly.
RIP <3
Edit: the API not the author
Last I checked, my version is still working for imports, albeit with errors. I'd intended to make another release before now in order to clean up some of the math errors and such, but life has gotten in the way of that (and the code has proven more aggravating than originally expected). If my version is not working for you as of now, please file a github issue for it, so I can review it.
Can you link to your version?
As soon as I saw the <character_url>/json link was dead i believed the system was done for.
Is this broken now. I can't get the json script. I keep getting page not found error.
@JimMC Make sure the character sheet is not set to private.
I checked and the character sheet is public.
Thank you so much!!!!
I used !beyond --help and !beyond --import {JSON} and nothing happens, not even a error message in the chat window.
is there a prerequisite I'm missing? I did not activate something or configure something neither in roll20 and in DDB...
Thanks in advance,
Thomas.
Just tried the script and it worked good for me!
You say you dit not activate on roll20, but did you copy the API script in your campaign in roll20?
Thanks a lot for the good work on the script!
How do I copy the API script in my campaign? I did miss this in the read.me?
When you go to your campaign in Roll20, dont hit launch but click on the settings button and select "api scripts".
Click on "new script" and paste the script from the Readme
After you save the API sandbox will be restarten. Then the command !beyond --import works. Mind that the character sheet there is put on public though.
I will add pictures if it doesnt work for you but dont have time for it now :)
Good luck, let me know if it works!
Does this work if the character has abilities, feats, spells or is of a race in D&D Beyond that are sourced from books that one hasn't purchased on Roll20? In other words, simple example, I have a Shadar-kai elf on my team from Mordenkainen Tome, but we don't own that book on Roll20. Will it translate over?
Join my homebrew campaign!
A Greater Monster, The Kickstarter Letters & Death by Zamboni
daviddavid.net
My art store on Etsy
> National Indie Excellence Book Award finalist
> A Greater Monster named a "Top 10 Book of 2012" by Common Ills blog
> Listed in "10 Hot Chicago Reads for Chilly Nights" on Refinery29.com
Follow up question. I just tried the import method in the Readme as exactly as I could.
I did the above, if I understand it correctly. I copied !beyond --import to the API Scripts and when I saved it, it spit out:
Spinning up new sandbox...
"Starting webworker script..."
SyntaxError: Unexpected token 'import'
Is that an issue? Am I doing something wrong?
Join my homebrew campaign!
A Greater Monster, The Kickstarter Letters & Death by Zamboni
daviddavid.net
My art store on Etsy
> National Indie Excellence Book Award finalist
> A Greater Monster named a "Top 10 Book of 2012" by Common Ills blog
> Listed in "10 Hot Chicago Reads for Chilly Nights" on Refinery29.com