New Draft Functionality Finally Done
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
66 posts
• Page 1 of 5 • 1, 2, 3, 4, 5
New Draft Functionality Finally Done
by Rob Cashwalker » 08 May 2011, 05:05
Yup, go ahead, and try it out in r.8370!
Draft from the full Forge card pool, by set/block or from a custom cardpool.
The AI now drafts more intelligently, picking its colors based on the "best" creatures in its first two packs. After picking cards, it builds a deck from the cards it picked. Previously, the AI built the deck as it drafted, and essentially stopped picking once it had its 22 cards.
Some sets didn't use 15 card packs, those sets are now draft-able, by increasing the pack count to get over 40 cards passed around..
Simplified custom drafting is the hottest thing people have been requesting. (You know, other than draft actually functioning for them...) Custom draft card pools are defined by a data file, which links to a deck file, which makes picking your cardpool super-simple and native to the existing program.
Custom drafts are defined by a {filename}.draft file in the res/draft folder.
Fields recognized in this file: (include the colons ":", no spaces)
Draft from the full Forge card pool, by set/block or from a custom cardpool.
The AI now drafts more intelligently, picking its colors based on the "best" creatures in its first two packs. After picking cards, it builds a deck from the cards it picked. Previously, the AI built the deck as it drafted, and essentially stopped picking once it had its 22 cards.
Some sets didn't use 15 card packs, those sets are now draft-able, by increasing the pack count to get over 40 cards passed around..
Simplified custom drafting is the hottest thing people have been requesting. (You know, other than draft actually functioning for them...) Custom draft card pools are defined by a data file, which links to a deck file, which makes picking your cardpool super-simple and native to the existing program.
Custom drafts are defined by a {filename}.draft file in the res/draft folder.
Fields recognized in this file: (include the colons ":", no spaces)
- Code: Select all
Name:{draft name displayed in prompts}
DeckFile:{deck file containing custom card pool}
IgnoreRarity:{"True"/"False" - cube draft generally doesn't care about rarity}
LandSetCode:{which set should the land come from - if not defined, the deck editor will be too cluttered with 1 land from every set}
NumCards:{number of cards per pack}
NumSpecials:{number of special rarity cards per pack, like Timespiral}
NumMythics:{any value over zero enables the 1:8 random chance of replacing a rare with a mythic}
NumRares:{number of rares per pack}
NumUncommons:{number of uncommons per pack}
NumCommons:{number of commons per pack}
NumPacks:{number of packs presented for draft}
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: New Draft Functionality Finally Done
by jmartus » 08 May 2011, 08:43
Can't wait to try out tempest and urza saga sets my favorites from back in the day
Re: New Draft Functionality Finally Done
by Hellfish » 08 May 2011, 10:18
This is so cool! Just finished a sweet MBSSOMSOM draft(BG Infect, no losses) followed by a not as sweet RAVRAVRAV one(RW, lost first match >_>). Thanks a ton, Rob!
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: New Draft Functionality Finally Done
by Chris H. » 08 May 2011, 12:33
Wow, thank you Rob, nice work. 
I updated my local copy to r8375 and selected Booster Draft -> Start Game.
I chose the Draft Type -> Block Draft and was able to draft some cards. I created a deck from these cards and played a match. Wow, it was fun and it worked.
I then chose the Draft Type -> Custom Draft.
I get a window stating "No custom draft files found."
I click OK and get the following error exception. Granted, as people start to create custom draft sets and we merge them into the SVN this problem will be unlikely to appear.

I updated my local copy to r8375 and selected Booster Draft -> Start Game.
I chose the Draft Type -> Block Draft and was able to draft some cards. I created a deck from these cards and played a match. Wow, it was fun and it worked.
I then chose the Draft Type -> Custom Draft.
I get a window stating "No custom draft files found."
I click OK and get the following error exception. Granted, as people start to create custom draft sets and we merge them into the SVN this problem will be unlikely to appear.
- error exception | Open
- An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
-1
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Mac OS X Version: 10.6.7 Architecture: x86_64
Java Version: 1.6.0_24 Vendor: Apple Inc.
Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at forge.CardList.getCard(CardList.java:134)
at forge.CardList.get(CardList.java:138)
at forge.BoosterDraftAI.choose(BoosterDraftAI.java:91)
at forge.BoosterDraft_1.computerChoose(BoosterDraft.java:252)
at forge.BoosterDraft_1.nextChoice(BoosterDraft.java:213)
at forge.Gui_BoosterDraft.showGui(Gui_BoosterDraft.java:82)
at forge.Gui_NewGame.startButton_actionPerformed(Gui_NewGame.java:543)
at forge.Gui_NewGame$11.actionPerformed(Gui_NewGame.java:404)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6374)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6139)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4736)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:653)
at java.awt.EventQueue$2.run(EventQueue.java:651)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: New Draft Functionality Finally Done
by Rob Cashwalker » 08 May 2011, 14:29
I also forgot to include the res/boosterdata/{setcode}.pack files which define how the boosters are built. I just added it to the SVN this morning... for some reason I almost always forget some critical portion in my big updates....
for example, M10.pack:
There is now an array in SetInfoUtil to define blocks, which will need to be maintained, along with the sets.
for example, M10.pack:
- Code: Select all
Commons:10
Uncommons:3
Rares:1
Mythics:1
- Code: Select all
Name:Drafting With Artifacts
DeckFile:ArtifactDraft
IgnoreRarity:True
NumCards:15
NumPacks:4
- Code: Select all
ArtifactDraft
[general]
constructed
[main]
1 Everflowing Chalice|WWK
1 Rustspore Ram|MRD
1 Wurmcoil Engine|SOM
1 Darksteel Axe|SOM
1 Ebony Rhino|HML
1 Coat of Arms|M10
1 Dancing Scimitar|9ED
1 Teferi's Puzzle Box|9ED
1 Star Compass|8ED
1 Moriok Replica|SOM
1 Bone Saw|CFX
1 Platinum Angel|M11
1 Dross Ripper|MBS
1 Metallic Sliver|TMP
1 Ornithopter|M11
1 Glaze Fiend|ALA
1 Pili-Pala|SHM
1 Clay Statue|5ED
1 Sarpadian Empires, Vol. VII|TSP
1 Signal Pest|MBS
1 Wall of Spears|8ED
1 Stonework Puma|ZEN
1 Crawlspace|ULG
1 Sphinx-Bone Wand|ROE
1 Bottle Gnomes|10E
1 Lotus Guardian|INV
1 Tidehollow Strix|ALA
1 Core Prowler|MBS
1 Wizard Replica|MRD
1 Jade Statue|9ED
1 Feldon's Cane|TSB
1 Etched Champion|SOM
1 Helm of Awakening|VIS
1 Frogmite|MRD
1 Hedron Matrix|ROE
1 Jhoira's Toolbox|ULG
1 Juggernaut|M11
1 Tangle Hulk|MBS
1 Ankh of Mishra|6ED
1 Myr Matrix|DST
1 Memnite|SOM
1 Myr Retriever|MRD
1 Chrome Steed|SOM
1 Lumengrid Gargoyle|MBS
1 Ethercaste Knight|ARB
1 Primal Clay|6ED
1 Dreamstone Hedron|ROE
1 Sphinx Summoner|CFX
1 Hedron Rover|WWK
1 Gorgon Flail|M10
1 Coiled Tinviper|TMP
1 Iron-Heart Chimera|VIS
1 Arachnoid|5DN
1 Accorder's Shield|SOM
1 Darksteel Forge|DST
1 Bubble Matrix|WTH
1 Sensei's Divining Top|CHK
[sideboard]
There is now an array in SetInfoUtil to define blocks, which will need to be maintained, along with the sets.
- Code: Select all
private static String[][] blocks = {
{"A", "", "", "Alpha", "3"},
{"B", "", "", "Beta", "3"},
{"2ED", "", "", "Unlimited", "3"},
{"ARN", "", "", "Arabian Nights", "5"},
{"ATQ", "", "", "Antiquities", "5"},
{"3ED", "", "", "Revised", "3"},
{"LEG", "", "", "Legends", "3"},
{"DRK", "", "", "The Dark", "5"},
{"FEM", "", "", "Fallen Empires", "5"},
{"4ED", "", "", "Fourth Edition", "3"},
{"ICE", "ALL", "CSP", "Ice Age", "3"},
{"CHR", "", "", "Chronicles", "4"},
{"HML", "", "", "Homelands", "5"},
{"MIR", "VIS", "WTH", "Mirage", "3"},
{"5ED", "", "", "Fifth Edition", "3"},
{"POR", "", "", "Portal", "3"},
{"TMP", "STH", "EXO", "Tempest", "3"},
{"PO2", "", "", "Portal Second Age", "3"},
{"USG", "ULG", "UDS", "Urza", "3"},
{"6ED", "", "", "Sixth Edition", "3"},
{"PTK", "", "", "Portal Three Kingdoms", "5"},
{"MMQ", "NMS", "PCY", "Masques", "3"},
{"INV", "PLS", "APC", "Invasion", "3"},
{"7ED", "", "", "Seventh Edition", "3"},
{"ODY", "TOR", "JUD", "Odyssey", "3"},
{"ONS", "LGN", "SCG", "Onslaught", "3"},
{"8ED", "", "", "Eighth Edition", "3"},
{"MRD", "DST", "5DN", "Mirrodin", "3"},
{"CHK", "BOK", "SOK", "Kamigawa", "3"},
{"9ED", "", "", "Ninth Edition", "3"},
{"RAV", "GPT", "DIS", "Ravnica", "3"},
{"TSP", "PLC", "FUT", "Time Spiral", "3"},
{"10E", "", "", "Tenth Edition", "3"},
{"LRW", "MOR", "", "Lorwyn", "3"},
{"SHM", "EVE", "", "Shadowmoor", "3"},
{"ALA", "CFX", "ARB", "Shards of Alara", "3"},
{"M10", "", "", "Magic 2010", "3"},
{"ZEN", "WWK", "", "Zendikar", "3"},
{"ROE", "", "", "Rise of the Eldrazi", "3"},
{"M11", "", "", "Magic 2011", "3"},
{"SOM", "MBS", "NPH", "Scars of Mirrodin", "3"}
};
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: New Draft Functionality Finally Done
by juzamjedi » 09 May 2011, 07:42
I am eager to try this out and draft in Forge again!
I saw the note about Cube drafting. In cube draft there is only a single copy of any card in a pool if the card shows up at all. Ex. if I see Elspeth I better take her because there won't be any more copies in the draft, is this how it will work? Drafting a custom set is fun too just pointing out the difference.
I saw the note about Cube drafting. In cube draft there is only a single copy of any card in a pool if the card shows up at all. Ex. if I see Elspeth I better take her because there won't be any more copies in the draft, is this how it will work? Drafting a custom set is fun too just pointing out the difference.
Re: New Draft Functionality Finally Done
by Rob Cashwalker » 09 May 2011, 12:06
As long as there are more cards in the pool than needed for all packs, then each copy will only show up once.
The booster pack generator cycles through each rarity list without dupes until the end of the list, then starts at the beginning. IF IgnoreRarity is set, then all the cards in the pool are essentially considered commons.
My example list was too short to be of use for cube.
The booster pack generator cycles through each rarity list without dupes until the end of the list, then starts at the beginning. IF IgnoreRarity is set, then all the cards in the pool are essentially considered commons.
My example list was too short to be of use for cube.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: New Draft Functionality Finally Done
by bane221 » 10 May 2011, 01:11
I've been hitting errors when finishing or starting drafts and have yet to get a Custom draft to run successfully. This is the error I hit on the first card drafted now:
- Code: Select all
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
-1
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows Vista Version: 6.0 Architecture: amd64
Java Version: 1.6.0_25 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)
at forge.CardList.getCard(Unknown Source)
at forge.CardList.get(Unknown Source)
at forge.BoosterDraftAI.choose(Unknown Source)
at forge.BoosterDraft_1.computerChoose(Unknown Source)
at forge.BoosterDraft_1.nextChoice(Unknown Source)
at forge.Gui_BoosterDraft.jButton1_actionPerformed(Unknown Source)
at forge.Gui_BoosterDraft$5.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
- bane221
- Posts: 12
- Joined: 06 Mar 2011, 22:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: New Draft Functionality Finally Done
by Rob Cashwalker » 10 May 2011, 03:49
Post your custom draft files. Without the line numbers in the error trace, I can't tell what may be wrong.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: New Draft Functionality Finally Done
by juzamjedi » 10 May 2011, 07:01
I have been trying to get custom drafting working for me too, but I get an error. Here are my files.
- Code: Select all
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
null
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.BoosterGenerator.<init>(Unknown Source)
at forge.BoosterDraft_1.<init>(Unknown Source)
at forge.Gui_NewGame.startButton_actionPerformed(Unknown Source)
at forge.Gui_NewGame$11.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
- Code: Select all
Name:JuzamjediCube
DeckFile:JuzamjediCube.dck
IgnoreRarity:"False"
LandSetCode:M11
NumCards:9
NumSpecials:0
NumMythics:1
NumRares:1
NumUncommons:3
NumCommons:5
NumPacks:5
- Code: Select all
[metadata]
Name=JuzamjediCube
Deck Type=constructed
[main]
1 Akroma's Vengeance|ONS
1 Genesis|JUD
1 White Knight|M11
1 Pilgrim's Eye|WWK
1 Twinblade Slasher|EVE
1 Tundra|3ED
1 Opposition|7ED
1 Voidslime|DIS
1 Black Lotus|2ED
1 Green Sun's Zenith|MBS
1 Soltari Champion|STH
1 Plated Geopede|ZEN
1 Inferno Titan|M11
1 Llanowar Elves|M11
1 Molten Rain|MRD
1 Fireblast|VIS
1 Elesh Norn, Grand Cenobite|NPH
1 Wooded Foothills|ONS
1 Terramorphic Expanse|M11
1 Puncture Blast|EVE
1 Wild Mongrel|ODY
1 Lightning Helix|RAV
1 Sphinx of Jwar Isle|ZEN
1 Survival of the Fittest|EXO
1 Burst Lightning|ZEN
1 Library of Alexandria|ARN
1 Day of Judgment|M11
1 Cloudgoat Ranger|LRW
1 Pyroclasm|M11
1 Chainer's Edict|TOR
1 Volcanic Island|3ED
1 Black Sun's Zenith|MBS
1 Pestermite|LRW
1 Hypnotic Specter|M10
1 Jackal Pup|TMP
1 Kargan Dragonlord|ROE
1 Mortify|GPT
1 Masked Admirers|LRW
1 Mirror Entity|LRW
1 Batterskull|NPH
1 Uktabi Orangutan|6ED
1 Student of Warfare|ROE
1 Oxidda Scrapmelter|SOM
1 Condescend|5DN
1 Lone Missionary|ROE
1 Polluted Delta|ONS
1 Vampire Lacerator|ZEN
1 Char|RAV
1 Great Sable Stag|M10
1 Stirring Wildwood|WWK
1 Paladin en-Vec|10E
1 Akroma, Angel of Fury|PLC
1 Soltari Priest|TSB
1 Capsize|TMP
1 Bribery|8ED
1 Briarhorn|LRW
1 Kitchen Finks|SHM
1 Flametongue Kavu|PLS
1 Arid Mesa|ZEN
1 Glen Elendra Archmage|EVE
1 Bonehoard|MBS
1 Rift Bolt|TSP
1 Fire-Lit Thicket|SHM
1 Vedalken Shackles|5DN
1 Spiritmonger|APC
1 Umezawa's Jitte|BOK
1 Snuff Out|MMQ
1 Mind Twist|4ED
1 Stroke of Genius|USG
1 Steppe Lynx|ZEN
1 Sensei's Divining Top|CHK
1 Wurmcoil Engine|SOM
1 Loxodon Warhammer|10E
1 Goblin Ruinblaster|ZEN
1 Goblin Guide|ZEN
1 Plateau|3ED
1 Thieving Magpie|10E
1 Cultivate|M11
1 Garruk Wildspeaker|M11
1 Raging Ravine|WWK
1 Fauna Shaman|M11
1 Troll Ascetic|10E
1 Flooded Grove|EVE
1 Vampiric Tutor|6ED
1 Mana Leak|M11
1 Into the Roil|ZEN
1 Misty Rainforest|ZEN
1 Goblin Wardriver|MBS
1 Slagstorm|MBS
1 Drana, Kalastria Bloodchief|ROE
1 Standstill|ODY
1 Ponder|M10
1 Maze of Ith|DRK
1 Phyrexian Arena|9ED
1 Spectral Procession|SHM
1 Savage Lands|ALA
1 Gelectrode|GPT
1 Compulsive Research|RAV
1 Mystical Tutor|6ED
1 Time Walk|2ED
1 Mana Crypt|MBP
1 Seaside Citadel|ALA
1 Sword of Feast and Famine|MBS
1 Graven Cairns|SHM
1 Keldon Champion|UDS
1 Fetid Heath|EVE
1 Cascade Bluffs|EVE
1 Sphinx of the Steel Wind|ARB
1 Sarkhan the Mad|ROE
1 Simic Signet|DIS
1 Icy Manipulator|10E
1 Ghitu Slinger|ULG
1 Treetop Village|10E
1 Viridian Zealot|DST
1 Imperious Perfect|LRW
1 Zo-Zu the Punisher|CHK
1 Chameleon Colossus|MOR
1 Bloodstained Mire|ONS
1 Naturalize|M11
1 River Boa|ZEN
1 Bone Shredder|ULG
1 Kor Sanctifiers|ZEN
1 Karmic Guide|ULG
1 Jungle Lion|POR
1 Ajani Vengeant|ALA
1 Liliana's Specter|M11
1 Sword of Body and Mind|SOM
1 Rakdos Signet|DIS
1 Wild Nacatl|ALA
1 Joraga Treespeaker|ROE
1 Keldon Marauders|PLC
1 Perilous Myr|SOM
1 Rofellos, Llanowar Emissary|UDS
1 Obstinate Baloth|M11
1 Nantuko Shade|M11
1 Graveborn Muse|10E
1 Exalted Angel|ONS
1 Mana Drain|LEG
1 Wall of Omens|ROE
1 Cold-Eyed Selkie|EVE
1 Solemn Simulacrum|MRD
1 Frantic Search|ULG
1 Vengevine|ROE
1 Rampaging Baloths|ZEN
1 Yavimaya Elder|UDS
1 Kird Ape|9ED
1 Demonic Tutor|3ED
1 Viridian Shaman|10E
1 Savannah Lions|9ED
1 Grave Titan|M11
1 Brainstorm|MMQ
1 Crystal Ball|M11
1 Thoughtseize|LRW
1 Vampire Hexmage|ZEN
1 Sylvok Lifestaff|SOM
1 Animate Dead|5ED
1 Serendib Efreet|3ED
1 Savannah|3ED
1 Okiba-Gang Shinobi|BOK
1 Sinkhole|2ED
1 Isamaru, Hound of Konda|CHK
1 Relic of Progenitus|ALA
1 Deep Analysis|TOR
1 Cryptic Command|LRW
1 Control Magic|4ED
1 Blastoderm|NMS
1 Tangle Wire|NMS
1 Damnation|PLC
1 Arc Lightning|USG
1 Ember Hauler|M11
1 Dauthi Marauder|TMP
1 Blood Knight|PLC
1 Rampant Growth|M10
1 Bituminous Blast|ARB
1 Mystic Gate|SHM
1 Ohran Viper|CSP
1 Mistral Charger|DIS
1 Blood Crypt|DIS
1 Goblin Patrol|USG
1 Coralhelm Commander|ROE
1 Vampire Nighthawk|ZEN
1 Qasali Pridemage|ARB
1 Mother of Runes|ULG
1 Despise|NPH
1 Harmonize|PLC
1 Pouncing Jaguar|USG
1 Caller of the Claw|LGN
1 Calcite Snapper|WWK
1 Simic Sky Swallower|DIS
1 Blistering Firecat|ONS
1 Ninja of the Deep Hours|BOK
1 Leonin Relic-Warder|MBS
1 Pianna, Nomad Captain|ODY
1 Grim Lavamancer|TOR
1 Mishra's Factory|4ED
1 Sylvan Library|5ED
1 Manic Vandal|M11
1 Consecrated Sphinx|MBS
1 Venser, the Sojourner|SOM
1 Austere Command|LRW
1 Preordain|M11
1 Boggart Ram-Gang|SHM
1 Overgrown Tomb|RAV
1 Beast Within|NPH
1 Giant Solifuge|GPT
1 Thornling|CFX
1 Keldon Vandals|UDS
1 Thrun, the Last Troll|MBS
1 Smash to Smithereens|SHM
1 Swords to Plowshares|ICE
1 Fleshbag Marauder|ALA
1 Emeria Angel|ZEN
1 Ravenous Baloth|ONS
1 Mire Boa|PLC
1 Taiga|3ED
1 Noble Hierarch|CFX
1 Mana Vault|5ED
1 Psychatog|ODY
1 Flooded Strand|ONS
1 Inquisition of Kozilek|ROE
1 Dark Confidant|RAV
1 Watery Grave|RAV
1 Black Knight|M11
1 Abyssal Persecutor|WWK
1 Indrik Stomphowler|DIS
1 Innocent Blood|ODY
1 Cunning Sparkmage|WWK
1 Mutavault|MOR
1 Goldmeadow Harrier|LRW
1 AEther Vial|DST
1 Sol Ring|3ED
1 Sudden Death|TSP
1 Crumbling Necropolis|ALA
1 Chimeric Mass|SOM
1 Aftershock|TMP
1 Hystrodon|ONS
1 Underground Sea|3ED
1 Meloku the Clouded Mirror|CHK
1 Elite Vanguard|M11
1 Scrubland|3ED
1 Wickerbough Elder|EVE
1 Firebolt|ODY
1 Parallax Wave|NMS
1 Siege-Gang Commander|10E
1 Carnophage|EXO
1 Yosei, the Morning Star|CHK
1 Sower of Temptation|LRW
1 Putrid Leech|ARB
1 Tarmogoyf|FUT
1 Archon of Justice|EVE
1 Flame Slash|ROE
1 Bloodghast|ZEN
1 Eternal Witness|5DN
1 Breeding Pool|DIS
1 Shriekmaw|LRW
1 Armageddon|S99
1 Volrath's Stronghold|STH
1 Balance|4ED
1 Kodama's Reach|CHK
1 Urabrask the Hidden|NPH
1 Forbid|EXO
1 Riftwing Cloudskate|TSP
1 Nantuko Vigilante|LGN
1 Grafted Wargear
1 Impulse|VIS
1 Glorious Anthem|10E
1 Disenchant|TSB
1 Rishadan Port|MMQ
1 Mox Pearl|2ED
1 Inkfathom Infiltrator|SHM
1 Journey to Nowhere|ZEN
1 Loxodon Hierarch|RAV
1 Sarkhan Vol|ALA
1 Ravenous Baboons|EXO
1 Rafiq of the Many|ALA
1 Avalanche Riders|TSB
1 Vendilion Clique|MOR
1 Fire Imp|POR
1 Bloodbraid Elf|ARB
1 Skullclamp|DST
1 Scepter of Dominance|CFX
1 Wrath of God|10E
1 Ancestral Recall|2ED
1 Scroll Rack|TMP
1 Dauthi Horror|TMP
1 Shadowmage Infiltrator|TSB
1 Regrowth|3ED
1 Birds of Paradise|M11
1 Wall of Denial|ARB
1 Dark Ritual|MMQ
1 Psionic Blast|TSB
1 Sea Gate Oracle|ROE
1 Murderous Redcap|SHM
1 Loam Lion|WWK
1 Man-o'-War|S99
1 Oblivion Ring|ALA
1 Decree of Justice|SCG
1 Figure of Destiny|EVE
1 Wheel of Fortune|3ED
1 Bitterblossom|MOR
1 Slave of Bolas|ARB
1 Reveillark|MOR
1 Puppeteer Clique|SHM
1 Hell's Thunder|ALA
1 Gruul Signet|GPT
1 Bane of the Living|LGN
1 Starstorm|ONS
1 Upheaval|ODY
1 Putrefy|RAV
1 Electrolyze|GPT
1 Evolving Wilds|ROE
1 Grim Monolith|ULG
1 Viridian Emissary|MBS
1 Silver Knight|SCG
1 Creeping Tar Pit|WWK
1 Mystic Snake|TSB
1 Magma Jet|5DN
1 Angel of Despair|GPT
1 Night's Whisper|5DN
1 Terror|10E
1 Wooded Bastion|SHM
1 Temple Garden|RAV
1 Hymn to Tourach|FEM
1 Basilisk Collar|WWK
1 Maelstrom Pulse|ARB
1 Lightning Bolt|M11
1 Wake Thrasher|EVE
1 Kokusho, the Evening Star|CHK
1 Volcanic Fallout|CFX
1 Blazing Specter|INV
1 Marsh Flats|ZEN
1 Calciderm|PLC
1 Sakura-Tribe Elder|CHK
1 Treachery|UDS
1 Spikeshot Elder|SOM
1 Ink-Eyes, Servant of Oni|BOK
1 Krosan Grip|TSP
1 Stonecloaker|PLC
1 Mulldrifter|LRW
1 Fyndhorn Elves|ICE
1 Sword of Light and Shadow|DST
1 Knight of Meadowgrain|LRW
1 Harrow|ZEN
1 Dissipate|MIR
1 Broodmate Dragon|ALA
1 Baneslayer Angel|M11
1 Liliana Vess|M11
1 Sunken Ruins|SHM
1 Dimir Signet|RAV
1 Stoneforge Mystic|WWK
1 Nekrataal|10E
1 Dauthi Slayer|TSB
1 Skinrender|SOM
1 Mox Ruby|2ED
1 Tinker|ULG
1 Selesnya Signet|RAV
1 Force of Will|ALL
1 Bayou|3ED
1 Lightning Greaves|MRD
1 Counterspell|7ED
1 Elspeth, Knight-Errant|ALA
1 Temporal Isolation|TSP
1 Lotus Cobra|ZEN
1 Arc Trail|SOM
1 Rugged Prairie|EVE
1 Path to Exile|CFX
1 Life's Finale|NPH
1 Stupor|TSB
1 Fact or Fiction|INV
1 Mox Jet|2ED
1 Lodestone Golem|WWK
1 Winter Orb|5ED
1 Hellspark Elemental|CFX
1 Moat|LEG
1 Thirst for Knowledge|MRD
1 Jungle Shrine|ALA
1 Sacred Foundry|RAV
1 Sword of Fire and Ice|DST
1 Land Tax|4ED
1 Azorius Signet|DIS
1 Repeal|GPT
1 Earthquake|M10
1 Pillage|7ED
1 Plow Under|8ED
1 Wall of Blossoms|STH
1 Frost Titan|M11
1 Steam Vents|GPT
1 Telling Time|10E
1 Keiga, the Tide Star|CHK
1 Terminate|ARB
1 Red Sun's Zenith|MBS
1 Forked Bolt|ROE
1 Koth of the Hammer|SOM
1 Trygon Predator|DIS
1 Bonesplitter|MRD
1 Nature's Claim|WWK
1 Mirari's Wake|JUD
1 Reanimate|TMP
1 Force Spike|7ED
1 Celestial Colonnade|WWK
1 Twilight Mire|EVE
1 Arcane Sanctum|ALA
1 Mox Emerald|2ED
1 Basking Rootwalla|TOR
1 Hero of Oxid Ridge|MBS
1 Scalding Tarn|ZEN
1 Mox Sapphire|2ED
1 Recurring Nightmare|EXO
1 Soltari Trooper|TMP
1 Mana Tithe|PLC
1 Vindicate|APC
1 Time Spiral|USG
1 AEther Adept|M11
1 Master of the Wild Hunt|M10
1 Accorder Paladin|MBS
1 Mirran Crusader|MBS
1 Windswept Heath|ONS
1 Deranged Hermit|ULG
1 Incinerate|10E
1 Sulfuric Vortex|SCG
1 Tumble Magnet|SOM
1 Godless Shrine|GPT
1 Soltari Monk|TMP
1 Flame Javelin|SHM
1 Lavaclaw Reaches|WWK
1 Hero of Bladehold|MBS
1 Crater Hellion|USG
1 Azorius Guildmage|DIS
1 Kodama of the North Tree|CHK
1 Revoke Existence|SOM
1 Sun Titan|M11
1 Stillmoon Cavalier|EVE
1 Looter il-Kor|TSP
1 Stomping Ground|GPT
1 Tropical Island|3ED
1 Wasteland|TMP
1 Hallowed Fountain|DIS
1 Phantom Centaur|JUD
1 Doom Blade|M11
1 Nemesis of Reason|ARB
1 Badlands|3ED
1 Jace, the Mind Sculptor|WWK
1 Acidic Slime|M11
1 Nevinyrral's Disk|5ED
1 Pernicious Deed|APC
1 Verdant Catacombs|ZEN
1 Go for the Throat|MBS
1 Duress|M11
1 Strip Mine|4ED
1 Enclave Cryptologist|ROE
1 Black Vise|4ED
1 Call of the Herd|TSB
1 Fireslinger|TMP
1 Sheoldred, Whispering One|NPH
1 Diabolic Edict|TMP
1 Grand Arbiter Augustin IV|DIS
1 Rancor|ULG
[sideboard]
Re: New Draft Functionality Finally Done
by Sloth » 10 May 2011, 10:14
Just a guess, but "False" looks like it should be just Falsejuzamjedi wrote:I have been trying to get custom drafting working for me too, but I get an error. Here are my files.
[code]Name:JuzamjediCube
DeckFile:JuzamjediCube.dck
IgnoreRarity:"False"
LandSetCode:M11
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: New Draft Functionality Finally Done
by juzamjedi » 10 May 2011, 16:55
Good point. I tried it just now with False instead of "False" and I still get the null pointer exception.
My .dck file is in the normal decks directory and as a random guess I also copied it to the draft folder in case that was my problem. Still get the same error. Other ideas?
My .dck file is in the normal decks directory and as a random guess I also copied it to the draft folder in case that was my problem. Still get the same error. Other ideas?
Re: New Draft Functionality Finally Done
by Chris H. » 10 May 2011, 17:10
Hmmm, Rob's draft code is not able to handle the new metadata format?
Try this minor mod to your cube draft .dck file. Note that I changed the first several lines of this file and I is now using the older data and not the newer metadat format.
Try this minor mod to your cube draft .dck file. Note that I changed the first several lines of this file and I is now using the older data and not the newer metadat format.
- Code: Select all
JuzamjediCube
[general]
constructed
[main]
1 Akroma's Vengeance|ONS
1 Genesis|JUD
1 White Knight|M11
1 Pilgrim's Eye|WWK
1 Twinblade Slasher|EVE
1 Tundra|3ED
1 Opposition|7ED
1 Voidslime|DIS
1 Black Lotus|2ED
1 Green Sun's Zenith|MBS
1 Soltari Champion|STH
1 Plated Geopede|ZEN
1 Inferno Titan|M11
1 Llanowar Elves|M11
1 Molten Rain|MRD
1 Fireblast|VIS
1 Elesh Norn, Grand Cenobite|NPH
1 Wooded Foothills|ONS
1 Terramorphic Expanse|M11
1 Puncture Blast|EVE
1 Wild Mongrel|ODY
1 Lightning Helix|RAV
1 Sphinx of Jwar Isle|ZEN
1 Survival of the Fittest|EXO
1 Burst Lightning|ZEN
1 Library of Alexandria|ARN
1 Day of Judgment|M11
1 Cloudgoat Ranger|LRW
1 Pyroclasm|M11
1 Chainer's Edict|TOR
1 Volcanic Island|3ED
1 Black Sun's Zenith|MBS
1 Pestermite|LRW
1 Hypnotic Specter|M10
1 Jackal Pup|TMP
1 Kargan Dragonlord|ROE
1 Mortify|GPT
1 Masked Admirers|LRW
1 Mirror Entity|LRW
1 Batterskull|NPH
1 Uktabi Orangutan|6ED
1 Student of Warfare|ROE
1 Oxidda Scrapmelter|SOM
1 Condescend|5DN
1 Lone Missionary|ROE
1 Polluted Delta|ONS
1 Vampire Lacerator|ZEN
1 Char|RAV
1 Great Sable Stag|M10
1 Stirring Wildwood|WWK
1 Paladin en-Vec|10E
1 Akroma, Angel of Fury|PLC
1 Soltari Priest|TSB
1 Capsize|TMP
1 Bribery|8ED
1 Briarhorn|LRW
1 Kitchen Finks|SHM
1 Flametongue Kavu|PLS
1 Arid Mesa|ZEN
1 Glen Elendra Archmage|EVE
1 Bonehoard|MBS
1 Rift Bolt|TSP
1 Fire-Lit Thicket|SHM
1 Vedalken Shackles|5DN
1 Spiritmonger|APC
1 Umezawa's Jitte|BOK
1 Snuff Out|MMQ
1 Mind Twist|4ED
1 Stroke of Genius|USG
1 Steppe Lynx|ZEN
1 Sensei's Divining Top|CHK
1 Wurmcoil Engine|SOM
1 Loxodon Warhammer|10E
1 Goblin Ruinblaster|ZEN
1 Goblin Guide|ZEN
1 Plateau|3ED
1 Thieving Magpie|10E
1 Cultivate|M11
1 Garruk Wildspeaker|M11
1 Raging Ravine|WWK
1 Fauna Shaman|M11
1 Troll Ascetic|10E
1 Flooded Grove|EVE
1 Vampiric Tutor|6ED
1 Mana Leak|M11
1 Into the Roil|ZEN
1 Misty Rainforest|ZEN
1 Goblin Wardriver|MBS
1 Slagstorm|MBS
1 Drana, Kalastria Bloodchief|ROE
1 Standstill|ODY
1 Ponder|M10
1 Maze of Ith|DRK
1 Phyrexian Arena|9ED
1 Spectral Procession|SHM
1 Savage Lands|ALA
1 Gelectrode|GPT
1 Compulsive Research|RAV
1 Mystical Tutor|6ED
1 Time Walk|2ED
1 Mana Crypt|MBP
1 Seaside Citadel|ALA
1 Sword of Feast and Famine|MBS
1 Graven Cairns|SHM
1 Keldon Champion|UDS
1 Fetid Heath|EVE
1 Cascade Bluffs|EVE
1 Sphinx of the Steel Wind|ARB
1 Sarkhan the Mad|ROE
1 Simic Signet|DIS
1 Icy Manipulator|10E
1 Ghitu Slinger|ULG
1 Treetop Village|10E
1 Viridian Zealot|DST
1 Imperious Perfect|LRW
1 Zo-Zu the Punisher|CHK
1 Chameleon Colossus|MOR
1 Bloodstained Mire|ONS
1 Naturalize|M11
1 River Boa|ZEN
1 Bone Shredder|ULG
1 Kor Sanctifiers|ZEN
1 Karmic Guide|ULG
1 Jungle Lion|POR
1 Ajani Vengeant|ALA
1 Liliana's Specter|M11
1 Sword of Body and Mind|SOM
1 Rakdos Signet|DIS
1 Wild Nacatl|ALA
1 Joraga Treespeaker|ROE
1 Keldon Marauders|PLC
1 Perilous Myr|SOM
1 Rofellos, Llanowar Emissary|UDS
1 Obstinate Baloth|M11
1 Nantuko Shade|M11
1 Graveborn Muse|10E
1 Exalted Angel|ONS
1 Mana Drain|LEG
1 Wall of Omens|ROE
1 Cold-Eyed Selkie|EVE
1 Solemn Simulacrum|MRD
1 Frantic Search|ULG
1 Vengevine|ROE
1 Rampaging Baloths|ZEN
1 Yavimaya Elder|UDS
1 Kird Ape|9ED
1 Demonic Tutor|3ED
1 Viridian Shaman|10E
1 Savannah Lions|9ED
1 Grave Titan|M11
1 Brainstorm|MMQ
1 Crystal Ball|M11
1 Thoughtseize|LRW
1 Vampire Hexmage|ZEN
1 Sylvok Lifestaff|SOM
1 Animate Dead|5ED
1 Serendib Efreet|3ED
1 Savannah|3ED
1 Okiba-Gang Shinobi|BOK
1 Sinkhole|2ED
1 Isamaru, Hound of Konda|CHK
1 Relic of Progenitus|ALA
1 Deep Analysis|TOR
1 Cryptic Command|LRW
1 Control Magic|4ED
1 Blastoderm|NMS
1 Tangle Wire|NMS
1 Damnation|PLC
1 Arc Lightning|USG
1 Ember Hauler|M11
1 Dauthi Marauder|TMP
1 Blood Knight|PLC
1 Rampant Growth|M10
1 Bituminous Blast|ARB
1 Mystic Gate|SHM
1 Ohran Viper|CSP
1 Mistral Charger|DIS
1 Blood Crypt|DIS
1 Goblin Patrol|USG
1 Coralhelm Commander|ROE
1 Vampire Nighthawk|ZEN
1 Qasali Pridemage|ARB
1 Mother of Runes|ULG
1 Despise|NPH
1 Harmonize|PLC
1 Pouncing Jaguar|USG
1 Caller of the Claw|LGN
1 Calcite Snapper|WWK
1 Simic Sky Swallower|DIS
1 Blistering Firecat|ONS
1 Ninja of the Deep Hours|BOK
1 Leonin Relic-Warder|MBS
1 Pianna, Nomad Captain|ODY
1 Grim Lavamancer|TOR
1 Mishra's Factory|4ED
1 Sylvan Library|5ED
1 Manic Vandal|M11
1 Consecrated Sphinx|MBS
1 Venser, the Sojourner|SOM
1 Austere Command|LRW
1 Preordain|M11
1 Boggart Ram-Gang|SHM
1 Overgrown Tomb|RAV
1 Beast Within|NPH
1 Giant Solifuge|GPT
1 Thornling|CFX
1 Keldon Vandals|UDS
1 Thrun, the Last Troll|MBS
1 Smash to Smithereens|SHM
1 Swords to Plowshares|ICE
1 Fleshbag Marauder|ALA
1 Emeria Angel|ZEN
1 Ravenous Baloth|ONS
1 Mire Boa|PLC
1 Taiga|3ED
1 Noble Hierarch|CFX
1 Mana Vault|5ED
1 Psychatog|ODY
1 Flooded Strand|ONS
1 Inquisition of Kozilek|ROE
1 Dark Confidant|RAV
1 Watery Grave|RAV
1 Black Knight|M11
1 Abyssal Persecutor|WWK
1 Indrik Stomphowler|DIS
1 Innocent Blood|ODY
1 Cunning Sparkmage|WWK
1 Mutavault|MOR
1 Goldmeadow Harrier|LRW
1 AEther Vial|DST
1 Sol Ring|3ED
1 Sudden Death|TSP
1 Crumbling Necropolis|ALA
1 Chimeric Mass|SOM
1 Aftershock|TMP
1 Hystrodon|ONS
1 Underground Sea|3ED
1 Meloku the Clouded Mirror|CHK
1 Elite Vanguard|M11
1 Scrubland|3ED
1 Wickerbough Elder|EVE
1 Firebolt|ODY
1 Parallax Wave|NMS
1 Siege-Gang Commander|10E
1 Carnophage|EXO
1 Yosei, the Morning Star|CHK
1 Sower of Temptation|LRW
1 Putrid Leech|ARB
1 Tarmogoyf|FUT
1 Archon of Justice|EVE
1 Flame Slash|ROE
1 Bloodghast|ZEN
1 Eternal Witness|5DN
1 Breeding Pool|DIS
1 Shriekmaw|LRW
1 Armageddon|S99
1 Volrath's Stronghold|STH
1 Balance|4ED
1 Kodama's Reach|CHK
1 Urabrask the Hidden|NPH
1 Forbid|EXO
1 Riftwing Cloudskate|TSP
1 Nantuko Vigilante|LGN
1 Grafted Wargear
1 Impulse|VIS
1 Glorious Anthem|10E
1 Disenchant|TSB
1 Rishadan Port|MMQ
1 Mox Pearl|2ED
1 Inkfathom Infiltrator|SHM
1 Journey to Nowhere|ZEN
1 Loxodon Hierarch|RAV
1 Sarkhan Vol|ALA
1 Ravenous Baboons|EXO
1 Rafiq of the Many|ALA
1 Avalanche Riders|TSB
1 Vendilion Clique|MOR
1 Fire Imp|POR
1 Bloodbraid Elf|ARB
1 Skullclamp|DST
1 Scepter of Dominance|CFX
1 Wrath of God|10E
1 Ancestral Recall|2ED
1 Scroll Rack|TMP
1 Dauthi Horror|TMP
1 Shadowmage Infiltrator|TSB
1 Regrowth|3ED
1 Birds of Paradise|M11
1 Wall of Denial|ARB
1 Dark Ritual|MMQ
1 Psionic Blast|TSB
1 Sea Gate Oracle|ROE
1 Murderous Redcap|SHM
1 Loam Lion|WWK
1 Man-o'-War|S99
1 Oblivion Ring|ALA
1 Decree of Justice|SCG
1 Figure of Destiny|EVE
1 Wheel of Fortune|3ED
1 Bitterblossom|MOR
1 Slave of Bolas|ARB
1 Reveillark|MOR
1 Puppeteer Clique|SHM
1 Hell's Thunder|ALA
1 Gruul Signet|GPT
1 Bane of the Living|LGN
1 Starstorm|ONS
1 Upheaval|ODY
1 Putrefy|RAV
1 Electrolyze|GPT
1 Evolving Wilds|ROE
1 Grim Monolith|ULG
1 Viridian Emissary|MBS
1 Silver Knight|SCG
1 Creeping Tar Pit|WWK
1 Mystic Snake|TSB
1 Magma Jet|5DN
1 Angel of Despair|GPT
1 Night's Whisper|5DN
1 Terror|10E
1 Wooded Bastion|SHM
1 Temple Garden|RAV
1 Hymn to Tourach|FEM
1 Basilisk Collar|WWK
1 Maelstrom Pulse|ARB
1 Lightning Bolt|M11
1 Wake Thrasher|EVE
1 Kokusho, the Evening Star|CHK
1 Volcanic Fallout|CFX
1 Blazing Specter|INV
1 Marsh Flats|ZEN
1 Calciderm|PLC
1 Sakura-Tribe Elder|CHK
1 Treachery|UDS
1 Spikeshot Elder|SOM
1 Ink-Eyes, Servant of Oni|BOK
1 Krosan Grip|TSP
1 Stonecloaker|PLC
1 Mulldrifter|LRW
1 Fyndhorn Elves|ICE
1 Sword of Light and Shadow|DST
1 Knight of Meadowgrain|LRW
1 Harrow|ZEN
1 Dissipate|MIR
1 Broodmate Dragon|ALA
1 Baneslayer Angel|M11
1 Liliana Vess|M11
1 Sunken Ruins|SHM
1 Dimir Signet|RAV
1 Stoneforge Mystic|WWK
1 Nekrataal|10E
1 Dauthi Slayer|TSB
1 Skinrender|SOM
1 Mox Ruby|2ED
1 Tinker|ULG
1 Selesnya Signet|RAV
1 Force of Will|ALL
1 Bayou|3ED
1 Lightning Greaves|MRD
1 Counterspell|7ED
1 Elspeth, Knight-Errant|ALA
1 Temporal Isolation|TSP
1 Lotus Cobra|ZEN
1 Arc Trail|SOM
1 Rugged Prairie|EVE
1 Path to Exile|CFX
1 Life's Finale|NPH
1 Stupor|TSB
1 Fact or Fiction|INV
1 Mox Jet|2ED
1 Lodestone Golem|WWK
1 Winter Orb|5ED
1 Hellspark Elemental|CFX
1 Moat|LEG
1 Thirst for Knowledge|MRD
1 Jungle Shrine|ALA
1 Sacred Foundry|RAV
1 Sword of Fire and Ice|DST
1 Land Tax|4ED
1 Azorius Signet|DIS
1 Repeal|GPT
1 Earthquake|M10
1 Pillage|7ED
1 Plow Under|8ED
1 Wall of Blossoms|STH
1 Frost Titan|M11
1 Steam Vents|GPT
1 Telling Time|10E
1 Keiga, the Tide Star|CHK
1 Terminate|ARB
1 Red Sun's Zenith|MBS
1 Forked Bolt|ROE
1 Koth of the Hammer|SOM
1 Trygon Predator|DIS
1 Bonesplitter|MRD
1 Nature's Claim|WWK
1 Mirari's Wake|JUD
1 Reanimate|TMP
1 Force Spike|7ED
1 Celestial Colonnade|WWK
1 Twilight Mire|EVE
1 Arcane Sanctum|ALA
1 Mox Emerald|2ED
1 Basking Rootwalla|TOR
1 Hero of Oxid Ridge|MBS
1 Scalding Tarn|ZEN
1 Mox Sapphire|2ED
1 Recurring Nightmare|EXO
1 Soltari Trooper|TMP
1 Mana Tithe|PLC
1 Vindicate|APC
1 Time Spiral|USG
1 AEther Adept|M11
1 Master of the Wild Hunt|M10
1 Accorder Paladin|MBS
1 Mirran Crusader|MBS
1 Windswept Heath|ONS
1 Deranged Hermit|ULG
1 Incinerate|10E
1 Sulfuric Vortex|SCG
1 Tumble Magnet|SOM
1 Godless Shrine|GPT
1 Soltari Monk|TMP
1 Flame Javelin|SHM
1 Lavaclaw Reaches|WWK
1 Hero of Bladehold|MBS
1 Crater Hellion|USG
1 Azorius Guildmage|DIS
1 Kodama of the North Tree|CHK
1 Revoke Existence|SOM
1 Sun Titan|M11
1 Stillmoon Cavalier|EVE
1 Looter il-Kor|TSP
1 Stomping Ground|GPT
1 Tropical Island|3ED
1 Wasteland|TMP
1 Hallowed Fountain|DIS
1 Phantom Centaur|JUD
1 Doom Blade|M11
1 Nemesis of Reason|ARB
1 Badlands|3ED
1 Jace, the Mind Sculptor|WWK
1 Acidic Slime|M11
1 Nevinyrral's Disk|5ED
1 Pernicious Deed|APC
1 Verdant Catacombs|ZEN
1 Go for the Throat|MBS
1 Duress|M11
1 Strip Mine|4ED
1 Enclave Cryptologist|ROE
1 Black Vise|4ED
1 Call of the Herd|TSB
1 Fireslinger|TMP
1 Sheoldred, Whispering One|NPH
1 Diabolic Edict|TMP
1 Grand Arbiter Augustin IV|DIS
1 Rancor|ULG
[sideboard]
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: New Draft Functionality Finally Done
by Rob Cashwalker » 10 May 2011, 18:07
I don't think the metadata should affect anything should it? It's not like I'm reading the text myself, I'm using the deckIO to return me a cardlist.
The null comes up on the last line here:
The null comes up on the last line here:
- Code: Select all
DeckManager dio = new DeckManager(ForgeProps.getFile(NewConstants.NEW_DECKS));
Deck dPool= dio.getDeck(DeckFile);
CardList cList = new CardList();
List<String> tList = dPool.getMain();
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: New Draft Functionality Finally Done
by Chris H. » 10 May 2011, 18:49
OK, the custom draft file must end with the extension ".draft" and it must be located inside of the /res/draft/ folder. This will allow me to select the JuzamjediCube but I get an error in return.
So, it looks like I have now gotten as far as Juzamjedi.
So, it looks like I have now gotten as far as Juzamjedi.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
66 posts
• Page 1 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 17 guests