DBCowboy
 member, 33 posts
 Played rpgs since about
 '81 (D&D Basic ed)
Mon 1 Apr 2019
at 00:53
Multiple Rolls with Manual Die Roller?
I'm clearly wrong as it's not working but I would have sworn that I was able to roll multiple rolls at once using the Manual box of the die roller.

For example: 14-3d6,3d6,1d6+1 I expected to see results like 3, 13, 4 (all positive values)

Instead I get:  rolled 9,-10,-4 using 14-3d6,3d6,1d6+1 with rolls of 3,1,1,3,3,4,5.

My particular game as Record Each Die option checked.  Is that making a difference?

In a different game where that option is not checked I'm able to roll multiple values at once.

For example: rolled 12,1,21,1 using 1d20+6,1d8,1d20+6,1d4.

No comprendo...

EDIT: tried without Record Each Die option checked, same behavior.  I'm assuming it's the 14-3d6 entry that's throwing everything after it off

This message was last edited by the user at 00:56, Mon 01 Apr.

DBCowboy
 member, 34 posts
 Played rpgs since about
 '81 (D&D Basic ed)
Mon 1 Apr 2019
at 01:03
Multiple Rolls with Manual Die Roller?
Nevermind, confirmed that having the 14-3d6 in front was throwing off the 2nd and 3rd rolls.

Just moving it to the end resolved the issue.

Example: rolled 9,3,3 using 3d6,1d6+1,14-3d6 with rolls of 5,3,1,2,4,6,1.  Test

My bad
horus
 member, 676 posts
 Wayfarer of the
 Western Wastes
Mon 1 Apr 2019
at 05:55
Multiple Rolls with Manual Die Roller?
That's an interesting feature!  Thanks for exploring that.
DarkLightHitomi
 member, 1498 posts
Mon 1 Apr 2019
at 10:00
Multiple Rolls with Manual Die Roller?
Looks like it swapped the sign on follow-up rolls.

Wouldn't hurt to let jase know about it.
soulsight
 member, 266 posts
 Reality is 10% perception
 and 90% interpretation.
Tue 2 Apr 2019
at 03:58
Multiple Rolls with Manual Die Roller?
It doesn't swap the sign. Once you subtract rolled dice, any further rolled dice will be subtracted no matter what sign is used.
horus
 member, 677 posts
 Wayfarer of the
 Western Wastes
Tue 2 Apr 2019
at 06:39
Multiple Rolls with Manual Die Roller?
In reply to soulsight (msg # 5):

I'm playing around with this one of my games.  It's leading me to wonder if symbols of inclusion might alter the behavior somewhat by changing the precedence of operations?

It will be interesting to see... hmm.

quote:
It doesn't swap the sign. Once you subtract rolled dice, any further rolled dice will be subtracted no matter what sign is used.


In the example stated earlier:

quote:
For example: 14-3d6,3d6,1d6+1 I expected to see results like 3, 13, 4 (all positive values)

Instead I get: rolled 9,-10,-4 using 14-3d6,3d6,1d6+1 with rolls of 3,1,1,3,3,4,5.


If the three results stand separately (that is, they do not chain together), then I see correct results:  (14-5 = 9, -(3+3+4) = -10, and (-5)+1 = -4.  This is what you meant earlier, am I right?

Yeah, this opens up an entire new line of investigation into Dice Roller syntax.
DarkLightHitomi
 member, 1502 posts
Tue 2 Apr 2019
at 13:09
Re: Multiple Rolls with Manual Die Roller?
horus:
quote:
Instead I get: rolled 9,-10,-4 using 14-3d6,3d6,1d6+1 with rolls of 3,1,1,3,3,4,5.


If the three results stand separately (that is, they do not chain together), then I see correct results:  (14-5 = 9, -(3+3+4) = -10, and (-5)+1 = -4.  This is what you meant earlier, am I right?


Incorrect,
 14-3d6,3d6,1d6+1  means,
14-3d6
3d6
1d6+1

thus correct results based on individual rolls would be,
9   (14-[3+1+1])
10  (3+3+4)
6   (5+1)

The second and third rolls include nothing negative at all.

This does beg the question of priority though,
Take -2d6+4.
Should that be,
-(2d6+4)
or
(-2d6)+4

This message was last edited by the user at 13:11, Tue 02 Apr.

V_V
 member, 821 posts
 You can call me V, just V
 Life; a journey made once
Tue 2 Apr 2019
at 19:09
Re: Multiple Rolls with Manual Die Roller?
Something about starting with the integer, rather than roll, is throwing it off, because look at this...more over TRY this.

1d1+13-3d6,3d6,1d6+1. You end up with the positive outcome.

When you, however, have 14-3d6,3d6,1d6+1 you end up with negative results; but in essence it's the same operation.

Interesting enough, 1d1 is coded to sometimes work and sometimes not. I was able to compute the first operation, but another, 1-1d1,1d2,1d2+1="And the point of rolling a d1 would be?"

So clearly there's some intelligent intention or error here.
DarkLightHitomi
 member, 1506 posts
Tue 2 Apr 2019
at 20:43
Re: Multiple Rolls with Manual Die Roller?
You could also just fix the formula to put integers on the right,
14-3d6 = 3d6-7 = max of 11 and min of -4
V_V
 member, 822 posts
Tue 2 Apr 2019
at 23:03
Re: Multiple Rolls with Manual Die Roller?

This message was deleted by the user at 23:57, Tue 02 Apr.

soulsight
 member, 267 posts
 Reality is 10% perception
 and 90% interpretation.
Wed 3 Apr 2019
at 03:26
Re: Multiple Rolls with Manual Die Roller?
horus:
In the example stated earlier:

quote:
For example: 14-3d6,3d6,1d6+1 I expected to see results like 3, 13, 4 (all positive values)

Instead I get: rolled 9,-10,-4 using 14-3d6,3d6,1d6+1 with rolls of 3,1,1,3,3,4,5.


If the three results stand separately (that is, they do not chain together), then I see correct results:  (14-5 = 9, -(3+3+4) = -10, and (-5)+1 = -4.  This is what you meant earlier, am I right?

Yeah, this opens up an entire new line of investigation into Dice Roller syntax.


Sort of. The interesting portion is that all dice rolled after the first set of subtracted dice have the negative applied. For example: rolled 5,-4,-6 using 14-3d6,10+3d6,6+2d6.  testing(14-3d6,10+3d6,6+2d6).
As if the negative is carried in a bit the gets reset when the form is initialized but not between multiple rolls entered in a single field on the form.