The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm using the Dice Roll Mod (created by Kentaurus for 3.0 and ported to 3.5.4 by Eikinskjaldi) to instead draw playing cards from a deck. However, I need the mod tweaked a little so that ONLY ONE INSTANCE of each card can be drawn per thread (with dice it doesn't matter if there are duplicates, but card games need this limitation, as there can't be two aces of hearts etc.)
So my question is, can anyone help me tweak the code so that only one instance of each card is drawn per thread? I've asked in the thread itself and no one's replied so I thought I'd try here in case any coders wanted to take it up as a challenge. (Yeah, and it wouldn't hurt me none either! :cheeky ![]() Here's the Mod thread: https://vborg.vbsupport.ru/showthread.php?t=113972 it comes with this disclaimer from the original coder: Quote:
|
#2
|
|||
|
|||
![]()
Anyone else feel like it's a bit of a meat market in here? So many requests...so few coders. And we're all trying to attract your attention to our own particular wish code. Pick me! pick me! LOL! Most of the requests have few views and no replies. My own request had only 13 views (and I'm sure a few of those were myself, re-clicking on it). Statistically speaking, out of 13 views the chances are very slim that one of those was a skilled coder. Even smaller is the chance it's a coder wanting to undertake the task.
Oh well, one can always dream, right? So just bumping this back up (that is, if it will let me, I've noticed a peculiar merge feature here at vb.org with successive posts by the same person merged together). If anyone thinks this hack is doable I'd love to try it out and test whatever codes you think might work. Thanks again for any help and I'm not too proud to add.... PICK ME!! PICK ME!! :banana: ![]() |
#3
|
||||
|
||||
![]()
ok, i can look at this, im really busy with my other hacks right now, and tomorrow im going to the zoo, but maybe after i get back or somthing I can put a little time into this (i dont think it will take too long.)
hmm one question, what would happen if all the cards in the deck have run out? |
#4
|
|||
|
|||
![]()
Blaine, thank you! I posted this request a while ago, so you must have followed me over here via my profile from your other ICash hack.
I'd be thrilled if you could work on this! If all the cards have run out, could there just be a simple "No more cards" message the user gets instead of a card? Thanks again, looking forward to what you come up with! ![]() |
#5
|
||||
|
||||
![]()
One more quick question, would the user still be able to draw more than one card out of the deck at a time? or just one per post?
|
#6
|
|||
|
|||
![]()
I have it set now so users can draw from 1 to 5 cards in a post. Example, if they are playing a card game like poker, they could draw 5 cards to start. Then they could decide to keep 2 of the cards and draw 3 others, then they could keep 4 of those cards and draw 1 more...just like they were building a real poker hand. But the problem is, of course, that I need it so that only one card per thread can be drawn (doesn't matter WHO in the thread draws it, or how many they are drawing per post, but just one time per card per thread).
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|