NEW PbP BBCODE for DICE Rolling!

Archives of old PbP requests/news and such.
Post Reply
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

NEW PbP BBCODE for DICE Rolling!

Post by admin »

Getting very annoyed with Invisible Castle being down, I've decided to add a Dice Rolling Module to the Forum...

When composing a message, you'll see the new DICE bbcode which cab be used to roll dices!

[dice]1[/dice]

This Mod has all the basic math (add/subtract/multiply/divide) so you could have something like 10/(3d20+3)*-2.5) within the dice BBCode. One limitation of this module (and this is actually the ONLY module currently available to roll dice in PBPBB3) is that you can't have [at this time] multiple dice like 1d4+3+2d6, which would have been useful for a Rogue, for instance.

You can test the dice bbcode in the DICE BBCODE Testing Area! thread!!

admin
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by admin »

The changelog is the only Documentation for this Mod.

admin
User avatar
shai-hulud
EPIC Contributor
EPIC Contributor
Posts: 2707
Joined: Tue Jun 07, 2005 7:47 am
Location: Meriden, CT

Re: NEW PbP BBCODE for DICE Rolling!

Post by shai-hulud »

Question: Is it possible to roll the same thing multiple times? Like if a DM asks you to roll 10 perception checks, can you create a dice mode like:

Code: Select all

[dice = num(10)]1d20+10[/dice]
where it would spit out 10 rolls of 1d20+10?
If at first you don't succeed, then skydiving is not for you.
"Danger is like Jello. There's always room for more."

Image Kolgu 'Sparky' Dermott: Android Rogue/Wizard
Image Garrick Cae'Sarr: Human Bard
Image Hormy Noodzo: Goblin Hunter
Image Gregory Milliken: Human Rogue
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by admin »

shai-hulud wrote:Question: Is it possible to roll the same thing multiple times? Like if a DM asks you to roll 10 perception checks, can you create a dice mode like:

Code: Select all

[dice = num(10)]1d20+10[/dice]
where it would spit out 10 rolls of 1d20+10?
I'll ask the creator...
admin
User avatar
Duniagdra
Divine Rank 21
Divine Rank 21
Posts: 2266
Joined: Sat Dec 29, 2007 5:17 pm
Location: Newark, New Jersey, USA
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by Duniagdra »

While you're at it, ask the creator if he'll get to adding the ability to total multiple dice. :P
(i.e. 1d8+3+2d6 or 1d20+1d4)
Image Marcus Tilsworth - Human Sorcerer
Image Agrous: Human Cleric
Image Ulyuk Bok - Elan Gestalt
Image Tryzscatzmel Ry - Gnome Alchemist
Image Image
Image
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by admin »

I updated the Dice mod... here is the Changelog:
0.8.4:
  • repaired math parsing
  • put dicemod version number into the db
0.8.3:
  • fixed bug: broken dice quotes in new posts created via quote button
  • enabled preview without dice bbcode parsing
  • enabled disabling of dice bbcode by disabling bbcode in a post
  • enabled disabling dice bbcode parsing by placing it within bbcode
  • hopefully fixed issue with dice rolls being assinged wrong post_ids
Remember that this is still in "beta' testing and is prone to errors!!

admin
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by admin »

This is how you use the totalonly tag for rolling dice WITHOUT the individual die result showing (usually, you want the total!)

Code: Select all

[dice=totalonly]2d6+3[/dice]
results in:
[dice=totalonly]0[/dice]

admin
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by admin »

If you wish to test dice yourself, please use the DICE BBCODE Testing Area! thread, thanks!!

admin
User avatar
admin
-={ ARCHMAGE }=-
-={ ARCHMAGE }=-
Posts: 11410
Joined: Wed May 25, 2005 5:51 pm
Location: Golarion
Contact:

Re: NEW PbP BBCODE for DICE Rolling!

Post by admin »

I added images for d2, d3 and d100 when using the RED dice images!

admin
Post Reply

Return to “The Old Die [Old PbP news]”