New builder posted. This version is HEAVILY optimized. Pretty much the only place left I can gain speed in calculating suits is multithreading the main search loop itself.
If any threading experts want to help, I've already commented the block:
http://magtools.codeplex.com/SourceControl/changeset/view/15619#187714
Quote:
//if (Environment.ProcessorCount <= 1)
ProcessEquipmentPieces(0, equipmentGroup);
//else
{
// Multithread it
}
To give you an example of how to use it now.. You still don't want to add 50+ items to the equipment list. The single threaded generator is just too slow and it may take days to generate, depending on your CPU speed.
So, start with smaller lists first. Every item you add ends up increasing calculation time by ~25, and that's compounded by every item, so... be careful.
To make it quicker, load up items you want to lock to certain slots. For example, on my tinker I know I want my suit to consist of these items, so I'll copy/paste this text into the text entries tab:
Mag-Tinker keepers:
- Ivory Mechanical Scarab, Hematited, Tinks 3, Augmented Health III, Augmented Damage Reduction II, Augmented Damage I, Epic Armor Tinkering Expertise, Wield Lvl 150, Diff 296, Craft 8
+(A: Jewelry) Ivory Bracelet, Epic Weapon Tinkering Expertise, Epic Acid Ward, Wield Lvl 150, Diff 309, Craft 8
+(A: Jewelry) Ruby Heavy Bracelet, Epic Item Tinkering Expertise, Epic Frost Ward, Major Lockpick Prowess, Wield Lvl 150, Diff 362, Craft 5
- Enhanced Red Empyrean Ring, Empyrean Rings Set, Epic Endurance, Regeneration Other Incantation, Essence Glutton, Wield Lvl 150
- Enhanced Yellow Empyrean Ring, Empyrean Rings Set, Epic Slashing Ward, Empyrean Enlightenment, Aurlanaa's Resolve, Empyrean Stamina Absorbtion, Rejuvenation Other Incantation, Wield Lvl 150
+(A: Full Clothing) Satin Pants, Epic Magic Item Tinkering Expertise, Epic Quickness, Wield Lvl 150, Diff 413, Craft 7
I click calculate, then select the 1 suit it generates me. I then click the checkbox on each of those items so the app knows to keep those items in my next process.
After I've checked those boxes to lock the items in place, I can now add items I want the software to calculate for me into the text entries box.
So, just paste this into the text entires box over the existing data. You don't need to keep the existing pieces in there since you already locked them on the main form.
Silk Cloth Cap, Tinker's Set, AL 298, Epic Flame Ward, Wield Lvl 180, Diff 403, Craft 7
Gold Diforsa Greaves, Tinker's Set, AL 263, Epic Focus, Wield Lvl 180, Diff 302, Craft 7
Leather Loafers, Tinker's Set, AL 208, Epic Storm Ward, Wield Lvl 180, Diff 308, Craft 9
Silver Nariyid Girth, Tinker's Set, AL 251, Epic Invulnerability, Wield Lvl 180, Missile Defense 236 to Activate, Diff 238, Craft 7
Gromnie Hide Leather Bracers, Tinker's Set, AL 214, Epic Strength, Major Willpower, Wield Lvl 180, Missile Defense 273 to Activate, Diff 278, Craft 9
Bronze Nariyid Helm, Tinker's Set, AL 314, Epic Focus, Wield Lvl 180, Diff 303, Craft 7
Leather Leather Gauntlets, Tinker's Set, AL 266, Epic Strength, Wield Lvl 180, Melee Defense 264 to Activate, Diff 71, Craft 6
Copper Olthoi Celdon Leggings, Tinker's Set, AL 242, Epic Flame Ward, Wield Lvl 180, Melee Defense 390 to Activate, Diff 208, Craft 8
Brass Celdon Leggings, Tinker's Set, AL 236, Epic Bludgeoning Ward, Wield Lvl 180, Diff 305, Craft 8
Gold Olthoi Celdon Helm, Tinker's Set, AL 298, Epic Willpower, Wield Lvl 180, Diff 401, Craft 8
Steel Heaume, Tinker's Set, AL 289, Epic Invulnerability, Wield Lvl 180, Missile Defense 273 to Activate, Diff 272, Craft 6
Steel Teardrop Crown, Tinker's Set, AL 286, Epic Focus, Wield Lvl 180, Diff 393, Craft 6
Leather Long Leather Gauntlets, Tinker's Set, AL 282, Epic Focus, Wield Lvl 180, Melee Defense 390 to Activate, Diff 210, Craft 6
Steel Heaume, Tinker's Set, AL 281, Epic Focus, Wield Lvl 180, Diff 200, Craft 6
Silk Kasa, Tinker's Set, AL 267, Epic Focus, Wield Lvl 180, Diff 391, Craft 9
Reed Shark Hide Studded Leather Cowl, Tinker's Set, AL 260, Epic Coordination, Wield Lvl 180, Diff 344, Craft 7
Bronze Chainmail Girth, Tinker's Set, AL 259, Epic Focus, Wield Lvl 180, Missile Defense 228 to Activate, Diff 230, Craft 6
Silver Koujia Breastplate, Tinker's Set, AL 248, Epic Strength, Wield Lvl 180, Missile Defense 273 to Activate, Diff 256, Craft 7
Silver Alduressa Leggings, Tinker's Set, AL 235, Epic Piercing Ward, Major Willpower, Wield Lvl 180, Melee Defense 293 to Activate, Diff 171, Craft 10
Gromnie Hide Cloth Gloves, Tinker's Set, AL 234, Epic Focus, Major Weapon Tinkering Expertise, Wield Lvl 180, Diff 324, Craft 4
Reed Shark Hide Cloth Gloves, Tinker's Set, AL 232, Epic Focus, Wield Lvl 180, Diff 388, Craft 7
Click generate.
And, with this combo the highest AL option Ihave is 1321 with 14 epics.
Some rules:
It will not allow more than 5 of any armor set in a build.
It will not add a piece that cannot provide a beneficial spell to an group of pieces.
If a piece (major) is surpassed by an epic in another slot, the major piece will remain in that build.
Anyway, I hope there's enough interest in this that someone can help me multithread it.