Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Issue with custom decks

Hey so I added a Deck of many things and a deck for Three Dragon Ante. Both decks worked fine at first. But as soon as myself and all players log out of the game, the cards get bugged. I noticed this today, some 12 or so hours after adding the cards, that when we tried to deal the cards there was a very small pool of cards that  would get dealt. And we often had the same cards even without infinite cards enabled. I tried to duplicate the deck and that did not work. The only fix I have found is to completely delete the deck, and then delete all art assets used in the My Library because reuploading the same art duplicates it there and takes up space. Is there a fix for this that doesn't involve spending time trying to delete and reupload the deck and all assets used? Also the Three Dragon Ante set has 70 cards and the deck of many things has 22 if that helps. 
1648363534
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Are you shuffling the deck? Otherwise, they will get dealt in order.
keithcurtis said: Are you shuffling the deck? Otherwise, they will get dealt in order. Just jumping in for my own question having just realized that I never shuffle and was wondering if the dealer api shuffles before it deals a random?  I don't draw manually I use your script but never have the deck visible so didn't know I had to shuffle.  
keithcurtis said: Are you shuffling the deck? Otherwise, they will get dealt in order. Yes I shuffle but everytime I load up Roll20 after having closed it and my browser out of the 70 cards in dragon ante only 7 would be drawable before the deck would say "You are trying to draw cards from a deck that has no cards.
1648399456
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
DM Eddie said: keithcurtis said: Are you shuffling the deck? Otherwise, they will get dealt in order. Just jumping in for my own question having just realized that I never shuffle and was wondering if the dealer api shuffles before it deals a random?  I don't draw manually I use your script but never have the deck visible so didn't know I had to shuffle.   It's been a long time since I visited that script, but IIRC, I believe I advise you to shuffle a brand new deck, but afterwards, the script can take care of it.