[Utility] Collection Analysis

Discussion in 'Card Hunter General Chat' started by neoncat, Feb 1, 2014.

  1. Derek

    Derek Orc Soldier

    All of the utilities hosted here: http://www.Stexe.com/CardHunter work perfectly. I'm not sure how or why I ended up on outdated tools. Perhaps that shows how difficult it is to navigate 10 pages of forum posts and find the right iteration.

    The fact that this website works means there is absolutely no reason to go through everything I laid out above (since deleted/amended). I will amend it to point people to the proper web address.


    For funsies:

    Mac comes with the capability to handle local .php files out of the box, but the feature is disabled by default, and the way I laid out above I believe is the easiest/only way to turn it on.

    Despite being preprocessed OSX refuses to cooperate because they are local .php files. Renaming them to .html does indeed work so even if the website is down, renaming is the next best alternative for Mac users (and my method [since deleted/amended] should not be used).

    Thank you for the clarification
    Last edited: Jan 10, 2018
    Stexe, ParodyKnaveBob and Sir Veza like this.
  2. ParodyKnaveBob

    ParodyKnaveBob Thaumaturge

    The website now works for me. Yay. $:^ J

  3. PhoenixTheHunter

    PhoenixTheHunter Lizardman Priest

    Hey guys,

    I'm back into Util-Maintenance, finally. Or to be more precise, I'm slowly getting to know my own code, again :cool: . I haven't decided what my next big thing will be. There are some ideas on my list, @Force.ofWill 's idea is still floating around. But I'm pretty sure that I will present another totally new tool soon (as soon as I decided what this will be exactly).

    In the meantime, I thought it would be a good idea to make some bug-fix version. There was the info-page-problem that I fixed but haven't added into a full version. In addition, I found some minor things that were broken, too. So, instead of keeping all those bugs until I finally decided on my new big-deal-update, I wanted to get them done quickly, so that the tools are usable while I'm brainstorming for new ideas. Tell me, if there are still bugs that I haven't spotted yet.

    A small thing that bothered me for some time was the way the listed adventures in the campaign badge were (not) sorted. I haven't found the perfect sorting, yet, but I created one that is very intuitive. It's a 3-stage-sort: Adventures with a lower level always come first and adventures without your own team (MM + AI (not hard)) come last. Within one adventure level, base adventures come first, the other adventures are sorted by the set that introduced them (e.g. AotA first, ..., CM last). Within each level and set group the adventures are sorted by name.

    Now we come to the most-used and most-updated tool: the collection analysis.
    • The info page should now open up in every browser and regardless of the used ad blocker
    • The wiki links in the info page open in a new tab (if your browser doesn't prevent this)
    • The missing two sorting policies (sorting for tokens ascending and descending) are finally added and should be identical to the keep's sort, too - now I can say, that my tool has more sortings than the Keep without missing any of the Keep's ones
    • Using a filter like ' []!~"some text that shouldn't be in the item's text" ' didn't affect the results at all (no items were excluded) because I haven't designed this right. Now this type of filtering should work again. ' <?>[]=~"Crushing" ' will show all items where at least one card has the text 'Crushing' somewhere (The card 'Attack, Soldier!' will also be found this way) and ' <!>[]!~"Crushing" ' will only show items where no card mentions the text 'Crushing' on it. Therefore ' <?>[]=~"Crushing" ' is now the exact opposite of ' <!>[]!~"Crushing" ' and ' <?>[]=~"Crushing" ' is in a way what the keep does.
    • The headers in the tool's result weren't styled correctly
    Have fun with the tools and good luck for all your hunts.

    Attached Files:

  4. PhoenixTheHunter

    PhoenixTheHunter Lizardman Priest

    I'd suggest that someone checks if the hosted tools are linked in any FAQ, Tutorial or similar and updates the links accordingly (or add a link at appropriate places if it isn't linked yet). Or - if Stexe doesn't want to keep the old versions for legacy reasons - move the new version to the old name. But I like the /CardHunter/-address more. I could also create a new index-file for the old versions with the note that there are newer versions (with a link)?? But as the old tools don't link their index-file correctly I'm not sure if someone will find this note (if someone had bookmarked a specific tool and not the index-file).

    As I'm already writing about the hosted files: The two mentioned pages are still unavailable. The Cross-Ref isn't a big deal (I don't think that many will use it) but that the filter cheat sheet isn't there is a bigger problem for anyone not following this thread.

  5. Kalin

    Kalin Begat G'zok

    That's how I do it, except my final step instead of alphabetical, I list them in the order they unlock. So level 18 is: Troll, Mind, then Plume. I also try to keep connected modules close together, so Temple of Terror before Black Forest. And the lowest level modules are listed clockwise. Oh, and treasure hunts after free modules.
    ParodyKnaveBob likes this.
  6. PhoenixTheHunter

    PhoenixTheHunter Lizardman Priest

    Yeah, that's what I meant with perfect sorting. I would like to have something similar. And sorting by treasure hunt or not would be possible (should I add this somewhere in my stages, I wasn't sure about this one??). But the rest is a bit problematic.

    Of course, starting with level 16 (and around Melvelous and Cockroaches) they unlock mostly one at a time. but earlier on the unlocking pretty much is determined by the order in which you complete them. You can have White Star unavailable although you have finished the whole campaign just by skipping Diamonds of the Kobolds. So, I had to define THE ONE CORRECT WAY of playing card hunter. I support you with the tools but I won't tell you what you should do exactly.

    And there are many software engineers (me included) who hate so-called "magic numbers" (facts that are just true, because someone inserted them into the program, but there is no algorithm that can check them, just like axioms in math). And explicitly telling the sorting algorithm that War Monkeys and Temple of Terror both feature Monkeys is in a way just coding magic numbers, hence, automatized thematic sorting is (almost) impossible.

    And sorting clockwise (or counter-clockwise) would be possible but a lot of crunching numbers. The collection analysis more and more starts to slow down because of too many features. So, if the number crunching doesn't bring me a huge benefit, I'll not do it.

    But after all, thanks for you utopian suggestion. I really appreciate any comments.


    PS: Do you manage an own list of adventures for something, or what was the meaning of "how I do it"

    PPS: and which condition is more important: the clockwise or the unlock order? Lair of the Trog Wizard (preferred by clockwise) before Highway Robbery (preferred by unlock order) or after that?
  7. Kalin

    Kalin Begat G'zok

    I sort by level first, so it's the unlock order if you complete every module on this level before doing any on the next.

    It's not magic, just look at the top-right corner of the module cover.

    Oh wait, are you trying to calculate the order of modules every time someone creates a badge? Yeah, don't do that. Just hard code an order that looks good to you.

    Back in beta I kept a log of every chest I opened, to try to work out the rarity formulas. I still update it, but I only log Loot Fairy chests now.

    Here's the order I personally prefer:
    Raid on Ommlet
    Kobold Encampment
    Tunnels into Darkness
    White Skull Canyon
    Wizard's Workshop
    Caverns of the Troglodytes
    Lair of the Trog Wizard
    Highway Robbery
    Ruby Demon Portal
    Dungeon of the Lizard Priest
    Slub Gut's Sanctum
    Rescue From Shieldhaven Prison
    Diamonds of the Kobolds
    The White Star
    Defense of Woodhome
    Beneath the Frozen Earth
    The Throne of Strench
    Forest of Souls
    Valley of Tezkal
    The Compass of Xorr
    Lord Stafford's Treasure
    Melvelous the Magnificent
    Order of the Core
    Beneath Tcotzac
    Gladiatorial Arena, Qualifiers
    Gladiatorial Arena, Finals
    Return to Woodhome
    Crystals of Chronak
    The Viscous Tombs
    Garnet Demon Portal
    Against the Cockroaches
    The Sinister Wood
    Goblins in the Woods
    The Pools of Slime
    Descent to the Core
    The Tomb of Tvericus
    Tree Forts of the Goblin King
    Temple of Scales
    Acquire Within
    Acquire Within (Hard)
    Tomb of Savings
    Tomb of Savings (Hard)
    But a Trifle
    But a Trifle (Hard)
    The Jewel of Alet Zhav
    Shrine of the Astral Guardians
    High Mountain Pass
    Return to the Astral Shrine
    Citrine Demon Portal
    Lord Batford's Manor
    Riddle of the Gnome Lords
    Secret of the Gnome Lords
    Attack of the War Monkeys
    Temple of Terror
    Into the Black Forest
    Cliffs of the Wyverns
    Black Oaken Heart
    Lair of the Yellow Dragon
    Card Stock II Secret Preview
    Dungeon of the Swamp King
    The Troll Tyrant
    Secret of the Elder Mind
    Black Plume Mountain
    The Metallic Monstrosity
    Passageways to Death
    The Perilous Garden
    In the Belly of the Beast
    Throne of the Mechanical Men
    Sanctum of the Cyber Tyrant
    The Spreading Blight
    Svitlana's Inquisition
    Assault on Castle Mitternacht
    Caverns of Chaos
    Return to the Caverns of Chaos
    then all the MMs
    Sir Veza likes this.
  8. ParodyKnaveBob

    ParodyKnaveBob Thaumaturge

    The little abbreviation in the upper-right corner. That's the same code in the adventures' CSV listing, right? Thus, it should be able to sort and grab by text that way.

    I of course avoid magic numbers, too, but in the sense of unnamed literals. It's still sometimes handy to hard-code a data lookup table. Nevertheless, I agree on preferring an automated way so that when new stuff comes, it's more modular, and (the hope is) the system will handle it for you, instead of you needing to manually adjust every time.* On one hand, we don't get new modules rapidly (monthly at best) -- but on the other hand, if Phoenix goes poof all of a sudden, it's nice if the tools are somewhat future-proof.

    * Hence why True Silver accidentally got Legendary bug status looong after the bug was supposed to've been handled thanks to Hu La Houp's Vicious Circle exposing it. BM could've fixed the algorithm (after the Circle) but instead opted to manually adjust every future item (such as Silver). Whoops, missed an item. Automatic has its perks, yes.

    Keep on keepin' on, Mr. TheHunter. $E^ J
    Sir Veza likes this.
  9. PhoenixTheHunter

    PhoenixTheHunter Lizardman Priest

    Hey fellow Hunters,

    I was very lazy in the last weeks (sounds better than to say last months). But the reason wasn't that I haven't got nice ideas for new projects. It's - guess what - the time that is missing. I have two projects running, but none of them shows any presentable progress. And this thread already reached page two of the General Chat Forum (but the Battle Replayer isn't significantly less inactive nowadays :p so everything's fine).

    At that point a request from @Happenstance came in handy because he wanted to have a very simple list. And making lists is such an easy idea that I finished the corresponding tool within a week (in fact it was more like two days but that shows how much time is left for CH atm that I count in weeks). The other two running projects are way more complex.

    Therefore, I proudly present the Quick Draw Card Pool - Tool. In case all you do in Cardhuntria is to play Quick Draw leagues and you want to know, what cards could possibly be offered by the system then this new tool is probably the easiest way to answer that question. As I said, it's a very simple tool, but I'm glad that there is something new to show at all. But there weren't any bugs reported so far, so no need to rush anything.

    Based on information I found in different places (and partially with kind help from @Happenstance himself) I split the cards by quality and also added probabilities of cards appear in QD matches. I'm no real QD-player, so please tell me if I got something wrong and I'll correct it.


    Attached Files:

  10. Stexe

    Stexe #2 in Spring PvP Season

    I'm at GDC right now so I won't be free for the next week or two. I'll go over the stuff when I can get a chance.

Share This Page