• warning: Creating default object from empty value in /home/hdrpgco/public_html/drupal/sites/all/modules/advanced_forum/advanced_forum.module on line 466.
  • strict warning: Non-static method view::load() should not be called statically in /home/hdrpgco/public_html/drupal/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/hdrpgco/public_html/drupal/sites/all/modules/views/views.module on line 879.
  • strict warning: Non-static method view::load() should not be called statically in /home/hdrpgco/public_html/drupal/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_field_user::init() should be compatible with views_handler_field::init(&$view, $options) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/modules/user/views_handler_field_user.inc on line 0.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/hdrpgco/public_html/drupal/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.

New Dice Roller

1 reply [Last post]
Steel Rat's picture
Steel Rat
Offline
Joined: 10/22/2007

Hello All,

There's finally a module for rolling dice for the site software I use. It's fully integrated, and attaches the die roll to the comment/reply being posted.

To use it, when replying to a game thread, scroll down below the comment box, and you'll see an expandable item, called Roll Dice. Just click it to expand, then enter your die roll expression into the Roll field. The format is similar to the die roller I'd created as a temporary measure. Simply type in the number of rolls, followed by the number of sides on the dice, e.g. 1d20 or 2d10. You can add any modifiers right on the end of the expression, such as 1d20+4 or 1d6-1.

Unfortunately you can only enter one expression per comment, so you'll have to post multiple comments to do multiple rolls. I've submitted a request to the developer to add multiple die roll functionality, shouldn't be that hard to do.

Die rolls are also tamperproof, so players can't go back in and edit their rolls.

Any questions, post em here.

Update 05/12/11 - The new dice roller has been fixed so that die modifiers are added to the total of all dice, instead of each die. You canm also add multiple die rolls by separating each set of rolls with a semi-colon, like this: 1d20+4;3d6+2;1d100. The only issue with this is that notes added to the roll will be repeated for each set of rolls. Not a huge problem, but I'm sure it will get fixed soon (I've notified the author of the module).

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><img><pre><b><i><font><blockquote><center>
  • You may quote other posts using [quote] tags.
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • You may use [view:name=display=args] tags to display views.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.
Steel Rat's picture
Steel Rat
Offline
Joined: 10/22/2007

Ok, the new dice roller isn't working as expected.

When you roll multiple dice with a modifier, such as 3d6+3, it adds three to each die, instead of to the total of the three die.

I've opened a bug report with the programmer, hopefully it can get straightened out.

So, my die roller is still available...