[RC][2.1.1] Dice rolls

πŸ†“ Are you a πŸ“œ RPG enthousiast? A role playing master 🀴? Then we’ve got just the rolls for you! Your users can throw dice within your forums and let the story continue in new directions. All this while you as an Administrator are in control.


Locked
User avatar
3Di
Site Admin
Posts: 305
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

[RC][2.1.1] Dice rolls

Post by 3Di » Thu Apr 04, 2019 1:03 am

:game_die: Dice rolls :game_die:

Authors’ note: Of the old MOD β€œDicemod v0.8.8b” we kept only 2 skins, not a single line of that one has been used, everything has been rewritten from ground zero. An additional skin created in SVG has been added.

             » phpBB Studio
                      :label: 2.1.2
                       :tools:        PHP >= 5.5
                               phpBB >= 3.2.5
and optional also this PR 5474
                                       Usage of glob()

Are you a :scroll: RPG enthousiast? A role playing master :prince:? Then we’ve got just the rolls for you!
We have created a comprehensive dice roller extension that is flawlessly integrated into phpBB’s native system.
Your users can throw dice within your forums and let the story continue in new directions.
All this while you as an Administrator are in control.

We have taken all precautions to make sure users can not manipulate their dice rolls into the desired outcome.
A custom PHP class was created to make sure all calculations are done β€œbehind the scenes”.
And an additional way to gain more control over the individual rolls is done by mimicing the native attachment system.

A preview of some of the possibilities:
                  d6 or 1d   A 6 sided die
                            2d6   Two 6 sided dice
                      1d6+4   Roll a 6 sided dice and add 4 to the result
      2d10*4+1d20   Roll two 10 sided dice multiply by four, and roll one 20 sided die
2d10+4+2d20-L   Roll two 10 sided dice add four, and roll two 20 sided die, taking away the lowest of the two
                              d%   A percentile die - equivalent to d100
          dF or dF.2A   standard fudge dice - 2 thirds of each symbol
                           dF.1   A non-standard fudge dice - 1 positive, 1 negative, 4 blank
                          2d6!   Exploding dice - two 6 sided die, rolling again for each roll of the maximum value
                        2d6!!   Exploding & compounding dice - like exploding, but adding together into single roll
                       2d6!p   Penetrating dice - like exploding, but subtract 1 from each consecutive roll
                     2d6!!p   Penetrating & compounding dice - like exploding & compounding, but subtract 1 from each consecutive roll
                 2d6!>=4   Exploding dice, but only if you roll a 4 or greater - Also usable with compounding and penetrating dice
                     2d6>4   Dice pool - anything greater than a 4 is a success. Counts the number of successes as the total

:inbox_tray: Download: extensions/dice-rolls
Be sure to enable the Dice roll on a per forum basis after the installation.

:bookmark_tabs: Github: https://github.com/phpBB-Studio/DiceRolls

But hey, why explain things when you can just test it out yourself!
:game_die: Live demo test page!

A good silence was never written :P


User avatar
3Di
Site Admin
Posts: 305
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

Re: [3.2][BETA] Dice rolls

Post by 3Di » Thu Apr 04, 2019 1:06 am

Image

A good silence was never written :P


User avatar
3Di
Site Admin
Posts: 305
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

[RC][2.0.1] Dice rolls

Post by 3Di » Mon Jun 03, 2019 9:14 pm

New version 2.0.1 (submitted to the CDB) - see first post.

A good silence was never written :P


User avatar
3Di
Site Admin
Posts: 305
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

[RC][2.1.0] Dice rolls

Post by 3Di » Sat Jun 08, 2019 6:21 pm

New version 2.1.0 - see first post. ;)

Changelog inside.

Update:

  • disable and NOT delete data

  • delete old files and upload the new ones

  • enable it again.

A good silence was never written :P


User avatar
3Di
Site Admin
Posts: 305
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

[RC][2.1.1] Dice rolls

Post by 3Di » Mon Jun 10, 2019 1:35 am

New version 2.1.1 - see first post. ;)

Changelog inside.

Update:

  • disable and NOT delete data

  • delete old files and upload the new ones

  • enable it again.

A good silence was never written :P


User avatar
3Di
Site Admin
Posts: 305
Joined: Mon Mar 12, 2018 8:10 pm
Location: Germany
Contact:

[RC][2.1.2] Dice rolls

Post by 3Di » Wed Jul 10, 2019 3:05 pm

New version 2.1.2- see first post. ;)

v2.1.2

  • FIX Faulty regex returning null instead of the actual message.
  • FIX Rolls’ TAB not showing up on regular user accounts upon installation.
    -
  • The following to prevent cheats:
  • ENHANCEMENT - User should not have permission to delete or modify existing rolls as default.
    -
  • The followings to keep consistency with the core code:
  • ENHANCEMENT - Posts containing rolls can be safely soft-deleted and restored.
  • ENHANCEMENT - Deleting rolls doesn’t affect quoted ones.
  • ENHANCEMENT - Editing rolls doesn’t affect quoted ones.
  • ENHANCEMENT - Deleting forum content doesn’t affect rolls quoted elsewhere, ie.: other forums.
  • ENHANCEMENT - Deleting topics doesn’t affect rolls quoted elsewhere, ie.: other topics.
    -
  • Code housekeeping


Update:

  • disable and NOT delete data

  • delete old files and upload the new ones

  • enable it again.

Image

A good silence was never written :P


Locked