It is currently Sun Dec 01, 2024 5:50 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 531 posts ]  Go to page 1, 2, 3, 4, 5 ... 27  Next
Author Message
 Post subject: Dice Rolling Thread
PostPosted: Thu Sep 26, 2013 2:33 pm 
Offline
Former Staff
User avatar

Joined: Sep 20, 2013
Posts: 3240
Howdy Gang,

For the games that utilize dice NoGoblinsAllowed has a built in dice roller that's easy to use with simple BBC tags. For more information you can always check out Gobo_Welders Forum Tips and Tricks thread in the Metaboard.

Feel free to use this thread as a place to test the tool and see how it works, to roll things you need for your games, or simple to flip a coin or make a decision.

Dice

Add dice rolls using the [dice] bbcode:
Code:
[dice]3d6[/dice]

GobO_Sapper rolled 3d6 and got a total of 10:
2, 2, 6


You can do some math with the rolls:
Code:
[dice](3d6-4)*2[/dice]

GobO_Sapper rolled (3d6-4)*2 and got a total of 10:
1, 2, 6


Dice rolls can be displayed in a few different ways:
Code:
[dice=string]3d6[/dice]

GobO_Sapper rolled 3d6:
4, 6, 5


Code:
[dice=total]3d6[/dice]

GobO_Sapper rolled 3d6 and got a total of 10.


Code:
[dice=inline]3d6[/dice]

12

You can choose how dice images are displayed in your user control panel, under Board Preferences > Edit display options > Display dice.

Cheating precautions:

The dice rolls are reasonably secure against "cheating" the rolls.
  • Dice are not rolled until the post is submitted, so you can't just preview your post until you get numbers you like.
  • Rolls quoted from other posts are always displayed with a link to the original post, so you can't quote rolls you like to copy them. Like so:

    Someone else wrote:
    Original post: GobO_Welder rolled 3d12 and got a total of 17:
    2, 7, 8
    In inline mode: 17[here]

  • Removing rolls from a post leaves a notification that a roll has been removed, so you can't roll dice a bunch of times until you get results you like.


Best-of rolls:

You can also do "best-N-of-M" rolls: to roll 4d6 and keep the best 2, you would do "[dice]4d6b2[/dice]" to get
GobO_Sapper rolled 4d6b2 and got a total of 5:
3, 2, 1, 2

All the usual tricks -- arithmetic, different display modes -- work for best-of rolls as well.

Things you can't do:

Unfortunately, the mod we're using to implement dice has some limitations. The biggest ones are:
  • You can't do multiple rolls in one: [dice]3d6+1d10[/dice] doesn't work.
  • "Best of" rolls don't work: [dice]4d10b2[/dice] for "4 d10s, best 2". This works now!


Cheers!

~Sapper

_________________
No Goblins Allowed Code Of Conduct

D&D 5e Rules Q&A


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 2:34 pm 
Offline
Former Staff
User avatar

Joined: Sep 20, 2013
Posts: 3240
GobO_Sapper rolled 1d20 and got a total of 19:
19

GobO_Sapper rolled 1d20+6 and got a total of 18:
12

GobO_Sapper rolled 3d6 and got a total of 13:
5, 2, 6

GobO_Sapper rolled 1d20 and got a total of 16:
16

_________________
No Goblins Allowed Code Of Conduct

D&D 5e Rules Q&A


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 2:53 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Bounty Hunter rolled 4d6 and got a total of 9:
2, 2, 4, 1

Bounty Hunter rolled 1d20 and got a total of 11:
11

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 2:56 pm 
Offline
Member
User avatar

Joined: Sep 22, 2013
Posts: 11309
Location: Asleep at the wheel
Preferred Pronoun Set: SE / squinty / squints
Those are some bad d6 rolls, there BH!

Thanks for the dice tags!

~SE++

_________________
[D&D 5E] Princes of the Apocalypse | Set-up | In Character | Out of Character | Map: Lance Rock

