![]() |
Using only BBCODE to have a dice roller - NO database changes
My forum is dedicated to Final Fantasy fans and one of the games has a very fun minigame called Blitzball that we enjoy. To make the game work we need dice. I could have installed the Dice Roller Hack but I opted to just create a new bbcode instead.
Installation: 1) Download my plugin, import into vB 2) Create 1 BBCode Quote:
4) Enjoy! Using it Write [dices=x]y[/dices] whenever you need x dices of y faces rolled See it working here Known issues: n/a Credit to The BB code was inspired by the Dice Roller Hack and the dice images came from there too :D |
GREAT!! I was using the 'RPG dado' but it was inestable.
Very much thanks! |
You are quite welcome!
This should be very stable and fast since it only uses default BB code handling. |
What's the highest single roll possible? I plan to run contests so 100 would be good. If there are no pics to correspond with such a high number, is there a way to omit the images and just have the rolls displayed as text?
|
No limit for highest single roll, 100 will work easily.
Right now there is no option to bypass the pictures but I had another older version with no pics. I can post it here later. |
This is great, except if someone edits their post, or a post is not cached or is uncachable for some reason, the dice result does not remain the same. I foresee probable cheating and complaining members...
This could be avoided by: Not allowing posts containing the [dice] bb-code to be edited. The post content could then be modified to contain the dice results instead of the bb-code, preventing re-rolls when post caching is disabled, or when the cache is rebuilt. |
Well, yeah, mine is a pretty simple implementation of the dice hack. The complete dice hack with security and such is at
https://vborg.vbsupport.ru/showthrea...071#post959071 |
All times are GMT. The time now is 07:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|