The Role Playing Public Radio Forums

Play by Post Arena => Play by Post => : clockworkjoe March 16, 2009, 03:33:34 PM

: dice roller test
: clockworkjoe March 16, 2009, 03:33:34 PM
Dice roller now works. The command is : dice xdy  : without the spaces between the colons. so dice 1d20 would roll a single d20 for example.

Rolling 1d20:
(17): Total = 17
: Re: dice roller test
: clockworkjoe March 16, 2009, 03:36:50 PM
Rolling 2d6:
(3+4): Total = 7
: Re: dice roller test
: clockworkjoe March 16, 2009, 03:37:10 PM
Rolling 2d8:
(3+2): Total = 5
: Re: dice roller test
: JonHook March 16, 2009, 04:50:51 PM
Rolling 2d20:
(17+4): Total = 21


: Re: dice roller test
: JonHook March 16, 2009, 04:51:22 PM
Hmm... that was interesting.  :)
: Re: dice roller test
: Phelanar March 16, 2009, 05:39:37 PM
Ooh, I wanna play. And see if you can just add modifiers directly. Rolling 1d20+8:
(4)+8: Total = 12
: Re: dice roller test
: JonHook March 16, 2009, 07:17:37 PM
Rolling 1d20:
(15): Total = 15
: Re: dice roller test
: JonHook March 16, 2009, 07:18:35 PM
Rolling 1d20:
(1): Total = 1
: Re: dice roller test
: JonHook March 16, 2009, 07:19:30 PM
Rolling 1d20:
(8): Total = 8
: Re: dice roller test
: Tadanori Oyama March 16, 2009, 08:43:47 PM
Cool. I'm rollin' up.

<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 3d6: <div style="background-color: #919191;">(3+5+4): Total = 12 </div>
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 3d6: <div style="background-color: #919191;">(5+2+3): Total = 10 </div>
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 3d6: <div style="background-color: #919191;">(5+4+1): Total = 10 </div>
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 3d6: <div style="background-color: #919191;">(2+2+2): Total = 6 </div>
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 3d6: <div style="background-color: #919191;">(6+5+6): Total = 17 </div>
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 3d6: <div style="background-color: #919191;">(6+1+2): Total = 9 </div>


Look like I'm playin' a Cleric.

It also looks like modifying a pos with dice rolls in it undoes the imagry of the code...
: Re: dice roller test
: clockworkjoe March 16, 2009, 08:50:16 PM
what did you do to get that response?

I'll fix the 8 smiley thing tonight. I just need to add a space.
: Re: dice roller test
: Maze March 16, 2009, 09:14:11 PM
Obamastrike!!!
Rolling 1d20:
(6): Total = 6

If hits it does:
Rolling 3d10:
(4+7+2): Total = 13

motherfuckin' damage!
: Re: dice roller test
: Dawnsteel March 17, 2009, 09:11:05 AM

I'm sure Obama has at least a +9 attack modifier.  He should have no problem clobbering that ghoul.
: Re: dice roller test
: scndthe2nd March 19, 2009, 11:12:56 PM
Rolling 1d20:
(8): Total = 8

Rolling 1d10+5:
(7)+5: Total = 12
: Re: dice roller test
: Maze March 19, 2009, 11:26:09 PM
The only thing you can hit with a score so low is a paraplegic kobold. On the other hand, you dished out enough damage that his grand-grand-sons will feel the pain (and come out with grossly deformed head.) Good job. 8)
: Re: dice roller test
: scndthe2nd March 19, 2009, 11:56:09 PM
If at first we do not succeed, roll, roll again.

Rolling 1d20:
(15): Total = 15



And

Rolling 1d10+5:
(2)+5: Total = 7
: Re: dice roller test
: dragonshaos March 20, 2009, 05:03:40 PM
...OK I'm stoopid...I don't know how to get the dice working...

Could someone post a really easy and simple way, for someone as simple as me to get?
: Re: dice roller test
: scndthe2nd March 20, 2009, 05:10:35 PM
its not : roll 1d6 :
its : dice 1d6 :

Rolling 1d6:
(5): Total = 5
: Re: dice roller test
: Tadanori Oyama March 20, 2009, 05:27:45 PM
Yep but, as I learned, you can't mod the post after you've rolled the dice of fate or you get code.
: Re: dice roller test
: dragonshaos March 20, 2009, 05:28:46 PM
Yaa...Ive been deleting my last 3 messages because of that hahaha

But look!  It works yay!

Rolling 1d20:
(6): Total = 6


