
FYI monsters have been updated for the errata.
I'm having the same issue with the freezing API when attempting to import/update with !shaped-monster for creatures with spellcasting blocks. I have to restart the API after attempting these imports. Was there anything in particular that was his issue?Kryx said:
Mage and Druid worked for me. Make sure you're not using the latest sheet (default shaped should work). And ensure you're using the latest scripts as well as monsters and spells format. Lots of moving parts that can go wrong, sorry about that, but I can't make it any better in roll20.Cameron R. said:
It started with Mage, I eventually found it froze the API so I had to re-save/refresh to start it again, I tested it on archmage and druid and both had the same result.
This was done via !shaped-monster.
Kryx said:
What monster doesn't work for you?
Thorsten B. said:
You are right that roll20 would need a "show dim as bright" option to really make this work right. Don't bother making this a setting. I'm probably the only one who even wants it, and I fiddled your code to do that for my tokens.
So you first import a spell and then remove some and all of them have their time set to longer? Seems crazy...Jason H. said:
One curiosity I noticed: When removing any spells *above* any imported spells, all of the imported spells get set to an action time of "longer" with a blank field.
You probably want something like this:Den G. said:
where do I set up bar 2 to capture speed in a token?
Kaelev said:
@Kryx
Question about 5e-scripts.js. What can I change in the script to make npc_AC and HP appear in different bars? My players requested that their HP appear above their tokens so it doesn't block the token image, so I have the HP set to bar 2.
Also, is there something I can add that will set these to Yes?
"Character Name on all roll templates"
"Show Targets AC on Attacks"
"Show Targets Name on Attack and Saves"
Kryx said:
On lines 9, 20, and 21 like he mentioned. Just switch false to true on those lines.
Wade said:
Is there a database somewhere that we can use to import monsters and spells? I just got the new 5E SRD and it works well for the monsters. I haven't tried it with spells yet. What is the command for spells? !Spell-Import??? Thanks!
I can not reproduce this issue. I tried with "!shaped-monster --drow priestess of lolth" which appears to have worked fine (besides conjure animals having the 2 giant spiders part).marty r. said:
when importing monsters with spells, i am getting 3 copies of each spell, collated, in the spellbook on the character sheet.
example
!shaped-monster --drow priestess of lolth
not sure whats going on
Kryx said:
I can not reproduce this issue. I tried with "!shaped-monster --drow priestess of lolth" which appears to have worked fine (besides conjure animals having the 2 giant spiders part).marty r. said:
when importing monsters with spells, i am getting 3 copies of each spell, collated, in the spellbook on the character sheet.
example
!shaped-monster --drow priestess of lolth
not sure whats going on
Maybe it's best to ensure you have the latest script version and monsters. If that still fails please send me an invite so I can verify.
Sredni Vashtar said:
OK, after more testing, it seems that if the list of spells is too long it hangs. I disabled the auto add which created the character OK for spellcasters, but then when I used !shaped-spell to import the list, it still didn't work (hang with restart required) unless I chopped the list in half and did it in two goes or similar. Any idea what could be causing this all of a sudden?
This isn't new behavior. I do not know why roll20's api just dies with many spells.Sredni Vashtar said:
Any idea what could be causing this all of a sudden?
Kryx said:
This isn't new behavior. I do not know why roll20's api just dies with many spells.
The looping isn't even big. It looks through a list of around 420 items and then takes that item and sets it to some attributes in roll20. Likely the issue is the amount of attributes set.Three of Swords said:
The API might have some sort of limitation on the time a single script can run (maybe as infinite loop protection?). I've had issues importing very large lists into a rollable table using one of Aaron's scripts. It works fine with 500 items, but 1000+ it dies. Usually in the 600-700 range.