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

Nested Inline Rolls Breaking with very large amounts of rolls (30+) per line

I don't know how easy this would be to replicate, as I'm having difficulties doing so even when using the same identical macro. I'm using a custom sheet based off of the Pathfinder one, and I have some incredibly complicated roll buttons for attacks. They range from 10 rolls to 48 rolls in a single line, nested up to 2 deep, often with multiple rolls nested (such as [[ 10 + [[1d6]] + [[@{Str-mod}]] ]], for example). When the number of rolls gets to around 30, I notice rolls occasionally breaking, like so: With only 30-36 rolls, I only occasionally see it breaking (maybe 25% of the time), and almost always in the "Crit Damage" field, which is set up in the roll template only to appear (along with "Crit Confirm") on a critical success roll for the Attack. However, when the number of rolls gets up to 40-48, instead the rolls start breaking seemingly at random. Any of the rolls will end up breaking, and very frequently (>90% of the time). Frankly, I have little hope this can be fixed in any reasonable amount of time, but I at least want to make sure the Dev team is aware of this, for future updates and such.
1438737488
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
So, you're saying that if you do a roll and the roll tempalate breaks, if you do the same exact roll (IE hit the up arrow and hit enter) the results of where it breaks is different?
1438763416

Edited 1438764491
vÍnce
Pro
Sheet Author
I noticed this in the  past when we added the iterative attacks to the PF sheet(tabbed).  Turned out to be an issue with large numbers of inline rolls and roll templates. Fix was to add white space before and after the inline's double brackets. {{ [[ foo ]] }}  The sheet was updated to add spaces to the built-in macros.  Its possible you have an old version of the sheet and/or macros that don't have the extra white spaces.  You can try adding some spaces manually.
Vince said: I noticed this in the  past when we added the iterative attacks to the PF sheet(tabbed).  Turned out to be an issue with large numbers of inline rolls and roll templates. Fix was to add white space before and after the inline's double brackets. {{ [[ foo ]] }}  The sheet was updated to add spaces to the built-in macros.  Its possible you have an old version of the sheet and/or macros that don't have the extra white spaces.  You can try adding some spaces manually. Hey, that fixed it! Thanks. As for my custom sheet, yeah, it's based on an older version of the sheet, long before there ever were iterative attacks in it. The ruleset I use only vaguely resembles Pathfinder (or 3.5, for that matter) at this point, so I was more or less forced to make my own alterations. As a result, the built-in macros were made entirely from scratch by myself, and I never kept up with the sheet thread, or I'd know about this already. That's what I get for doing my own thing, I guess.