Prefer not to see ads? Become a Community Supporter.
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25

Thread: New Forum Integrated Dice Roller

  1. #1
    Join Date
    Jul 2006
    Location
    Bellevue
    Age
    35
    Posts
    2,867
    Blog Entries
    28

    New Forum Integrated Dice Roller

    Prefer not to see ads?
    Become a Community Supporter.
    You asked for it. Now you've got it! For those of you who may not have seen the discussion in the Suggestion Forum about Play-by-Post Dice Rolling, we have recently added a new feature that allows you to roll just about any dice you can think of and have the results appended to your post. The dice parser understands standard dice notation and can make multiple rolls at one time. It does not yet do success based rolling, but you could still use it to roll the dice and then figure out the successes manually. So, here's how it works...

    You may use this tag to roll one or more dice in your post in the format of: [roll=Dice]Action Description[/roll]. The roller understands standard dice expression syntax and always operates left to right. You can roll more than one set of dice at a time by using a semi-colon (;). Ex:

    [roll=3d6+4;1d100;2d4*1000;1d4*1d8;1d10/2]Farcaster rolls a bunch of dice for fun[/roll]

    Might produce:

    Farcaster rolls a bunch of dice for fun: 3d6 (4,6,5 = 15) + 4 = 19
    1d100 (63) = 63
    2d4 (4,2 = 6) * 1000 = 6000
    1d4 (1) * 1d8 (2) = 2
    1d10 (8) / 2 = 4
    The results are appended in a dice history box at at the bottom of the post, and the action is put in the post like this:

    * Farcaster rolls a bunch of dice for fun *


    Also, you can simply type "[roll=3d6]Farcaster rolls some dice[/roll]" for example and the parser will automatically fill in an action for you using your name.. Example:

    * Farcaster rolls some dice *


    If you edit your post, dice are NOT automatically rerolled even if you add or change the dice expressions. You'll now see a checkbox just below the title "Reroll Dice in Post." To have the dice rolled again, you must put a check in that box.

    Enjoy!

    Dice Result History - [Hide]
    Thursday 02-21-2008 01:26 PM
    Farcaster rolls a bunch of dice for fun: 3d6 (2,5,1 = 8) + 4 = 12
    1d100 (25)
    2d4 (3,1 = 4) * 1000 = 4000
    1d4 (2) * 1d8 (2) = 4
    1d10 (10) / 2 = 5
    Farcaster rolls some dice: 3d6 (3,5,3 = 11)
    Robert A. Howard
    Pen & Paper Games
    Follow us on Facebook and Twitter.

  2. #2
    Join Date
    Jan 2008
    Location
    Longmont
    Age
    55
    Posts
    867
    Blog Entries
    3
    * Checking my dice pool *


    So, how many successes did I make? Edit: 5 successes, pretty good.



    Carl

    Dice Result History - [Hide]
    Thursday 02-21-2008 01:53 PM
    Checking my dice pool: 15d6 (2,3,6,6,5,1,6,1,2,4,1,3,3,5,1 = 49)
    GMing: Shadowrun 4th
    The Denver RPG Group - My Shadowrun Site - My Shadowrun Blog - Shadowrun Mooks
    I also administer the Mosaic and Stained Glass forums if you happen to be artistic


  3. #3
    fmitchell's Avatar
    fmitchell is offline Generic/Universal Moderator Community Supporter
    Player/GM: Either
    LFG: LFG
    Join Date
    Sep 2006
    Location
    Richardson
    Age
    46
    Posts
    1,242
    Blog Entries
    23
    * For reference ... *


    Hm, the parser doesn't like "4d3-8" ...

    * Here's one example: *


    * And another: *


    * And yet another: *


    * Not even "4d3"? *


    * How about "2d6" again? *
    Last edited by Farcaster; Thursday 02-21-2008 at 02:10 PM.

    Dice Result History - [Hide]
    Thursday 02-21-2008 02:03 PM
    Here's one example:: 4d3 (3,2,2,3 = 10) - 8 = 2
    And another:: 4d3 (0) - 8 = -8
    And yet another:: 4d3 (0) + (0) - 8 = -8
    But this works.: 4d3 (3,3,3,3 = 12)
    Thursday 02-21-2008 02:05 PM
    For reference ...: 2d6 (1,1 = 2)
    Here's one example:: 4d3 (1,3,1,2 = 7) - 8 = -1
    And another:: 4d3 (0) - 8 = -8
    And yet another:: 4d3 (0) + (0) - 8 = -8
    Not even "4d3"?: 4d3 (1,1,3,3 = 8)
    How about "2d6" again?: 2d6 (1,5 = 6)
    Thursday 02-21-2008 02:10 PM
    For reference ...: 2d6 (2,5 = 7)
    Here's one example:: 4d3 (1,3,3,1 = 8) - 8 = 0
    And another:: 4d3 (3,1,1,2 = 7) - 8 = -1
    And yet another:: 4d3 (1,1,2,3 = 7) - 8 = -1
    Not even "4d3"?: 4d3 (2,3,2,2 = 9)
    How about "2d6" again?: 2d6 (3,5 = 8)
    "On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
    - Charles Babbage (1791 - 1871)

  4. #4
    Join Date
    Feb 2008
    Location
    Waterloo
    Posts
    243
    It might not like the spaces. I can't see your examples, so I don't know if they have the space.

    * here's an example without spaces; don't know if it will work *

    Dice Result History - [Hide]
    Thursday 02-21-2008 02:02 PM
    here's an example without spaces; don't know if it will work: 4d3 (2,3,1,3 = 9) - 8 = 1

  5. #5
    fmitchell's Avatar
    fmitchell is offline Generic/Universal Moderator Community Supporter
    Player/GM: Either
    LFG: LFG
    Join Date
    Sep 2006
    Location
    Richardson
    Age
    46
    Posts
    1,242
    Blog Entries
    23
    Hmm ... working now. Either Farcaster did some magic, or I forgot to check the "reroll" box a few times.

    * One more roll ... *


    Yep.

    The point I originally wanted to make is that "4d3-8" is mathematically equivalent to 4dF, for all you Fudge/FATE players.
    Last edited by fmitchell; Thursday 02-21-2008 at 03:57 PM. Reason: more dice rolls

    Dice Result History - [Hide]
    Thursday 02-21-2008 02:08 PM
    One more roll ...: 4d3 (2,2,1,1 = 6) - 8 = -2
    Thursday 02-21-2008 03:56 PM
    One more roll ...: 4d3 (1,3,3,2 = 9) - 8 = 1
    Thursday 02-21-2008 03:56 PM
    One more roll ...: 4d3 (2,1,2,2 = 7) - 8 = -1
    Thursday 02-21-2008 03:57 PM
    One more roll ...: 4d3 (3,3,3,2 = 11) - 8 = 3
    "On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
    - Charles Babbage (1791 - 1871)

  6. #6
    Join Date
    Jul 2006
    Location
    Bellevue
    Age
    35
    Posts
    2,867
    Blog Entries
    28
    Frank,

    Yeah, you do have to check the reroll box (I went back and edited your post and tried it myself). Also, it looks like it doesn't handle spaces well. So for now make sure your expressions don't contain spaces. You can do "4d6-8", but not "4d6 + -8".
    Robert A. Howard
    Pen & Paper Games
    Follow us on Facebook and Twitter.

  7. #7
    fmitchell's Avatar
    fmitchell is offline Generic/Universal Moderator Community Supporter
    Player/GM: Either
    LFG: LFG
    Join Date
    Sep 2006
    Location
    Richardson
    Age
    46
    Posts
    1,242
    Blog Entries
    23
    Quote Originally Posted by Farcaster View Post
    Also, it looks like it doesn't handle spaces well.
    Yeah, the version with spaces was a desperation move, after my original "4d3-8" didn't work. However, I think I put that in after I posted, so that's why it didn't show up the first time.

    Hm, it's a shame "number of successes" isn't directly supported. Maybe a notation like 5s(3/10) ... five dice, success chance 3/10 (e.g. 8,9,10 on a d10). But there's also exploding dice, a la NWoD and Shadowrun, and Grimm uses a single d6 where 6 explodes, 1 explodes negatively, and 2-5 are 0 ... so maybe it isn't worth it.

    For exploding dice, you could always roll your ordinary number and do a separate roll for possible rerolls (in the order in which they occur, if at all).
    Last edited by fmitchell; Thursday 02-21-2008 at 03:39 PM. Reason: d3 ... "d10, sir"
    "On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
    - Charles Babbage (1791 - 1871)

  8. #8
    Join Date
    Jul 2006
    Location
    Bellevue
    Age
    35
    Posts
    2,867
    Blog Entries
    28
    For success based stuff, I was thinking a notation something like 8d10>6. That would tell the roller to count the number of individual dice that were 7 or above. Theoretically, you could also use this for mass combat situations. For instance, I might want to roll attacks for a bunch of troops and see if any of them scored a hit against a fixed AC, say 14. So, I could write the expression as 15d20+3>=14.

    That's not in there yet, of course, but I'd like to add it.
    Robert A. Howard
    Pen & Paper Games
    Follow us on Facebook and Twitter.

  9. #9
    fmitchell's Avatar
    fmitchell is offline Generic/Universal Moderator Community Supporter
    Player/GM: Either
    LFG: LFG
    Join Date
    Sep 2006
    Location
    Richardson
    Age
    46
    Posts
    1,242
    Blog Entries
    23
    Unless you like writing parsers, or that's the last extension you intend to make, I'd suggest a functional syntax instead, e.g. "count(5d10, 8, 10)" to roll 5d10 and count all results between 8 and 10.

    If you want to support exploding dice later, you can use the function "count(explode(5d10, 10), 8, 10)" where explode(D, T) returns a list of the original roll D plus additional rolls for each result meeting the target T, recursively.

    The default syntax NdX would be syntactic sugar for sum(NdX) ...

    Or maybe I'm thinking too much like a functional programmer here.
    "On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
    - Charles Babbage (1791 - 1871)

  10. #10
    Join Date
    Dec 2007
    Location
    Wethersfield
    Age
    40
    Posts
    853
    Quote Originally Posted by fmitchell View Post
    Or maybe I'm thinking too much like a functional programmer here.
    Makes sense to me too. One just have to avoid ambiguous syntax, whatever the choice will be in the end.
    Au gibet noir, manchot aimable, dansent, dansent les paladins
    Les maigres paladins du diable les squelettes de Saladins.

  11. #11
    Join Date
    Dec 2007
    Location
    Brooklyn
    Age
    38
    Posts
    151

    Hmmm...

    Well good luck with your pseduo-random number generator

    that emulates dice.
    Last edited by Jonathan Kwiat; Friday 02-29-2008 at 11:15 PM.

  12. #12
    Join Date
    Oct 2006
    Location
    Florissant
    Posts
    187
    Now, what are the chances of getting the dice rolling scripts able to be accessed from the live chat room?

  13. #13
    Join Date
    Mar 2007
    Location
    Oceanside
    Posts
    4,087
    Blog Entries
    40
    it's all in the wrist... rolling, or typing....

    tell you what, jonathan, you get farcaster to try out crystalball lite, and then see what he thinks about duplicating the features on the forum, and then we can talk some more. for that matter, try it out yourself. you might like it.
    Last edited by nijineko; Saturday 02-23-2008 at 02:11 AM.
    nijineko the gm: AG16, CoS. nijineko the player: AtG, RttToH; . The Journal of Tala'elowar Kiyiik! .
    CrystalBallLite: the best dice roller on the planet! . nijineko the archivist: the 3.x archive

  14. #14
    Join Date
    Dec 2007
    Location
    Brooklyn
    Age
    38
    Posts
    151
    Apparently there is need for cystalbalite dice and these dice on the forum.

    Ah well, they can even be made in OpenOffice, a spreadsheet application.
    Last edited by Jonathan Kwiat; Friday 02-29-2008 at 11:16 PM.

  15. #15
    Join Date
    Mar 2007
    Location
    Oceanside
    Posts
    4,087
    Blog Entries
    40
    you missed that it is also windows compatible. ^^

    and it's not just the dice rolling, or even that it's networkable. or the chat features.... it's the other features that make it so useful. how many dice rollers do you know that have the capability to roll up your random treasure for you? or xp? or even play a choose-your-own-adventure with you? or support event-based adventures? just one-crystalball lite. =D

    check it out, then post about it. ^^ in the meantime, i think everyone will enjoy using the built in dice roller that farcaster wrote. i encourage them! for play-by-post, the board dice roller is what is needed. and a very nice feature it is too. i fully support it!
    nijineko the gm: AG16, CoS. nijineko the player: AtG, RttToH; . The Journal of Tala'elowar Kiyiik! .
    CrystalBallLite: the best dice roller on the planet! . nijineko the archivist: the 3.x archive

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Inn-Fighting: The D&D Tavern Brawl Dice Game (Dungeons & Dragons Game)
    By PnP News Bot in forum Archived Product Reviews
    Replies: 8
    Last Post: Thursday 06-24-2010, 03:40 AM
  2. Dungeons & Dragons Premium Dice (D&D Accessory)
    By PnP News Bot in forum Archived Product Reviews
    Replies: 49
    Last Post: Monday 06-21-2010, 05:19 AM
  3. Show Off Your Dice
    By Mulsiphix in forum General RPG / Industry Discussions
    Replies: 84
    Last Post: Monday 12-08-2008, 03:44 PM
  4. Dice Fate
    By Moritz in forum Dungeons & Dragons
    Replies: 6
    Last Post: Wednesday 08-15-2007, 06:11 AM
  5. Dice Roller on Phone
    By ronpyatt in forum Generic/Universal Discussion
    Replies: 0
    Last Post: Sunday 12-10-2006, 12:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts