Alex L.
said:
Quatar
said:
Well I think the problem stems from the fact that you type in 5d6r<6, which for someone who is used to math or just computer programming means "less than" but the dice roller interprets it as "less or equal than" which normally would be <=
there is a good reason for having only "less or equal than" mainly because there is no dice that should product zero so if you used <1 it would be infinate as well.
Actually let's look at that. <1 wouldn't reroll at all, because no result could be "less than 1" and trigger a reroll. "less or equal 1" doesn't go infinite unless you roll a d1. And not sure you can do that. >1 if interpreted as "greater as 1" wouldn't cause infinite loops either, because once it hits a 1 it stops. Depending on the size of the dice that can take a while. "greater or equal 1" can cause infinite loops though, since every dice result is 1 or higher, as you said there can be no zero. (and that's exactly what's happening) assuming a d6 for this example now: <6 as "less than 6" wouldn't cause infinite loops, as once again it would eventually fall on a 6 and stop rerolling. "less or equal than 6" as it is now, does produce infinite loops, as obviously any result on a d6 is 6 or less. >6 wouldn't produce loops either way, "greater than 6" wouldn't reroll at all, and "greater or equal 6" only rerolls sixes. I admit, using a <6 and trying to reroll anything but sixes is kinda pointless anyway. I mean why roll dice if you gonna reroll anyway till you get a 6? There's nothing random about it anymore. So most people never fall into this particular trap and create infinite loops. The same for rerolling anything but a 1. But what might happen is one of these two things: 1) They want to reroll 1s and 2s and since they're used to the way < and > are defined in math write it as /roll 1d6r<3 and maybe don't even notice it. "Reroll anything less than a 3" is what they want and "reroll anything 3 or less" is what they get. It doesn't produce any weird infinite loops, and unless you roll a lot of 3s in one roll and no 1 and 2 and wonder why theres a lot of rerolls, you will probably not see it. 2) They want to reroll 1s and messed up < and >. Instead of <1 (reroll any 1s) they used >1 (reroll EVERYTHING). It's a tiny typo and can happen in the heat of battle. Same if they just wanted to reroll 6s and messed up >6 with <6. Honestly, can't see the "good reason" except that it has been established like that and changing it now would cause every macro that's working correctly to malfunction, so I do not advocate changing it, I said that in my first post already. But those infinite loops should be closed anyway. My point was, nobody triggers those on purpose, so they should just throw an error message if someone attempts it. I suppose the fix Riley put in place helps to keep the aftermath in check, and also keeps players from trolling the game with 1000d1000 rolls or something, so that's a good start there.