Rolling 1d6:
(5): Total = 5
: Re: dice roller test
: clockworkjoe March 20, 2009, 05:32:41 PM
Anyone a good PHP coder? If so, I can point you to the thread on the SMF forums where I found the code for the dice roller. I don't have time to figure out how to implement quoting rolled dice but maybe someone else can.
: Re: dice roller test
: Tadanori Oyama March 20, 2009, 05:37:15 PM
I've done a little. I'd be happy to give it a shot. Can't promise anything of course and I might take SkyNet live by accident.
: Re: dice roller test
: Maze March 20, 2009, 07:59:47 PM
Yeah, I'll give it a look too.
: Re: dice roller test
: clockworkjoe March 21, 2009, 12:59:23 AM
This is the page of the thread I copied the code from http://www.simplemachines.org/community/index.php?topic=26713.40 look for Shank's post.



: Re: dice roller test
: Setherick March 23, 2009, 10:36:42 AM
Rolling Damage for Cthulhu. Sorry, too many rolls!

And a Random DnD Character

Rolling 3d6:
(1+2+4): Total = 7

Rolling 3d6:
(6+6+3): Total = 15

Rolling 3d6:
(5+2+3): Total = 10

Rolling 3d6:
(3+6+2): Total = 11

Rolling 3d6:
(6+2+1): Total = 9

Rolling 3d6:
(6+2+3): Total = 11
: Re: dice roller test
: vcdaniels March 26, 2009, 05:59:42 AM
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 1d100: <div style="background-color: #919191;">(3): Total = 3 </div>


WOW that roll SUCKED!  No, wait . . . that ROCKED!!  In Call of Cthulhu that would be an impale I believe.  SWEET!
: Re: dice roller test
: dragonshaos April 07, 2009, 02:35:43 AM
Rolling 3d6:
(1+4+4): Total = 9

Rolling 3d6:
(5+2+4): Total = 11

Rolling 3d6:
(1+2+1): Total = 4

Rolling 3d6:
(2+5+4): Total = 11

Rolling 3d6:
(6+2+6): Total = 14

Rolling 3d6:
(4+3+5): Total = 12
: Re: dice roller test
: Alchemist August 04, 2009, 08:51:34 PM
Rolling 3d10:
(5+3+4): Total = 12
: Re: dice roller test
: Alchemist August 04, 2009, 08:53:01 PM

I finnaly got it to work  :D  :P
: Re: dice roller test
: Karl August 05, 2009, 11:36:40 AM
Rolling 2d6:
(2+5): Total = 7

: Re: dice roller test
: ArtfulShrapnel September 21, 2009, 10:41:28 PM
Now let's see if we can roll sneak attack damage for my rogue all at once?

Rolling 1d20+4:
(9)+4: Total = 13


:dice 1d4+3+2d6:

Rolling 1d4+3:
(4)+3: Total = 7

Rolling 2d6:
(3+3): Total = 6


Edit: Guess not. Worth a shot.
: Re: dice roller test
: Sean-o-tron September 23, 2009, 11:26:11 PM
Rolling 1d20:
(14): Total = 14
: Re: dice roller test
: Sean-o-tron September 23, 2009, 11:34:14 PM
<img src="http://slangdesign.com/forums/Themes/default/images/dice.gif" alt="" />Rolling 2d8-3: <div style="background-color: #919191;">(4+7)-3: Total = 8 </div>

oh hey an edit for no reason
: Re: dice roller test
: ugnis13 September 24, 2009, 12:36:57 AM
Rolling 1d12:
(2): Total = 2
: Re: dice roller test
: ugnis13 September 26, 2009, 10:38:09 PM
Rolling 3d6:
(6+1+6): Total = 13
: Re: dice roller test
: Setherick September 27, 2009, 09:12:37 PM
:dice (3d6)+(1d4)+2:

that didn't work either
: Re: dice roller test
: Boyos September 27, 2009, 10:23:27 PM
:dice (3d6)+(1d4):

looks to me like we cant do 2 sets of dice at once. I also tryed

:dice 3d6+1d4:

:dice ((3d6)+(1d4)):

:dice (3d6+1d4):

:dice (3d6)+(1d4):

:dice (3d6)+1d4:
: Re: dice roller test
: Setherick October 02, 2009, 02:25:09 PM
:Rolling 1d4:
(4): Total = 4
+ Rolling 1d8:
(8): Total = 8
:
: Re: dice roller test
: Setherick October 02, 2009, 02:26:19 PM
I give up...
: Re: dice roller test
: IDaMan008 October 03, 2009, 10:38:12 AM
Rolling 5d10:
(4+1+4+2+10): Total = 21
: Re: dice roller test
: IDaMan008 October 03, 2009, 10:39:13 AM
Wow, that was a really shitty roll! Given a base diff of 7, I botched out my one success. Oh well.
: Re: dice roller test
: Murph October 04, 2009, 11:38:06 AM
Rolling 1d6:
(6): Total = 6