[Johnny's Quest] October 12 - 18: Cloudstone Curio


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:02 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Yeah...guess CHA will have to be my dump stat. :roll:

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:06 pm 
Offline
Member
User avatar

Joined: Sep 25, 2013
Posts: 3084
Lol, we can play Warhammer 40k by post?

EDIT: No, probably not for the best, as you can edit and just reroll quickly if you don't like the result :-P

EDIT: Oddly enough, I can't delete the fact that dice have been rolled in this post. So without further ado, I give you a random 1d6 roll.

Yarium rolled 1d6 and got a total of 3:
3

Yarium rolled 1d6 and got a total of 6:
6

_________________
Quote:
"If you refuse to use rock, you will never beat scissors." — Galef, Dakka Dakka Forums


Last edited by Yarium on Thu Sep 26, 2013 3:13 pm, edited 5 times in total.

Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:07 pm 
Offline
Member
User avatar

Joined: Sep 25, 2013
Posts: 3084
Bounty Hunter wrote:
Original post: Bounty Hunter rolled 4d6 and got a total of 9:
2, 2, 4, 1

Original post: Bounty Hunter rolled 1d20 and got a total of 11:
11

_________________
Quote:
"If you refuse to use rock, you will never beat scissors." — Galef, Dakka Dakka Forums


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:08 pm 
Offline
Former Staff
User avatar

Joined: Sep 19, 2013
Posts: 3426
Location: Elemental Plane of Fire
Identity: Male
Preferred Pronoun Set: He/Him or by name
GobO_Fire rolled 1d1 and got a total of 1:
1


:D

[dice]1d1000[/dice]

[dice]1d10000[/dice]

:evil:

And to add something useful to the thread...

the format is:

Code:
[dice]<what you want to roll>[/dice]

For example:

[dice]1d20+5[/dice]


And a test to see if something works...

[dice]1d20+5,1d8+4[/dice]

_________________
Burn it with fire! If it still moves, you didn't use enough fire.


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:09 pm 
Offline
Former Staff
User avatar

Joined: Sep 19, 2013
Posts: 3426
Location: Elemental Plane of Fire
Identity: Male
Preferred Pronoun Set: He/Him or by name
OK, so some of those don't work - but oddly enough 1d1 does work! Ha!

One more test:

[dice]1d20+1d6+5[/dice]

edit: OK, that doesn't work either. So, for example, somebody using an action point in an Eberron game will need to issue two dice commands and add together manually.

_________________
Burn it with fire! If it still moves, you didn't use enough fire.


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:10 pm 
Offline
Member
User avatar

Joined: Sep 25, 2013
Posts: 3084
Thanks GabO! I had no idea, and quoting just gave me "dice]4240" or some nonsense.

_________________
Quote:
"If you refuse to use rock, you will never beat scissors." — Galef, Dakka Dakka Forums


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Thu Sep 26, 2013 3:15 pm 
Offline
Member
User avatar

Joined: Sep 25, 2013
Posts: 393
OakenHeart rolled 6d6 and got a total of 26:
5, 4, 6, 2, 3, 6

[dice]1d6+1d4[/dice]
[dice]1d6;1d4[/dice]

_________________
They say my bark is worse than my bite. I wonder what that means.


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Fri Sep 27, 2013 5:43 pm 
Offline
Member
User avatar

Joined: Sep 25, 2013
Posts: 5149
Location: Toronto, Ontario
Identity: Spider-Man
Preferred Pronoun Set: Wtf is a "Jabber address"?
Zinger2099 rolled 1d20 and got a total of 11:
11

_________________
well played zinger


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Fri Sep 27, 2013 11:03 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Bounty Hunter rolled 3d20 and got a total of 38:
19, 3, 16

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sat Sep 28, 2013 9:57 am 
Offline
Member
User avatar

Joined: Sep 22, 2013
Posts: 1095
Some tests to see if ABD Diceroller was used/enabled. There was a nice, simple diceroller back in the phpbb2 days, but I don't know if that came over to 3.

PlaneShaper rolled 10/(3d20+3)*-2.5) and got a total of 9000.09961:
15, 14, 17

[diceSpot]1d20[/dice]
[dice]d6:3[/dice]

_________________
PbP Characters
Umiki800080SDSS
Navu'ai008000KotS
ParkunFFD700Ixen

PbP Games
—DDN—The Mines of MadnessCurrent Map

RPG Personality


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sat Sep 28, 2013 9:59 am 
Offline
Member
User avatar

Joined: Sep 22, 2013
Posts: 1095
Hooray for abandoned mods that still function! :P

Too bad "dice=Whatever" never got added.

Seems to still be some math parsing issues? I can't figure out how it got to ~9000.

More tests:
[dice](3d20+8)/2-5[/dice]
PlaneShaper rolled (1d6)/-2 and got a total of 0:
4

_________________
PbP Characters
Umiki800080SDSS
Navu'ai008000KotS
ParkunFFD700Ixen

PbP Games
—DDN—The Mines of MadnessCurrent Map

RPG Personality


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sat Sep 28, 2013 7:26 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Bounty Hunter rolled 1d20+5 and got a total of 17:
12

Bounty Hunter rolled 1d20+5 and got a total of 13:
8

Bounty Hunter rolled 1d20+5 and got a total of 22:
17

Bounty Hunter rolled 1d20+5 and got a total of 18:
13

Bounty Hunter rolled 1d20+5 and got a total of 18:
13

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sun Sep 29, 2013 6:06 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Bounty Hunter rolled 1d20+4 and got a total of 20:
16

Bounty Hunter rolled 1d20+4 and got a total of 5:
1

Bounty Hunter rolled 1d20+4 and got a total of 15:
11

Bounty Hunter rolled 1d20+4 and got a total of 15:
11

Bounty Hunter rolled 1d20+6 and got a total of 22:
16

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sun Sep 29, 2013 6:10 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Bounty Hunter rolled 1d6+3 and got a total of 6:
3

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sun Sep 29, 2013 6:13 pm 
Offline
Retired Moderator
User avatar

Joined: Sep 19, 2013
Posts: 1028
GobO_Stormageddon rolled 1d20 and got a total of 12:
12

_________________
Dark Lord of All

The Code Of Conduct


Like this post
Top
 Profile  
 
 Post subject: Re: Dice Rolling
PostPosted: Sun Sep 29, 2013 7:14 pm 
Offline
Member
User avatar

Joined: Sep 23, 2013
Posts: 10342
Preferred Pronoun Set: BH/B.H./Bounty Hunter
Bounty Hunter rolled 1d20 and got a total of 7:
7

Bounty Hunter rolled 1d20+11 and got a total of 17:
6

_________________
"Life is like a Dungeon Master, if it smiles at you something terrible is probably about to happen."

Play-By-Post Games
Phandelver : IC / OC / Map


Like this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 531 posts ]  Go to page 1, 2, 3, 4, 5 ... 27  Next

All times are UTC - 6 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group