View Full Version : Module CMPS: Dice Roller
Zachariah
10-06-2005, 10:00 PM
Dice Roller on your CMPS
/* -----------------10/06/2005 7:12pm-----------------
This is a Nice hack to add Dice Roller on your VB3.5 CMPS.
Hope it helps !!! Zachariah @ http://www.gzhq.net
Demo: http://www.gzhq.net/index.php?page=Hacks
Zerro Queries Added
1 template
18 images - 27kb
------------------------------------------------------*/
This is a Javascript based RPG dice roller. I had Ideas of on-line RPG games via. MIRC and a dice roller or to create character sheets. This hack does not need CMPS to work. I just created a block in CMPS to hold it.
Currently it does not interface w/ the database to record results.
Tested on:
firefox: 1.06
ie: 6.02
tarlkea
10-07-2005, 02:34 PM
Cool. Good job. I'll install it when I have time but for now, I'll click install ;)
Holidazed
10-07-2005, 03:02 PM
Looks very sweet. Can't use it yet.
Needs the following:
Dice rolls to be postable in the forums
Dice Rolls unmodifyable by non-admins and non-moderators
Dice Roll History.
Good job tho
Zachariah
10-07-2005, 03:34 PM
Yes on all the requests :D (someday)
- I have not worked on any yet
- perhaps there will be others that push the project some more.
For now its out there I guess in it's baby stage as a "tool".
@ BITG
Your still in Van Nuys :), man the fire that was over in Chatsworth was murder on the air. I am @ Shreman Way and De Soto / Topanga.
Holidazed
10-07-2005, 07:55 PM
Yes on all the requests :D (someday)
- I have not worked on any yet
- perhaps there will be others that push the project some more.
For now its out there I guess in it's baby stage as a "tool".
Awesome, in the next version, it will be an aesome tool on my rpg site.
Your still in Van Nuys :), man the fire that was over in Chatsworth was murder on the air. I am @ Shreman Way and De Soto / Topanga.
Yes, I am still in Van Nuys, but the damn smoke gave me a migraine anyways. My brother lives in West Hills (in the Woolsey Canyon area) and was evacuated. Lots of stress on everybody.
Dream
10-07-2005, 08:56 PM
pretty cool, gonna play with this
we could add a link for it in the navbar and make a page with it I suppose? gonna try that, not sure what my members will use it for though, but its cool.
another dice hack that would be nice is a [roll] bbcode so you can roll in your posts but you can't edit them. thats alot more complex to do I think.
edit:
yup I just added your template as page_dice and used my page wrapper :P so you can access it with index.php?page=dice
https://vborg.vbsupport.ru/showthread.php?s=&threadid=92203
and it worked well ^_^
Zachariah
10-07-2005, 09:15 PM
Yes, I have not thought of what to do yet with the roller, but thought something could be done :D.
pretty cool, gonna play with this
we could add a link for it in the navbar and make a page with it I suppose? gonna try that, not sure what my members will use it for though, but its cool.
another dice hack that would be nice is a [roll] bbcode so you can roll in your posts but you can't edit them. thats alot more complex to do I think.
edit:
yup I just added your template as page_dice and used my page wrapper :P so you can access it with index.php?page=dice
https://vborg.vbsupport.ru/showthread.php?s=&threadid=92203
and it worked well ^_^
Bad Bunny
10-07-2005, 09:29 PM
Yes, I have not thought of what to do yet with the roller, but thought something could be done :D.
It works fine in Safari.
Zachariah
10-07-2005, 11:54 PM
It works fine in Safari.
Sweet :D, Thank you Sir.
R1chardYoung
10-11-2005, 03:27 PM
Looks nice, any ideas when your likely to look at the enhancements?
I'm not saying my members cheat.... but some have surprisingly high rolls on a consistent basis :P
Zachariah
10-12-2005, 10:38 PM
Looks nice, any ideas when your likely to look at the enhancements?
I'm not saying my members cheat.... but some have surprisingly high rolls on a consistent basis :P
Yes I had a thought of integration some way. I have been busy and not had the time. I will soon, unless "others" have time, then Ill just update :D
Holidazed
10-27-2005, 05:04 PM
I would like to use this on my site. How do I install or use it without CMPS? I have no need for CMPS, but love the roller.
Zachariah
10-27-2005, 05:25 PM
I would like to use this on my site. How do I install or use it without CMPS? I have no need for CMPS, but love the roller.
Call up Template: adv_portal_dice (or change it to whatever) - All the images should upload the same.
I want to make the output of this go to mysql, per user, results - Something that can be published - rolls by user, rolls sorted by DIE - perhaps some ajax area that many people can look at to play online games.
I got a lot of ideas :rolleyes: - now to manage my time.
<textbox>
Zachariah:
Roll(6d6)+0:
4,2,4,4,5,2,+0
Total:21
bitg:
Roll(1d100)+0:
71,+0
Total:71
</textbox>
Zachariah
10-27-2005, 05:33 PM
I'll make it output to say:
[AJAX] vBShout v2.0
Or something of that nature. With a few edits the shoutbox can be on its own page, with a java IRC client to a server, and the roller on 1 page.
:knockedout: :laugh: :D - I'll get back to ya.
Holidazed
10-27-2005, 09:22 PM
I am unsure what to do. Maybe I will wait for your modifications.
I just took a java dice roller and linked to it ina popup for the time being. It does not record anything, but it is a good short term solution.
AdeptusAstartes
09-01-2007, 06:50 AM
is it possible to make this to post an uneditable message in a thread with the numbers when a bbcode used, please say yes, :rolleyes:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.