Open AlanOC91 opened 5 years ago
Leaderboard is now live for the Alpha version of this: https://db.ygoprodeck.com/pack-leaderboard/
Changes since yesterday: -Fixed Leaderboard. I had it sorting wrongly and limited to displaying 50. When I woke up there was over 300! All data was still captured and will now display correctly. -Added Odds for the Last Card (the potential high rarity card). Y'all were pulling way too many rare cards way too easily! I've now added odds! Now it should be much harder to pull higher rarity cards.
Odds breakdown:
$cardodds = rand(0,99);
if ($cardodds <5){
//Secret Rare
}else if ($cardodds >=5 && $cardodds <= 15){
//Ultra Rare
}else if ($cardodds >15 && $cardodds <= 25){
//Super Rare
}else if ($cardodds >25 && $cardodds <= 35){
//Other Rarity
}else if ($cardodds >35){
//Common Rarity
}
You can now flip each card individually if you wish so.
Next on the TODO list:
Added an animated card score counter when all cards are revealed.
TODO:
Fixed an issue where you could accidentally double click to reveal the same card.
Score Counter now increments on each card flip.
Retry button is now fully ajax compatible and works much better. Giving you a new instance of the same pack you have chosen.
Features:
Bugs:
TODO:
Features:
Bugs:
TODO:
Currently seems to be a bug with the "Tournament Pack" packs where you can occasionally get 2 cards instead of 3.
Start work on adding Mega Packs to pack sim.
Mega Packs:
2014-2019:
[suggestion] there are alot of other packs that have released over the years, including but not limited to the kaiba mega pack, the gold series, and dark beginnings/dark revelation series, and the star packs.
Looked into adding Dark Beginnings 1/2 but they are difficult to implement. According to the wiki:
Dark Beginning (and all other Reprint Packs) always contain 6 Monster Cards, 3 Trap Cards, 3 Spell Cards, 1 Tip Card and 1 or even 2 rares.
This will be difficult to implement at the moment. Will look into adding other packs first.
Next on the agenda.
TODO: Dark Beginning 1 + Dark Beginning 2 followed by Dark Revelations 1,2,3 and 4.
TODO: Add overall pack-opening statistics
UNION
on the queries where it occasionally picks a card that was already selected and UNION
is stripping it out. I've processed the ones mentioned here into sub-queries with the UNION
and it has fixed the issue. There are a couple of more card packs which this can be applied to so I'll have to look over them. Legendary duelists season 1 is a behind, i think it released 6 days ago
I didn't add Legendary Duelists Season 1 because I don't think it's a new pack? Isn't it a case that comes with new cards + old packs that already exist?
Correct me if I am wrong but that was my assumption.
it is definately a new pack. the pack feels alot like a mega-pack, and also contains some unique cards on top of the existing reprints cards like "Red-Eyes Flare Metal Dragon" are not new, but were not printed in the original legendary duelists sets. Box contains 2 packs, 18 cards per pack: 1 Ultra rare out of a pool of 4 preview cards out of the next set, rise of the duelist (basically replacing the function of special editions) 2 Colorful ultra rares
Some Major Missing packs: OTS packs Turbo packs Both of these series' fit inbetween the original tournament packs, and astral packs.
The legendary duelists season 1 pack in it's current state isn't like it's real life counter part. the two ultra-rare pools are seperate, i just got 2 previews in one pack, and 0 in another which is impossible.
Yep I am aware but currently in our Database we have no way to "split" the Ultra Rare pools for this set. I'll need to come back to this once I figured out a better way to split the Ultra Rare pools on this without affecting the way we store data majorly. Could take a few days.
TODO: Overhaul Pack Code to optimize pricing and card pulls. This is still using an old legacy pricing method that is prone to a LOT of errors. Going to re-work it starting with Toon Chaos as a test bed.
Some More Missing Packs: Duelist Pack: (Jaden Yuki, Chazz Princeton, Jaden Yuki 2, Zane Truesdale, Aster Phoenix, Jaden Yuki 3, Jesse Anderson, Yusei, Yugi, Yusei 2, Kaiba, Yusei 3, Crow, Yuma, Kite, Yuma 2, Gogogo & Dododo, Kastle Siblings, Battle City, Rivals of the Pharoh)
Almost forgot, Missing Pack: Champion Packs (GX era tournament packs)
These changes are not yet live as the infrastructure is not completed yet. Should hopefully have it live by the end of the week.
Wow I've made a lot of changes to the in-progress beta version:
score + Math.ceil((Card Price * Card Rarity));
. This also stops massively inflated scores in the millions. This will require overhauling the leader-boards and arching the current results. Going to tweak the scoring mentioned previously. It feels like 80%+ of Yu-Gi-Oh! cards are < $1 so I'm going to have to modify the scoring method or else the majority of cards will have a score of 1.
New example of weighting. I've implemented a custom price weighting depending on the price range of the card.
The plan is to add a "fun" booster pack opening simulator for Yu-Gi-Oh!
There is already a rather good one over at http://yugiohpacksimulator.com/ but I'd like to make one more akin to the Hearthstone card pack simulators.
When you open a pack, each card is scored and then each scored is added together to receive your "Pack Score". The eventual plan is to then be allowed submit this score to an online leaderboard to compare. This adds the "fun" factor to opening the pack.
Card score is calculated as follows: Score = (Card Database Views * Card Rarity Weighting)/2 Rarity Weightings:
Current Alpha version screenshots: Start Screen after choosing a booster set:
Once the flip button is pressed: