DraftWithMSE

Wed, 2008-07-09 19:21
Idle Muse
Idle Muse's picture

DraftWithMSEDownload DraftWithMSE v1.35
Beta - Currently unavailable for download

DraftWithMSE is, simply put, an application that allows one to draft MSE sets. At the moment, it is only at a beta stage of development, and only permits drafting versus 7 computer opponents, with no AI to speak of, but it is useful simply to test the depth and draftability of your sets.

It is written in Java, and requires Java 6 at least. This shouldn't be a problem if you have Vista, but , Linux users may have to check their updates. The program should alert you if your java version isn't recent enough.

Screenshots:

Spoiler:

Spoiler:

Extract the zip file pretty much anywhere, though your Program Files directory is normal.
Please read the salient points of the readme file included in this zip.

Current issues with the Beta version are included in the readme, but please post any issues you have with the program!
Remember this program is still in development, so is probably quite fragile when it comes to odd corner cases involving card names. Next version will inlude a far more robust set import parser.

IMPORTANT: Do not worry if the program hangs while importing sets; this is natural behavour caused by MSE's time-consuming mass export function. Do not attempt to shut off the program unless an MSE error message pops up, just wait; especially for larger files where the time is obviously longer.

Current Features.
- Draft your own sets made with MSE!
- Draft against 7 computer opponents.
- Works with any template, though ones with odd dimensions don't display that well, such as split cards.
- Up to 6 packs, customise the rarity distribution between packs.
- Supports Basic Land, Common, Uncommon, Rare, Mythic rare, and Special rarities!
- Sorting of the cards in the interface.

Future Features.
- Network play against other humans.
- Nicer user interface, with colours and stuff.
- Draft timers.
- AI for computer opponents.
- (Possibly) a built-in deck builder once the draft is over.
- If this is implemented, Sealed Deck will be easy to implement as well.

Blue-Sky possibilities.
- Eventually, I want to build a PlayWithMSE app as well, along the lines of Apprentice, and this program should tie into that as well.

Thanks for any feedback! Since this is only beta version, any bug reports are especially useful, as are reports of no bugs!

UPDATE: Link above now leads to a new version with some bugfixes, advanced customisation of computer opponents (read readme), and a few more small features. This is the version I'm gonna post at MTGSalvation.

UPDATE: Changed Mythic rarity from a separate include to a % chance of replacing a rare. This is the only thing that has changed, not very well tested so might cause some errors if misused.

UPDATE: Rewritten card import engine for robustness and extensibility; in the future, it will be much easier to write imports for card color, and sorting scripts. Also, a functional change to the booster pack generator; duplicate cards are no longer produced. If the number of cards in a rarity in a set is less than the number chosen for a pack, 'empty' slots are left, same as before if you included cards of a rarity that didn't exist at all in the set. THIS is the version I will be posting at MTGSalvation, if I eventually get round to it.

UPDATE: Bugfix.

