Drafting with Manalink 2.0
Today I believe I've written my best 385 lines of code ever. For these 385 lines of code enable you to draft using the manalink software.
Requirements:
>Perl must be installed on your machine (free download at http://www.activestate.com/activeperl/ or http://www.softpedia.com/get/Authoring- ... lBox.shtml
>You must have Internet Explorer with ActiveX enabled.
Instructions:
>Download the draft script: http://www.savefile.com/files/2063805 and put the .pl file into c:\magic\draft
>From the command line, run 'perl c:\magic\draft\draft.pl'
>Open the .html file that the script tells you in Internet Explorer. Make sure ActiveX is enabled (in your internet settings). The browser may give you a warning, so just allow blocked content. (it complains because the html writes a cookie file to your computer)
>Do the drafting, and then play out the games using Duel mode in Manalink. Your deck is Draft.dck, and your opponents are Draft Opponent 1-7 (score).dck.
This should be considered in BETA mode for now, until the kinks are worked out. Please post questions and bugs here, and most importantly, let me know if you get this running successfully.
Hopefully someone with some GUI programming experience can take this from HTML into a real application. Also, it would be great if someone figured out how the AI builds decks in Sealed. I wrote my own deck generation routine, which is not very advanced right now.
Requirements:
>Perl must be installed on your machine (free download at http://www.activestate.com/activeperl/ or http://www.softpedia.com/get/Authoring- ... lBox.shtml
>You must have Internet Explorer with ActiveX enabled.
Instructions:
>Download the draft script: http://www.savefile.com/files/2063805 and put the .pl file into c:\magic\draft
>From the command line, run 'perl c:\magic\draft\draft.pl'
>Open the .html file that the script tells you in Internet Explorer. Make sure ActiveX is enabled (in your internet settings). The browser may give you a warning, so just allow blocked content. (it complains because the html writes a cookie file to your computer)
>Do the drafting, and then play out the games using Duel mode in Manalink. Your deck is Draft.dck, and your opponents are Draft Opponent 1-7 (score).dck.
This should be considered in BETA mode for now, until the kinks are worked out. Please post questions and bugs here, and most importantly, let me know if you get this running successfully.
Hopefully someone with some GUI programming experience can take this from HTML into a real application. Also, it would be great if someone figured out how the AI builds decks in Sealed. I wrote my own deck generation routine, which is not very advanced right now.
