Top 100 greater rift weapon combos - with code

Inspired by u/storkme 's work on top 100 active/passive skills, I gathered my scripts up and did the same for weapon combos, and posted my code on github. Hopefully some of you find it useful and can contribute some improvements. I'm not a programmer by nature so I'll definitely take any input you have, but requests for features may come slowly so be warned.

Capture is becoming more difficult with seasonal characters. The API doesnt seem to include updated season information, so there is more missing information with each run. However, here is what I do have:

                      |         mainhand          |       offhand        | count
 ---------------------+---------------------------+----------------------+-------
                   wd | The Furnace               |                      |   26
                   wd | Starmetal Kukri           | Uhkapian Serpent     |   24
                   wd | Sun Keeper                | Thing of the Deep    |   15
                   wd | Sun Keeper                | Shukrani's Triumph   |    4
                   wd | Sun Keeper                | Uhkapian Serpent     |    4
                   wd | Rhen'ho Flayer            | Uhkapian Serpent     |    4
                   wd | Starmetal Kukri           | Thing of the Deep    |    3
             crusader | Fate of the Fell          | Hellskull            |   62
             crusader | The Furnace               | Unrelenting Phalanx  |    6
             crusader | Baleful Remnant           | Unrelenting Phalanx  |    4
             crusader | Darklight                 | Lidless Wall         |    2
             crusader | Maximus                   | Hellskull            |    2
            barbarian | Maximus                   |                      |   53
            barbarian | The Furnace               |                      |   34
            barbarian | Odyn Son                  | Shard of Hate        |    2
               wizard | The Furnace               |                      |   41
               wizard | Serpent's Sparker         | Firebird's Eye       |   28
               wizard | Sun Keeper                | Firebird's Eye       |   10
               wizard | Wand of Woh               | Firebird's Eye       |    5
               wizard | Devastator                | Firebird's Eye       |    2
                   dh | Arcane Barb               | Bombadier's Rucksack |   15
                   dh | Manticore                 | Bombadier's Rucksack |   11
                   dh | Buriza-Do Kyanon          | Bombadier's Rucksack |   10
                   dh | Etrayu                    | Bombadier's Rucksack |    8
                   dh | Kridershot                | Bombadier's Rucksack |    6
                   dh | Demon Machine             | Bombadier's Rucksack |    6
                   dh | Windforce                 | Bombadier's Rucksack |    5
                   dh | Calamity                  | Bombadier's Rucksack |    4
                   dh | Hellrack                  | Bombadier's Rucksack |    4
                   dh | Chanon Bolter             | Bombadier's Rucksack |    4
                   dh | Unbound Bolt              | Bombadier's Rucksack |    3
                   dh | Pus Spitter               | Bombadier's Rucksack |    3
                   dh | Danetta's Revenge         | Danetta's Spite      |    2
                 monk | Flying Dragon             |                      |   15
                 monk | Inna's Reach              |                      |    4


                      |         mainhand          |       offhand        | count
 ---------------------+---------------------------+----------------------+-------
    hardcore-crusader | Fate of the Fell          | Hellskull            |   38
    hardcore-crusader | Baleful Remnant           | Unrelenting Phalanx  |    6
    hardcore-crusader | Maximus                   | Hellskull            |    3
    hardcore-crusader | Fate of the Fell          | Hallowed Barricade   |    3
    hardcore-crusader | Fate of the Fell          | Eberli Charo         |    2
    hardcore-crusader | Baleful Remnant           | Hellskull            |    2
    hardcore-crusader | Darklight                 | Defender of Westmarc |    2
    hardcore-crusader | Fate of the Fell          | The Final Witness    |    2
    hardcore-crusader | Darklight                 | Lidless Wall         |    2
      hardcore-wizard | Serpent's Sparker         | Firebird's Eye       |   21
      hardcore-wizard | Thunderfury, Blessed Blad | Mirrorball           |    7
      hardcore-wizard | Thunderfury, Blessed Blad | Firebird's Eye       |    7
      hardcore-wizard | The Burning Axe of Sankis | Firebird's Eye       |    5
      hardcore-wizard | Devastator                | Firebird's Eye       |    4
      hardcore-wizard | Wand of Woh               | Firebird's Eye       |    4
      hardcore-wizard | Maximus                   |                      |    2
      hardcore-wizard | Shard of Hate             | Light of Grace       |    2
      hardcore-wizard | The Furnace               |                      |    2
   hardcore-barbarian | Maximus                   |                      |   21
   hardcore-barbarian | Immortal King's Boulder B |                      |   10
   hardcore-barbarian | The Furnace               |                      |    7
   hardcore-barbarian | Thunderfury, Blessed Blad | Shard of Hate        |    3
   hardcore-barbarian | Sun Keeper                | The Burning Axe of S |    3
   hardcore-barbarian | Odyn Son                  | Shard of Hate        |    3
   hardcore-barbarian | Stalgard's Decimator      |                      |    3
   hardcore-barbarian | Shard of Hate             | Odyn Son             |    2
   hardcore-barbarian | Sun Keeper                | Odyn Son             |    2
   hardcore-barbarian | Madawc's Sorrow           |                      |    2
   hardcore-barbarian | The Grandfather           |                      |    2
        hardcore-monk | Flying Dragon             |                      |    3
        hardcore-monk | Inna's Reach              |                      |    3
        hardcore-monk | Odyn Son                  | Jawbreaker           |    2
          hardcore-dh | Arcane Barb               | Bombadier's Rucksack |    9
          hardcore-dh | Windforce                 | Bombadier's Rucksack |    7
          hardcore-dh | Manticore                 | Bombadier's Rucksack |    6
          hardcore-dh | Hellrack                  | Bombadier's Rucksack |    6
          hardcore-dh | Kridershot                | Bombadier's Rucksack |    5
          hardcore-dh | Buriza-Do Kyanon          | Bombadier's Rucksack |    4
          hardcore-dh | Demon Machine             | Bombadier's Rucksack |    4
          hardcore-dh | Natalya's Slayer          | Sin Seekers          |    2
          hardcore-dh | Leonine Bow of Hashir     | Dead Man's Legacy    |    2
          hardcore-dh | The Raven's Wing          | Bombadier's Rucksack |    2
          hardcore-dh | Natalya's Slayer          | Bombadier's Rucksack |    2
          hardcore-dh | Chanon Bolter             | Bombadier's Rucksack |    2
          hardcore-wd | Starmetal Kukri           | Uhkapian Serpent     |   24
          hardcore-wd | Rhen'ho Flayer            | Uhkapian Serpent     |   13
          hardcore-wd | Rhen'ho Flayer            | Zunimassa's String o |    7
          hardcore-wd | Sun Keeper                | Uhkapian Serpent     |    6
          hardcore-wd | The Furnace               |                      |    4
          hardcore-wd | Arthef's Spark of Life    |                      |    2
          hardcore-wd | Utar's Roar               | Uhkapian Serpent     |    2
          hardcore-wd | Doombringer               | Uhkapian Serpent     |    2

In the example code I have a script called rank-report.pl that runs all this, please check it out if you are interested in the code. It caches all the data so If you do run it the first time will likely take hours as the cache data is like 750MB. I have the top 10 data zipped and compressed and it is 15MB. I can probably make that available but I didnt think github was the right place for that.

Anyway, hope you find this useful. Thanks.

Edit: Updated with DH info, also more data, and words.

Edit2: maor formatting.

Posted Aug 31, 2014, 3:59 PM UTC · edited

6843
Loading comments…