I have been procrastinating like crazy… So unfortunately I have been unable to complete the limited feature as fully as I would have like to. The good news is that you get some limited play for x-mas anyway; “Sealed” kind of gameplay is now possible, starting with version 0.7!
So how does it work? Here are all the details:
First you start a game as usual. Then, instead of using File > Load Deck (Ctrl+L), you can use File > Start Limited Game (Ctrl+Shift+L). Please note that starting a limited game will affect everyone, so you’d better agree on who starts the limited game.
Choosing this option brings up this new dialog box:
You cannot choose a game kind other than Sealed at the moment. Then you have to add the packs, that each player will receive. Don’t forget to add some “special” pack if you need to, e.g. the “Lands” pack provides an unlimited supply of basic lands.
Please take note that each set defines its own packs (because they may change over time, e.g. the recent introduction of Mythic rares in Magic). So you will have to get updated sets definitions for your game, otherwise there will be no pack available. More about that later.
Unfortunately, you can’t remove a pack from the list at the moment. So if you made a mistake, click Cancel and start all over again.
When you’re done and ready to start, click OK.
When you do, everyone receives its packs and the screen looks like this:
One notable shortcoming is that it’s currently impossible to filter or sort the card lists (but I have plans for that!). You can pick whatever cards you want by double-clicking. If you click on multiple cards (e.g. in your deck, or in the unlimited supply), a small popup appears and asks how many cards you want. Enter a digit (or leave the default 1) and hit enter to move that many cards at once.
When you’re ready there’s a link at the bottom. The selected cards are loaded (as any normal deck would) and you can start playing.
As I said, defining packs is something each set must do, so you’ll have to get updated set definitions (at least for the sets you want to play sealed with). For game creators: here’s a reference example of how packs are defined:
<set ..>
<packaging>
<pack name="Booster" id="edb3a88e-8c29-4cf2-9d52-1660cd2841c8">
<pick qty="1" key="Rarity" value="R" />
<pick qty="3" key="Rarity" value="U" />
<pick qty="11" key="Rarity" value="C" />
</pack>
<pack name="Lands" id="01bb17b6-3bf6-41e9-bfb3-51fe95147e3a">
<pick qty="unlimited" key="Rarity" value="L" />
</pack>
</packaging>
<markers>..</markers>
<cards>..</cards>
</set>
If you wanted the updated XSD description, it’s available here: http://octgn.net/octgn-client/CardSet.xsd
The updated data access library (for coders) is here: http://octgn.net/octgn-client/Octgn.Data.dll
There’s access to packs definition inside it, and even a function to open random packs according to their definition.
(Remainder: you need the VistaDB.dll as well: http://octgn.net/octgn-client/VistaDB.NET20.dll)
This is my christmas gift to you all. I hope you’ll enjoy the holidays and have a great time. I’ll be mostly afk until 2010, so don’t expect answers or updates after the 26th!
Merry x-mas and happy new year!