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 .
×

Recursive Tables, HELP ME

When I roll 3 tables at once, sometimes I get a 0 at the end.  I can't determine why it's happening or what conditions are causing it.  I have RecursiveTables version 0.2.4 running.  This is the name I use in my TestTable: [[4t[MagicA] ]] [[[[1d6]]t[MagicB] ]] [[4d6*1000]]GP [[5d6*100]]PP [[[[2d4]]t[25GPArt] ]] The macro I use to call it is:!rt[Delimiter:BR|maxdepth:20] /w gm &{template:default}{{name=Treasure!}}{{Loot=[[1t[TestTable]]]}}  It's worth noting that it gives a 0 before 20 items are rolled, so it's not a maxdepth issue.  My incorrect output looks like this: Potion of Climbing, Potion of Climbing, Potion of Greater Healing, Scroll of Hold Person Potion of Animal Friendship 13000GP 1600PP 0  And the correct one looks like this: Potion of Climbing, Potion of Healing, Scroll of Enlarge/Reduce, Scroll of Rope Trick Potion of Resistance, Scroll of Mass Healing Word 7000GP 2200PP Black Velvet Mask Stitched with Silver Thread (25 GP), Black Velvet Mask Stitched with Silver Thread (25 GP), Cloth-of-Gold Vestments (25 GP), Cloth-of-Gold Vestments (25 GP), Silver Ewer (25 GP), Small Gold Bracelet (25 GP) If I take out one of the tables, it doesn't give a 0 ever but if it is all in there sometimes it works and sometimes it gives that damn 0 it always gives the 0 as a replacement for the last table call.
1534901566
The Aaron
Pro
API Scripter
This is actually an issue with a maximum number of rolls the API’s sendChat function will perform. I think I’m going to have to write my own roller or find some way to detect and reissue. :(
Thank you for your quick reply!  I'm glad to hear that it's a limitation and that I'm not actually crazy.  The recursive tables script is a life saver and I'm happy to work around the limitation now that I know what it is.  Thanks again!
1534948619
The Aaron
Pro
API Scripter
No problem.  Hopefully I can get a solution that doesn't require a work around, but life is stupid busy right now.. =/