UPDATE: Includes the ability to sort your picked cards by colour, type, and name, functionality to allow export to Apprentice deck format (although you'll either need to import your MSE set into Apprentice separately or put up with 'blank' cards with only the name). Also included are multiple fixes to the set importer, allowing most cards with symbols in their name to work, and disallowing non-magic sets from working, and a little GUI fix in the new draft window.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Wed, 2008-07-09 19:48
innuendo
innuendo's picture

Oh my gosh LP this is brilliant. As soon as I get home I'm going to dl this and play with it all day. I actually know a little java if you don't mind me looking over the code (partly for curriosity, partly to see if I can help at all).

This is brilliant though. I tried using the apprentice program (netdraft is it?) and it's horrid to use and the file type it uses is hardly decipherable, and thus uneasy to reproduce for custom sets.

You sir, are brilliant.

As if being at work wasn't tourture enough, you make this at the *start* of my work day... Brilliant but evil... you should run with that dynamic.

Current Projects: Siege SCG

Wed, 2008-07-09 19:50
BoomWolf

I think AI should be last priority ATM. it will be nigh-impossible to make a good one, and it wont be too popular anyway.

I also think you should make the rarity based on something written inside the game files or something, because if used for games other then MTG, the rarities wont be the same.

Will look into the program later on. now I'ma bit buzy in making my game's template, and my MTG set. (two project that don't like to share and they are both time-consuming.) as well as studying to the last test. (less important.)

Wed, 2008-07-09 20:03
Pichoro
Pichoro's picture

A word of advice for anyone starting it up for the first time; be patient. A happy smile

You apparently have to wait on it to render up and load the sets you want to use, and during this time it appears to be frozen. In fact, I forced it to shut off thinking it was frozen, and now have two versions of the first set I wanted to use in it (one complete and one incomplete from being interrupted).

Nevermind - It seems to have ironed the problem out on its own, by cutting me down to one copy of the set. Cool. Still, patience. A happy smile

Wed, 2008-07-09 20:35
innuendo
innuendo's picture

AI just for drafting should be easy enough, Have it default to rares and then after it has 5 or so cards have it prioritze by color. I know that's not the most efficient drafting out there but it should at least give fairly logical results for what cards you would see in a draft, and the cards you draft should be logical looking to what you would see in any normal draft. So for the purpouse of testing you can see what cards you have to draft from.

Current Projects: Siege SCG

Wed, 2008-07-09 20:57
BoomWolf

That means he will draft unplayable rares (moonlance anyone? was it EVER taken before last pick?), and wont take powerful commons/uncommons.

Even after the color priority, he wont target the better cards, nor will he have ANY sense of casting curve.

The way you suggested is way bad draft. its a "lets see what happens" system. the draft AI is irrelevant if the pools he collects are too weak, or completely unplayable even though he could gather great card pools.

The greatest issues of such drafting:
1-he wont read what the people next to him pick, so actually 3 or even 4 a row might take the same two colors.
2-he wont curve, making the curve for the player as well be awkward. (they take toom many high cost leaving lotsa low cost, or taking lotsa low cost leaving lotsa high cost.)
3-he wont understand card power, taking unplayable rares over strong, or even 1-pick commons and uncommons.

For a real draft AI, the computer must be able to analyze general power, build himself a cost curve, AND generally read the 2 players next to him, and that's even only enough for a drafting-only AI, that does not build decks or play. and even then he will only compare to a drafting noob.

The hardest thing to do in any game or game-like software (and this is a game-like software) is to make a decent AI. that alone is almost half the creation time. if you want a REAL good AI, it will take almost 90% of the project work, that's why AI in games is so horrid-they are quite dumb although they got hundreds of work hours. except "cheating AI" noobs can generally beat the hardest AI in term of thinking, action speed, and control.

((Cheating AI=when the AI gets unfair advantage that a human cannot do, for example the brutal AI in CNC3 gets double the starting cash, double the cash gain, and can give unlimited commands at once. and you still don't need to be too good to take him down.))

Wed, 2008-07-09 21:03
innuendo
innuendo's picture

I didn't say it would be real, I said it would give you a good starting point and be better than random. Gosh I don't want to play against him I just want to see what sort of cards come out of a pool. Obviously I realize the draft pool the AI would pick would be horrid and not playable but it allows the player to pick an at least resonable draft pool for test purpouses, not for playing purpouses.

Current Projects: Siege SCG

Wed, 2008-07-09 21:18
BoomWolf

but for the same reasons its not good for draft reasons, you WONT get a realistic card pool, as in normal draft the card pool in effected from the other players jest as much as your on choices, and sometimes even more.

I say leave the AI for last. we can test it with human volunteers, or if you make such option, having ourselves in all 8 draft seats. (thinking of it, it lets you see 8 pools at once, WHILE making them all rather realistic. it wont be perfect only because every player knows what each other player is playing.)

Wed, 2008-07-09 21:29
Idle Muse
Idle Muse's picture

Quote:
I didn't say it would be real, I said it would give you a good starting point and be better than random. Gosh I don't want to play against him I just want to see what sort of cards come out of a pool. Obviously I realize the draft pool the AI would pick would be horrid and not playable but it allows the player to pick an at least resonable draft pool for test purpouses, not for playing purpouses.

This is mostly my sentiment. The v1 AI which I very nearly coded into this simply learns from your picks what are the good cards in a set, and prioritises those (perhaps with a little randomisation), otherwise picks a card at random (the current behaviour Stick out your tongue). Currently, the program doesn't know what color cards are (otherwise I would get it to colour in the name), so picking by colour is obviously impossible. The new parser I mentioned in the first post should allow this, but I doubt it will ever be a 'proper' player-level AI. Innuendo has got the right end of the stick; the ai is just there as someone to help you goldfish.

Pichoro; you're right about the lag on importing sets, sorry you got caught by this; you can simply delete the sets/image folders from the draftWithMSE root if you want to clear them out. I mentioned this lag in the readme, but I guess I should make it more obvious. It isn't actually lag in my program: rather, the time is taken by MSE in exporting the images. I can eliminate it (currently the program waits for MSE to finish, I can turn that off), but I'm unsure of the consequences. At the very least it will mean that you will get an error graphic when selecting some cards in the first pack, since they haven't been exported yet. I think the best solution is just to popup some kind of splash screen while this is happening, just to reassure the user nothing is wrong Stick out your tongue

BoomWolf, this program currently only works for Magic (all the internals are structures based on the 6-rarity pattern), and it should throw a simple error if an non-magic set is imported (needs testing, I think actually it just acts as if the set has no cards in it...). Customisation for other games should be possible, but would require a lot of rewriting, and some way of inputting the structure of the game, meaning a _dynamic_ parser is needed... Gets complicated. This is on the blue-sky list.

Thanks for your praise guys! If this goes down well here, I'm gonna post it at MTGSalvation as well, where it would no doubt reach a large audience.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Wed, 2008-07-09 21:39
Pichoro
Pichoro's picture

Don't worry about me having problems. Just like when someone posts a template, I'm happy to try to break it. Winking smiley

I get some funny behaviors with it just sorta stopping in drafts, typically when I pick the last card from a pack. Usually it just kicks to the next pack, but in some cases, I'm left in an empty pack.

If we weren't heading for Shards with its randomly inserted Mythics, I would say you'd be looking at the new way to practice drafting for a new set once mtgsalvation gets wind of this. But as is, Shards is going to shake things up.

Wed, 2008-07-09 21:50
Twan
Site and Project Owner
Twan's picture

Are you currently using the --export flag? If you want I could add some options that would make it easier to write a program such as this that communicates with MSE.

See this thread for a discussion of that idea.

Wed, 2008-07-09 21:56
Idle Muse
Idle Muse's picture

Yeah, I know the Mythic Rare handling is wrong, but one of the other modules I'm gonna fix is the booster-pack-filling method; try creating a booster pack with specials/mythics/whatever from a set with none; you'll notice it creates like thin textless card entries in the list; not ideal.

When I do do this, the Mythic-rare option will be simple checkbox on each pack, or something. I already have the 'pack options' code mostly in place, because at one point I was gonna do optional "No Duplicates" handling, which is currently disabled.

These random crashes; do they ever happen in the middle of packs? When they happen at the end, does the yellow pack indicator move on or not?

Just another performance issue; When drafting LARGE sets, you may run out of memory (card images are cached for speed of rendering). I think I've handled this wherever it happends, but it still might occur. In the places where I've handled it, you simply get a lag where the card images are all uncached again. If it isn't handled, all that happends is that the card image panel is disabled, it shouldn't kill the program.

EDIT: Twan, yes I am (remember I was the one who asked for it? Stick out your tongue This has been in development on and off for quite a while)
I'm gonna go read that thread now.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Wed, 2008-07-09 23:56
Pichoro
Pichoro's picture

Lordpenguin wrote:
These random crashes; do they ever happen in the middle of packs? When they happen at the end, does the yellow pack indicator move on or not?

I can't remember; the next time I see it happen, I'll give you more information.

In the meantime, I had it hand me a half-full pack for my first pack in a second round a few minutes ago. I've never actually drafted, so I wouldn't really know, but that doesn't seem right to me.

Lordpenguin wrote:
Yeah, I know the Mythic Rare handling is wrong, but one of the other modules I'm gonna fix is the booster-pack-filling method; try creating a booster pack with specials/mythics/whatever from a set with none; you'll notice it creates like thin textless card entries in the list; not ideal.

When I do do this, the Mythic-rare option will be simple checkbox on each pack, or something. I already have the 'pack options' code mostly in place, because at one point I was gonna do optional "No Duplicates" handling, which is currently disabled.

Not to put more on you, but have you considered adding something for cards with "shifted sorting" as well? That would permit it to also replicate strangenesses like Planar Chaos.

Finally, a purely cosmetic idea, but I'm mentioning it anyway. Have you considered letting us set avatars and names for the computer extras?

Thu, 2008-07-10 01:49
Idle Muse
Idle Muse's picture

Quote:
set avatars and names for the computer extras?

You mean permanent names and avatars, rather than just editing the ones they're randomly selected from, which you can do, (read readme if unaware of this).

Quote:
In the meantime, I had it hand me a half-full pack for my first pack in a second round a few minutes ago. I've never actually drafted, so I wouldn't really know, but that doesn't seem right to me.

I'll investigate this; anything special I should know about the set in question? I'm assuming you are using regular packs and rarity distributions?

Quote:
Not to put more on you, but have you considered adding something for cards with "shifted sorting" as well? That would permit it to also replicate strangenesses like Planar Chaos.

I don't know the precise way that PC shifted cards were distributed, other than the obvious; they were all at 'normal' rarities in those slots. Before you mentioned it, I thought that they were treated exactly the same as non-shifted cards, but now I don't know.

This also seems like a good place to point out that when the parser allows me to access card colors, i'll implement some sort of rudimentary printing run system (basically a bias to make sure you get a fairly even colour distribution), though I don't plan to implement 'proper' printing runs like Netdraft does, simply because they are a bit arbitrary and obviously not defined in custom sets.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Thu, 2008-07-10 02:14
Pichoro
Pichoro's picture

Lordpenguin wrote:
You mean permanent names and avatars, rather than just editing the ones they're randomly selected from, which you can do, (read readme if unaware of this).

Although I didn't realize you could control the random choices until after I posted, I mean setting them permanently.

Lordpenguin wrote:
I'll investigate this; anything special I should know about the set in question? I'm assuming you are using regular packs and rarity distributions?

It did have a Time Spiral style distribution. 1 Special, 1 Rare, 3 Uncommons, 10 Commons.

Lordpenguin wrote:
I don't know the precise way that PC shifted cards were distributed, other than the obvious; they were all at 'normal' rarities in those slots. Before you mentioned it, I thought that they were treated exactly the same as non-shifted cards, but now I don't know.

I believe Planar Chaos went like this. 1 Unshifted Rare, 1 Shifted Rare/Shifted Uncommon, 3 Shifted Commons, 2 Unshifted Uncommons, 8 Unshifted Commons. The "1 Shifted Rare/Shifted Uncommon" had a 1 out of 4 chance of being Shifted Rare.

This is actually why the style choices for planeshifted and futureshifted templates feature a "shifting" option; they also sort to the end of their colors. A happy smile

Thu, 2008-07-10 02:39
Idle Muse
Idle Muse's picture

I can't seem to replicate your bug, but it did alert me to a bug in the Draft Progress bar, which occurs when you start new draft without finishing the first. I'll keep trying to locate the issue with a set with some specials in.

The fixed computer opponents thing should be fairly easy, but it means another GUI (sigh Stick out your tongue) I might just hack it in as a set of properties keys that you can add manually.

The Planar Chaos thing sounds difficult. You essentially have two extra rarities, as well as something that could be implemented with the mythic rare code. This isn't high on my priorities, as I doubt many custom set designers will want to use such a system. I mean, Netdraft is out there if one wants perfect print runs.

Also, I wrote the splash screen for the set import warning already:

Spoiler:

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Thu, 2008-07-10 02:56
Pichoro
Pichoro's picture

Lordpenguin wrote:
The fixed computer opponents thing should be fairly easy, but it means another GUI (sigh)

Don't worry about it then. It was just a silly little cosmetic observation; hardly of importance.

Lordpenguin wrote:
The Planar Chaos thing sounds difficult. You essentially have two extra rarities, as well as something that could be implemented with the mythic rare code.

Again, it was just a thought. I don't know if the use of the "card.card_shape" field would help or not, but its there and could serve the purpose of identifying shifted cards.

Thu, 2008-07-10 03:28
innuendo
innuendo's picture

Just finished my first couple of run throughs and I must say this is a fantastic program.

I think the bottom list needs an option to sort by name, and so far thats the only thing not mentioned so far I would like.

Current Projects: Siege SCG

Thu, 2008-07-10 11:47
Idle Muse
Idle Muse's picture

Quote:
card.card_shape

If Twan decides to implement the command line interface then this might be possible.

Innuendo, I'll add sorting by name when I do sorting by colour and cmc as well.

I just stuck in rudimentary support for forcing bots to be identical.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Thu, 2008-07-10 12:36
BoomWolf

you should add a feature to be drafting on 8 seats by yourself. (no computers, you do it all.)

Thu, 2008-07-10 12:58
Idle Muse
Idle Muse's picture

Good idea, but somewhat difficult to configure, visually. This will probably have to wait until LAN/Internet play is implmented, because what you're essentially doing is playing a network game against yourself. That way the awkward GUI problem is avoided, because each seat would just be in a new window. (Exactly the same as drafting against yourself with Netdraft).

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Thu, 2008-07-10 15:25
BoomWolf

not necessarily. you can have a "change seat" button to let you switch between the different seats while staying in the same window...

And naturally such configuration has got to give you more time (unlimited?) to make choices, or the human simply wont stand the pressure of time and go nuts.
Actually, time limit it. it will be funny as hell to see people lose sanity jest for draft testing.

Fri, 2008-07-11 15:59
Idle Muse
Idle Muse's picture

Quote:
you can have a "change seat" button

I think this will just end up being confusing to the user.
Draft timers will be in with the multiplayer version.

I've just released a small update, check the first post. I would recommend you get it even if you aren't interested in the bot customisation tweaks, as it provides a number of bugfixes and a highly useful feature: It remembers your draft settings for each set, so no need to keep adding on that extra 'special' rarity card or whatever. Its a significant time-saver when drafting sets that don't use the default distribution.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-11 20:27
innuendo
innuendo's picture

Hmm, it remembering is actually hurting me right now. What I have been doing to simulate mythic rarity with horror.mse-set is setting pack 2 to have mythic rares and leave the rest normal. I'm currently unable to do that because it defaults to when I pick one pack to have m.rares they all do. I see what why this is good, and it will be much better when proper m.rare code is implimented but. Is is possibly for in the m.rare box to select 1/8th and have the code replace the rare in the pack with the 1/8 m.rares? I know this is what you are going to do but that feature is much more important than locking in set numbers right now.

Sorry this sounds so negative, the update is great and it runs much smother now, good work lp.

Current Projects: Siege SCG

Fri, 2008-07-11 21:50
Idle Muse
Idle Muse's picture

No problem, innuendo; I'll make mythic rares my next priority. The way I figured I'd do is similar to your idea; only i'll probably have it as a percentage.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-11 21:54
innuendo
innuendo's picture

Oh I was going to put a percentage but my head didn't feel like doing math!

And with that news I eagerly away the next update.

Current Projects: Siege SCG

Fri, 2008-07-11 22:08
Idle Muse
Idle Muse's picture

Well, I just did the percentage thing now; percentage because it is easier to program.
Actually, either way is pretty easy, but percentage gives you finer control, and is easier to show what I mean in the UI.

I can post this version now, if you want.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-11 22:18
Pichoro
Pichoro's picture

I for one would love to have it.

Fri, 2008-07-11 22:26
Idle Muse
Idle Muse's picture

Published hacked-in version above. Needs some cleaning though, might cause bugs in corner cases.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-11 23:08
innuendo
innuendo's picture

That is very very nice, but 1/8 = .125 which is not achievable at this moment...

I hate do that to you lp, really I do, either way that update is fantastic and very helpful.

Also does this work if a pack has more than 1 rare? As in, if a pack has 3 rares will the 1 mythic replace one rare? I haven't checked yet but just currious

Current Projects: Siege SCG

Fri, 2008-07-11 23:26
Idle Muse
Idle Muse's picture

1/8 is a 12.5% chance; put either 12% or 13%, 0.5% difference isn't big enough to be noticable or relevant.

Internally, each pick is treated separately, so if you have 3 rares, there is a chance of getting one, two, or three mythics.
Since there obviously isn't any precedent for this (I don't know how Tournament packs will be treated in Shards), I stuck to the simple solution.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-11 23:30
innuendo
innuendo's picture

that sounds perfect, and like I said, i wasn't very thrown by the .5, I was just pointing it out.

Current Projects: Siege SCG

Fri, 2008-07-11 23:45
Idle Muse
Idle Muse's picture

Oh right Stick out your tongue I thought you were trying to enter 0.125, which obviously doesn't work Big smile

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-11 23:48
innuendo
innuendo's picture

I'm not sure if this is a bug or not, but I just drafted MSEhorror and the first 3 packs I saw had the same rare and the same 3 uncommons (it was exact) It was 3 rot kings in each of the packs and the uncommons were all the same as well. Not really sure what happened and if it was just fluke because i've gone through about 5 more times and haven't been able to reproduce it. Either way, it was nice because I drafted B/G and kicked ass!

Current Projects: Siege SCG

Fri, 2008-07-11 23:58
Idle Muse
Idle Muse's picture

Yeah, its just random luck. Same problem people have with the shufflers in Apprentice and MTGO; random doesn't necessarily mean well-distributed. There is a chance that every rare in the whole draft is the same in DraftWithMSE, whereas in real life most drafts use packs from a box, and you hit the print run factor again. Print runs actually exist to make packs less random, more evenly distributed. DraftWithMSE is, at the moment, truly random.

This isn't aimed at you, innuendo, just random musings Stick out your tongue

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Sun, 2008-07-13 18:29
innuendo
innuendo's picture

So i've been running this program a lot (considering it's awsomeness) and I think the most requested feature by me right now is a simple catch to not put duplicate cards in the same pack. I know you're avoiding full print runs but this seems like an easy check to make.

And again, any chance I could get the source LP? I program java on the side and would love to help.

Current Projects: Siege SCG

Sun, 2008-07-13 18:30
zzo38

This is one way to generate booster packs in MSE: http://magicseteditor.sourceforge.net/node/1762 Unfortunatly, MSE doesn't have random() function yet, but when it does, it will be improved.

I think you can base it off of this and don't make it specific to Magic: the Gathering any more, just create different export-template for each game, and then import those files into DraftWithMSE program. That way, DraftWithMSE does not have to be worry about so much, the booster-pack generation can be modified in the export-template and DraftWithMSE can deal with everything else in it, regardless of which games you are playing (doesn't have to be Magic).

Sun, 2008-07-13 20:48
Idle Muse
Idle Muse's picture

I can give you the source, innuendo, but i'd prefer not to publish it all over the web, so if you give me your email address i'll email it to you.

I was planning on implementing a no-duplicates problem, but I hit the problem that occurs when the you 'run out' of cards in a certain rarity. I think i've thought of a solution to that though, so a solution is probably on the way.

zzo38, I understand what you are trying to say, but in practice, it would require making a separate export-template for each game, rewriting large parts of the internal code to support arbirary rarity levels, rewriting the set import to cope with dynamic field import, lots of time-consuming conversion.

If you wangle it so that the whole pack generation is done with MSE, then there will be big security issues down the line in the multiplayer mode.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Sun, 2008-07-13 20:55
innuendo
innuendo's picture

great, my email is

I'll take a look at it tonight after work.

Current Projects: Siege SCG

Sun, 2008-07-13 21:23
Idle Muse
Idle Muse's picture

I want to play around with this no-duplicates idea first; i'll pipe over the source code after I work that out.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Sun, 2008-07-13 21:30
innuendo
innuendo's picture

no worries, i'm stuck at this place for another six hours anyways...

Current Projects: Siege SCG

Wed, 2008-07-16 14:36
mikefon
mikefon's picture

When I try to open draftwithmse.exe I get this error: "could not create the java virtual machine".
I have windows home sp2 and JRE 1.6.0_07-b06
Do I need JDK?

Wed, 2008-07-16 15:27
Idle Muse
Idle Muse's picture

You shouldn't need the JDK; the virtual machine is exactly the same, and you are using the latest version... It's possible something dodgy is happening somewhere along the line. Reboot your computer and try again, if you haven't already, and i'll post a cut-down version for debugging the startup. This sounds like it might a problem with java rather than my app though...

Download this jar file, stick it in an empty folder somewhere, and doubleclick to run it. Tell me what happens.
http://www.orbitfiles.com/download/id3106039566.html

Ideally, it should ask you to locate your mse app, then load up a blank window.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Wed, 2008-07-16 22:59
coppro
coppro's picture

I've been having a problem with the Sun downloads page - I can't find just the JRE anymore, in case that is why he has the JDK (it's why I do).

Wed, 2008-07-16 23:17
Idle Muse
Idle Muse's picture

Yeah, I find the actual sun page difficult to navigate too. The 'public portal' java.com is easier for getting the JRE on its own. Anyway, the JRE he said he was running is the same one I am, so it shouldn't be a versioning thing. I'd be inclined to say somethign permissions-based (though that's less likely with than Vista), or some sort of corrupted java install. If I can't pin down a bit of code that is causing the bug, then the next step would be to reinstall java.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Thu, 2008-07-17 17:13
mikefon
mikefon's picture

I tried to reboot, re-install java (I downloaded the offline installation file), but it keeps me telling that error.

Once, before the third time I was trying to reinstall it, I scanned my registry with ccleaner and it found an error that sounded like that: problem in opening java through an exe. I tried then to install java again and that problem vanished, but not the draftwithmse one...

I also tried the jar file above and it works perfectly: it asks me to to locate my mse app, then it loads up a blank window.

Thu, 2008-07-17 17:50
Idle Muse
Idle Muse's picture

OK, I don't know what the problem is, but it sounds like its a problem with your system and the exe wrapper. I can just post the jar version and that should work, based on what you've said.

EDIT: http://www.orbitfiles.com/download/id3112531963.html
You still need the other files from the main program. Just replace DraftWithMSE.exe with the DraftWithMSE.jar you downloaded from that link above. Let me know if it works Stick out your tongue

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Thu, 2008-07-17 18:32
innuendo
innuendo's picture

not to be annoying, but any update for no-dupes and the source email lp?

Current Projects: Siege SCG

Thu, 2008-07-17 19:51
Idle Muse
Idle Muse's picture

Yeah, sorry, been busy today, driving lesson and practising cube drafts Stick out your tongue
I'm gonna go and work on it now.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!

Fri, 2008-07-18 08:37
mikefon
mikefon's picture

The jar file works! Thanks a lot!!

Sat, 2008-07-19 00:32
Idle Muse
Idle Muse's picture

Good to know. It's a strange bug, but not one that is entirely new to me. If more people report the same problem, I'll fiddle the way the wrapper works so that the jar file is present separately as well.

I've just posted a new version above, with the functional change of no duplicate cards in packs.

Formerly known as Lordpenguin.
Download DraftWithMSE to draft custom MSE sets!