Draft Development in ML 3.0

Hi guys,
I opened this topic to discuss how draft should continue. I took over its development for the time being and adjusted to the new rarity.dat the first two options "Enforce and Ignore Rarity", which work, but they make 15card packs with 1R + 3U +11C when enforcing rarity. It doesn't handle differently expansions without rares like Arabian Nights, so this also needs to be fixed.
I was wondering whether I should create 8-packs for relevant sets, but then I would have to count cards or make a limit around 45 cards and add packs accordingly.
Since now there are many sets, they should probably be moved in sets.txt and be loaded from there, when draft starts, this is currently what I do , so that they are loaded according to expansions.h, but because not all expansions are coded yet
, I will limit the options to existing ones and load custom sets last.
Do we have a file that shows how many cards are coded from each set directly (not like the manalink.csv)?
Another thing, the "Draft" card does not always come up, after playing a game, one has to change game mode and go back to draft again, so that the "Draft" card, shows up, can we fix this?
And a weird thing, program execution after set selection is somehow reversed or scrambled, case in point in order to initialise the tables I use (in_set1[], set_rs[]) I had to place them after set selection, otherwise the sets were loaded first, any clue why that happens?
I did some testing, but they may require some more.
So shoot your comments, suggestions and ideas here. I will update the wiki as soon as I have some time.
I opened this topic to discuss how draft should continue. I took over its development for the time being and adjusted to the new rarity.dat the first two options "Enforce and Ignore Rarity", which work, but they make 15card packs with 1R + 3U +11C when enforcing rarity. It doesn't handle differently expansions without rares like Arabian Nights, so this also needs to be fixed.
I was wondering whether I should create 8-packs for relevant sets, but then I would have to count cards or make a limit around 45 cards and add packs accordingly.
Since now there are many sets, they should probably be moved in sets.txt and be loaded from there, when draft starts, this is currently what I do , so that they are loaded according to expansions.h, but because not all expansions are coded yet

Do we have a file that shows how many cards are coded from each set directly (not like the manalink.csv)?
Another thing, the "Draft" card does not always come up, after playing a game, one has to change game mode and go back to draft again, so that the "Draft" card, shows up, can we fix this?
And a weird thing, program execution after set selection is somehow reversed or scrambled, case in point in order to initialise the tables I use (in_set1[], set_rs[]) I had to place them after set selection, otherwise the sets were loaded first, any clue why that happens?
I did some testing, but they may require some more.
So shoot your comments, suggestions and ideas here. I will update the wiki as soon as I have some time.