Page 3 of 5

Re: How the game will work

Posted: Fri Feb 28, 2014 2:25 am
by Furiel
Basically like that yeah, just need the total with the option to see what the actual dice were because it should only be needed when rolling damage and only then under certain situations.

Re: How the game will work

Posted: Fri Feb 28, 2014 2:37 am
by Blackferne
I think he could just do something like

[dice]0[/dice] + [dice]1[/dice] +4 and we can add it up in the next post.

Re: How the game will work

Posted: Fri Feb 28, 2014 5:00 am
by Jimer Lins
Wait, you're writing this yourself, Tak? Nice.

Re: How the game will work

Posted: Fri Feb 28, 2014 6:57 am
by Takanudo
Jimer Lins wrote:Wait, you're writing this yourself, Tak? Nice.
I just updated the abandoned dice mod Joun tried to install so that it works with the latest version of phpBB. But I'm happy to improve on it so that it meets your needs.

-Takanudo (thinks it has been a fun exercise)

Re: How the game will work

Posted: Fri Feb 28, 2014 12:00 pm
by Maizan
Sweet. Thanks Taka.

Sent from my Windows8 phone using Tapatalk

Re: How the game will work

Posted: Fri Feb 28, 2014 9:44 pm
by Furiel
trying a dicemod experiment here

[dice]2[/dice]

[dice]0[/dice]

[dice]1[/dice]

Re: How the game will work

Posted: Fri Feb 28, 2014 9:47 pm
by Furiel
[dice]0[/dice]

[dice]1[/dice]

[dice]2[/dice]

[dice]3[/dice]

[dice]4[/dice]

Re: How the game will work

Posted: Mon Mar 03, 2014 12:04 am
by Whiteness
test

[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]

Re: How the game will work

Posted: Tue Mar 04, 2014 1:12 am
by Maizan
[dicetotal,string]1d100[/dice]

Re: How the game will work

Posted: Tue Mar 04, 2014 1:13 am
by Maizan
[dicetotal,string]1d99[/dice]

Re: How the game will work

Posted: Tue Mar 04, 2014 3:29 am
by Whiteness
[dice]0[/dice]

edit
edit2

Re: How the game will work

Posted: Wed Mar 05, 2014 5:58 am
by Takanudo

Re: How the game will work

Posted: Wed Mar 05, 2014 6:18 am
by Takanudo
The dicemod has a "real dice" option that can be set in the ACP. It was set to allow only 4, 6, 8, 10, 12, and 20 sided dice. I just added 100 sided die. The "real dice" option can be disabled if you guys want to be able to roll anything.

Here are some other options in the ACP you may want to be aware of:
  • You can roll up to 19 of the same die. So this will not work:
    [dice]20d20[/dice]
    Let me know if this should be increased.
  • You are limited to 20 dice tags per post. This can also be increased
There is also an option to limit the number of mathematical operations in a dice throw, but it doesn't seem to be working. I've added it to my list of things to fix. I think the intent is allow things like 1d20+1-2. I'm going to try to get it to allow things like 1d20+1d6+1-2. I'll try to get it fixed this weekend. I looked into getting the dicemod to work with Tapatalk. It's going to be a little involved. It looks like I'm going to have to write a dice mod for the tapatalk mod. I'd like to refactor the dicemod code a bit before I try adding it to tapatalk.

-Takanudo (didn't know you could actually buy 100 sided dice)

Re: How the game will work

Posted: Wed Mar 05, 2014 6:38 am
by Jimer Lins
True 100-sided dice are a novelty, almost no one uses them. The term "d100" just refers to any randomizer that generates an even distribution across 100 numbers, such as using 2 d10s and designating one as tens, the other as zeros.

Does the dice mod generate actual dice rolls? I ask because it's important that for things like 3d8 or 2d6 that it get that bell-curve distribution, so it should generate a separate random number for each die before adding them together.

Re: How the game will work

Posted: Wed Mar 05, 2014 5:31 pm
by Takanudo
Jimer Lins wrote:Does the dice mod generate actual dice rolls? I ask because it's important that for things like 3d8 or 2d6 that it get that bell-curve distribution, so it should generate a separate random number for each die before adding them together.
It does. There is a for loop from i = 0 to i < number_to_the_left_of_d. Each iteration calls mt_rand(1, number_to_the_right_of_d) and keeps a running total of what is returned. After the loop, modifiers are added to the total.

-Nerdanudo

Re: How the game will work

Posted: Wed Mar 05, 2014 5:37 pm
by Jimer Lins
Takanudo wrote:
Jimer Lins wrote:Does the dice mod generate actual dice rolls? I ask because it's important that for things like 3d8 or 2d6 that it get that bell-curve distribution, so it should generate a separate random number for each die before adding them together.
It does. There is a for loop from i = 0 to i < number_to_the_left_of_d. Each iteration calls mt_rand(1, number_to_the_right_of_d) and keeps a running total of what is returned. After the loop, modifiers are added to the total.

-Nerdanudo
Good deal. I figured that was the case, but probability distribution is important for D&D dice rolls, so I thought it'd be good to ask. :)

Re: How the game will work

Posted: Thu Mar 06, 2014 11:47 pm
by Maizan

edit
Sent from my Windows8 phone using Tapatalk

Re: How the game will work

Posted: Thu Mar 06, 2014 11:54 pm
by Maizan
Oh I think the mod script is doing an html post which causes the \ to appear when posting with tapatalk.

Sent from my Windows8 phone using Tapatalk

Re: How the game will work

Posted: Thu Mar 13, 2014 12:19 am
by Maizan


Sent from my Windows8 phone using Tapatalk

Re: How the game will work

Posted: Wed Mar 19, 2014 8:37 pm
by Whiteness
[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]
[dice]1d10[/dice]

Re: How the game will work

Posted: Wed Mar 19, 2014 8:41 pm
by Whiteness
[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]

Re: How the game will work

Posted: Wed Mar 19, 2014 8:41 pm
by Whiteness
[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]

Re: How the game will work

Posted: Wed Mar 19, 2014 8:44 pm
by Whiteness
[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]

Re: How the game will work

Posted: Wed Mar 19, 2014 8:45 pm
by Whiteness
[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]

Re: How the game will work

Posted: Wed Mar 19, 2014 8:46 pm
by Whiteness
[dice]0[/dice]
[dice]1[/dice]
[dice]2[/dice]
[dice]3[/dice]
[dice]4[/dice]
[dice]5[/dice]
[dice]6[/dice]
[dice]7[/dice]
[dice]8[/dice]
[dice]9[/dice]
[dice]10[/dice]
[dice]11[/dice]
[dice]12[/dice]
[dice]13[/dice]
[dice]14[/dice]
[dice]15[/dice]
[dice]16[/dice]
[dice]17[/dice]
[dice]18[/dice]
[dice]19[/dice]