SimCMinMax / AutoSimC

Python script to create multiple profiles for Simcraft to find Best-in-Slot and best enchants/gems/talents combination.
GNU General Public License v3.0
54 stars 17 forks source link

Compare Current Eq to Results #43

Open Nexxxy opened 5 years ago

Nexxxy commented 5 years ago

I hate checking and finding what kind of item was switched by your permutations in the result.html

And in addition i wanted to learn some python, so i wrote some short python script (my first one) parsing a HTML result file of simc and compare it with the input.txt file from simc.

It would be awesome if you could add the currentEq to the last stage (mb via option in settings.py ) to compare dps from currentEq to 2-3 permutations.

The output is like :

-----------------current Equip -vs- Nexxyana_0013 (dps: 16857)----------------------------
diffslot : trinket1     change id : 159631 -> 160651 (vigilants_bloodshaper)
diffslot : trinket2     change id : 160651 -> 161472 (lions_grace)

-----------------current Equip -vs- Nexxyana_0025 (dps: 16852)----------------------------
diffslot : trinket1     change id : 159631 -> 160651 (vigilants_bloodshaper)
diffslot : trinket2     change id : 160651 -> 161472 (lions_grace)

-----------------current Equip -vs- Nexxyana_0039 (dps: 16839)----------------------------
diffslot : trinket1     change id : 159631 -> 160656 (twitching_tentacle_of_xalzaix)
diffslot : trinket2     change id : 160651 -> 161472 (lions_grace)

My simc-parser is attached to this issue. Feel free to copy some code for your project. simc-cmp.py.txt

Greetings Nexxy

Nexxxy commented 5 years ago

One Problem is shown above .. you cant calculate Equip ilvl .. Permutation 13 and 25 are the same items except for the ilvl of vigilants_bloodshaper. 13 is ilvl 375 25 is ilvl 370 The diff is in bonus_id 13 is bonus_id=4799/1808/1497/4783 25 is bonus_id=5007/4802/1527/4786 but i dont get how to calculate the ilvl ^^.

Thats why i cant show whitch of the 2 items is which permutation :(