NEW PbP BBCODE for DICE Rolling!

Use this section to:
-> Propose new Play by Post games!
-> Find replacement players for an existing PbP.
-> New missions for the Champions of Destiny
* All PbP requires an active subscription to TOS+

NEW PbP BBCODE for DICE Rolling!

Postby admin » Tue Sep 27, 2011 6:16 pm

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!

admin rolled 1d6:
6


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
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada

Re: NEW PbP BBCODE for DICE Rolling!

Postby admin » Wed Sep 28, 2011 12:04 am

The changelog is the only Documentation for this Mod.

admin
User avatar
admin
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada

Re: NEW PbP BBCODE for DICE Rolling!

Postby shai-hulud » Wed Jan 25, 2012 12:39 am

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."
User avatar
shai-hulud
Adjutant
Adjutant
 
Posts: 5559
Joined: Tue Jun 07, 2005 8:47 am
Location: Binghamton University

Re: NEW PbP BBCODE for DICE Rolling!

Postby admin » Wed Jan 25, 2012 12:48 am

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
admin
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada

Re: NEW PbP BBCODE for DICE Rolling!

Postby Duniagdra » Thu Jan 26, 2012 8:13 am

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 Ulyuk Bok - Elan Gestalt
Image Tryzscatzmel Ry - Gnome Alchemist
Image Image
Image
User avatar
Duniagdra
Divine Rank 20
Divine Rank 20
 
Posts: 6621
Joined: Sat Dec 29, 2007 7:17 pm
Location: Newark, New Jersey, USA

Re: NEW PbP BBCODE for DICE Rolling!

Postby admin » Wed Feb 22, 2012 4:54 pm

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 [code][/code] 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
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada

Re: NEW PbP BBCODE for DICE Rolling!

Postby admin » Wed Feb 22, 2012 4:59 pm

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:
admin rolled 2d6+3 and got a total of 6.


admin
User avatar
admin
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada

Re: NEW PbP BBCODE for DICE Rolling!

Postby admin » Wed Feb 22, 2012 7:43 pm

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

admin
User avatar
admin
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada

Re: NEW PbP BBCODE for DICE Rolling!

Postby admin » Tue Jun 19, 2012 10:42 am

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

admin
User avatar
admin
-={ CREATOR }=-
-={ CREATOR }=-
 
Posts: 10455
Joined: Wed May 25, 2005 6:51 pm
Location: Canada


Return to The Dice Room [Play-by-Post Gaming Announcements]

Who is online

Users browsing this forum: No registered users and 0 guests

cron