![]() |
|
|
Mod Options |
Dice Roller Hack [BBCode] Details »»
|
|||||||||||
|
Dice Roller Hack [BBCode]
Developer Last Online: Jan 2010
Dice Roller Hack [BBCode]
RPG Dice is currently a updated version Another updated version Note: Updated package includes only the correct XML. This hack is a port of: Dice Roll for vB3 and permissions was given to port by the following statement.
The basic bbcode format is: [dice=X]Y[/dice] X - The number of dice to roll, This cannot be larger then 5 currently, this may change later with demand. Y - The number of sides on the dice. so [dice=1]6[/dice] Roll's 1, 6 sided dice. The only limit that I have noticed so far is that dice will not apear correctly when rolled from the create thread editor. I am unsure as to why this is still and am working on this issue. However aside from this it is working as need be. This hack is mainly useful to Game websites that require dice rollers for gambling or roleplaying games. It can add an element of fun to a forum and is adapatable to most dice require situations. If enough demand is displayed I will work on removing the 5 roll limit or making it larger. The current maximum sides one can roll is 30. If you enjoy this hack or have it installed, then please click the install button so that you can remain informed when updates occur. As the original author said, You do not need to ask permission to update or do anything to this hack and can redistribute it if you feel you have made a great contribution to it. If someone does make new dice images and wishes to have them as part of the package then either post here or PM me and I will get them in there with full rights going to the sender for the images. Updates:
This hack was requested from: http://www.vbulletin.org/forum/showthread.php?t=97775 -Eikinskjaldi- Original Screenshots: http://www.vbulletin.org/forum/attac...3&d=1078098688 http://www.vbulletin.org/forum/attac...4&d=1078098702 Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
|||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| Module CMPS: Dice Roller | Zachariah | vBulletin 3.5 Add-ons | 15 | 01 Sep 2007 08:50 |
| Using only BBCODE to have a dice roller - NO database changes | Renmiri | vBulletin 3.5 Add-ons | 6 | 06 May 2007 04:13 |
| Comments |
|
#3
|
||||
|
||||
|
When I test:
|
||||
|
#4
|
||||
|
||||
|
Are all four plugins installed and turned on? You need to ensure that the valid fields for threads and posts is there and activated or the DM will go crazy.
|
|
#5
|
||||
|
||||
|
Ah, I found the issue, I had in my rush placed two plugins in the wrong product. I have reuploaded the product with the correct plugins.
|
|
#6
|
|||
|
|||
|
thanks, I'll remove the old and reimport the new product and test, thanks again for the hack
|
|
#7
|
||||
|
||||
|
new problem, this time is database related
|
||||
|
#9
|
||||
|
||||
|
I just downloaded and imported via Product Manager. However a parse error flashes on the screen and then is replaced by the 'installed products' screen. error flashes so fast I can't write it down or remember the whole thing.
I checked the plug-ins, there were 4 installed on the product import/upload/install, and yes all 4 are checked as 'active'. When I test in a post (and it's a reply NOT a first post) I get the following:
Last edited by Rukbat : 25 Apr 2006 at 06:21. |
||||
|
#10
|
||||
|
||||
|
Sick! Thanks for the hack!
![]() |
|
#11
|
||||||||
|
||||||||
|
Now that I'm not so tired I thought of another question regarding my error message above. What MySQL d/b changes were made? Which table needs new fields and what would the names be to look for to be sure they are there?
EDIT 9:07 CDT Okay, I went into phpMyAdmin and checked my forum tables '******_thread' and '******_post' and neither table has a 'dice' field. so do I edit the xml file and change
to
with the asterisks being the prefix for all tables in the d/b? EDIT: 9:46am CDT That didn't work, BUT, once i went in to phpMyAdmin and added the fields to the two tables it works GREAT! ![]() so I guess there's something in the code in the xml file that didn't actually ALTER my tables.... or was there something else in the xml file that i didn't find where I should have typed in the name of the d/b? I assumed since it was imported/installed using the vB AdminCP that it would 'know' that was the d/b to alter the tables in...... Last edited by Rukbat : 25 Apr 2006 at 15:53. |
||||||||
|
#12
|
|||
|
|||
|
I'm working on making some new images for the die, playing with colors
examples below Last edited by Rukbat : 25 Apr 2006 at 22:56. |
|
#13
|
||||
|
||||
|
I got this error
__________________
KXDesign ~ Unique vBulletin Modifications My free mods~click here Please take the user browser poll! |
|
#14
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
Ziki-set,
I was having the same problem. For some reason the installer isn't altering your forum database tables (_thread & _post). You need to go into your database and physically add the 'dice' field (mediumtext not null) to those two tables. That fixed the problem for me. Also, before installing I corrected some wording in the xml file to correct 'dices' to 'die' because it 'bugged' me: FIND
CHANGE TO
Also increased the number of 'faces' for dice to 100 since that is what my members needed. FIND
CHANGED TO
Of course I had to 'make' die images for 31-100, and upload them to the ../images/dice folder but that didn't take too long. Hope this helps ![]() EDIT: 3:30pm CDT hmmmm, that works up to '99' faces but can't get it to work for '100'..... *wanders off to ponder a bit* EDIT: 3:47pm CDT got it to work FIND:
CHANGE TO:
see attached screenshot Last edited by Rukbat : 25 Apr 2006 at 21:53. |
||||||||||||||||||||||||
|
#15
|
||||
|
||||
|
Ya, the install code seems to be errored, I'll work on it and upload the right installer, Thanks rukbat for posting the little mods for others. I might have messed that part up as well.
EDIT: Upload XML fixed with the correct queries. Sorry about that. Last edited by Eikinskjaldi : 26 Apr 2006 at 00:50. |
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 18:19.






