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

Rolling -many- dice causes serious and permanent performance issues

In trying to exploit the dice rolling system in interesting ways I found that while there is an apparent cap to the number of dice and the size of dice, there does not appear to be a (sufficient) cap on the number of additions to the dice roll. This made it possible to request the following roll: ``` /roll 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 + 999d999 ``` Expected This roll should not be possible to perform The page should remain responsive during/after the roll. Actual Page freezes for all player during the roll After the roll completes, the page is sluggish and unresponsive. The game loads significantly slower on a browser tab reload The game remains sluggish after a browser tab reload
1586808518
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I think I could report poor vehicle performance after driving off a cliff, too. :D
1586812821
Kraynic
Pro
Sheet Author
Due to that sort of abuse of the dice engine staying in the chat archive and being displayed in chat when you log back in, you can probably make your performance problems go away by clearing the chat archive.  This is an option on the game launch page under the Settings drop down.