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 with Text

Before the most recent update, I could set up rolls looking a little like this: "/r d20+4 vs. AC" And it would print the roll immediately below, like normal. Now when I make these rolls in the chatbox including the text, the roll doesn't print at all. More peculiar still, macros I've made in the past and even post-update that include such text still work just fine. Depicted is a screenshot of one such macro performing as it should. Technical Specs for support: Operating System Apple Mac OS X 10.6.8 Intel Web Browser Chrome 21.0.1180.89 Flash Version 11.4.402
Thanks for the report. Looks like I need to clean up some of the parsing logic :)
I'm noticing that rolls like "/r 2d6+6 damage" print just fine. Some more information for you.
Yeah it is the . after your abbreviations that is breaking the parser. Hopefully we'll get a fix out soon.
Actually, that reminds me - I have had problems in the past where my rolls broke parser rules...I (and the other players) just thought the roll was delayed and that the site was taking too long to return the result, whereas in fact the roll failed the parser checks because I used brackets to explain something in the text after the roll... If the parser rejects a roll for some reason, PLEASE can you send a short error to the player indicating that the roll failed, so we don't sit there like muppets waiting for the result? :) Silently dropping the roll is not helpful. Thanks, -- Pete.
Actually, that reminds me - I have had problems in the past where my rolls broke parser rules...I (and the other players) just thought the roll was delayed and that the site was taking too long to return the result, whereas in fact the roll failed the parser checks because I used brackets to explain something in the text after the roll... If the parser rejects a roll for some reason, PLEASE can you send a short error to the player indicating that the roll failed, so we don't sit there like muppets waiting for the result? :) Silently dropping the roll is not helpful. Thanks, -- Pete. I'm not sure when the last time was that this happened to you, but as of a few weeks ago when we rolled out the new dice engine updates, this should be much better handled now, and any invalid input (e.g. using a reserved character or leaving off a number) should result in a visible error to the person who inputted the roll. Let me know if it was more recent than that, though, and we'll take a look! Thanks!
Along a similar line as the original poster. One of my players tried to create a macro for commonly used damage spells that included the save DC . He typed in /r 4d6 (dc 16 reflex half) and the result of what he typed in is below: rolling 4d6 (dc 16 reflex half) (5+6+3+2)16 It was interesting to see that the dice system multiplied these numbers together. We tried a few other variations like brackets and quotes but still got the same results. Ultimately, the player just typed out "sixteen" to avoid the multiplication. We had a similar thing happen around the same time when a player tried to write "1st attack" and "2nd attack" into the macro, and the "1" or "2" got added to the end of the number being added to the roll so a +14 became a +141 (the player typed /r 1d20+14 1st attack) Is there way to include a number that isn't part of the roll? (Admittedly, it isn't too much of a hassle to just type the description of the roll out using text instead of numbers.)
I'll be working on the parser over the next week to fix the issues with implied operators.
What would be great is if you could add a character to deliberately separate the dice roll from the comments, something like: /r 1d20 ; (16 needed) Oh, by the way, I just tried: /r 1d20 (16 needed) And it failed silently, as mentioned above as being "fixed". -- Pete.
@Pete You Can :) See the note in the "Including Additional Information" section on <a href="http://help.roll20.net/dice-rolling-reference/" rel="nofollow">http://help.roll20.net/dice-rolling-reference/</a>
Oh, and here's an annoying dice result...(from right now), it picked up the "5" from the text and put it right next to the "4"... Ben B. (GM): rolling 2d8+4 damage and you are set on fire, 5 ongoing (3+8)+45 = 56 16 not 56 :P
@Pete You Can :) See the note in the "Including Additional Information" section on <a href="http://help.roll20.net/dice-rolling-reference/" rel="nofollow">http://help.roll20.net/dice-rolling-reference/</a> No, I can't, because it still parses information in the "text". Hence I'm asking for a special character to tell it to stop parsing everything from there on. -- Pete.
Ooh, I just read it more carefully, sorry! ----- you can preface it with a \ to separate the formula from the text and keep the roller from getting confused. So for example you can do /roll 1d20+5 \ Roll for Initiative +5. -----
:) No problem. I'll see if I can change the help docs to make that note more promenant.