Closed adrianjtaylor closed 4 years ago
The types are gone for me in Standard. The only option is "Any". This is new as of patch 3.8.
My understanding is that the JSON fields this feature relied on were removed from the API - see https://www.pathofexile.com/forum/view-thread/2627531
Do you intend to reimplement this feature? It seems Procurement uses hardcoded substring matches to derive the category from the typeLine
https://github.com/Stickymaddness/Procurement/blob/master/POEApi.Model/GearType/GearTypeRunner.cs
I think another, more brittle option would be to use the icon 2D Art URL.
The fix is unlikely to come from me, no. If somebody contributes the feature I'll merge it of course.
I just checked, actually I was already using the 2D Art URL for this feature, maybe they started quoting the slashes in the icon paths or something else must have subtly changed. This probably isn't a difficult fix. If you want to take this Daneel let me know, else I'll try to look at it this weekend.
I started to look at it, currently the art URL seems only to really be used for maps, and that may not be accounting for the 3.5.0 changes https://www.pathofexile.com/forum/view-thread/2254801.
It's trivially otherwise used to subcategorise vaal gems, Breach/Essence currency.
I tested out using the typeLine, it seems possible, but probably more brittle than parsing the icon path at first glance, because you need a huge list of most type (sub)strings, and to manually subcategorise them for Armour. and handedness, etc. And this is once you've determined the item's gear vs other stuff. Procurement first applies some simple tests to do this before handling an item as being certainly gear/gem/jewel/currency.
So I'll test out using the test & icon path approach before the weekend.
Hmm, I'm confused I changed this a few years ago to use icon path but I only see the changes in my branch.
https://github.com/ericsium/acquisition/blob/master/src/item.cpp
So maybe somehow this didn't get merged. I don't use git that often so have to look further to see what's up.
What do you mean that URL seems to be only used for maps? It looks to me like all items still have 'icon' attribute with paths that seems to be the same as before.
It was changed in https://github.com/xyzz/acquisition/pull/507
Ok, I see you re-implemented Daneel so I'll let you fix this.
I had previously found the iconpath seems to have detailed classification information for all items with possibly multiple levels of information, for example:
2DItems\/Gems 2DItems\/Gems\/VaalGems 2DItems\/Gems\/Support 2DItems\/Rings 2DItems\/Amulets 2DItems\/Currency 2DItems\/Currency\/Oils 2DItems\/Weapons\/OneHandWeapons\/Claws 2DItems\/Armours\/Gloves
The advantage of using iconpaths is it's easy to dynamically generate the information, So when new stuff shows up like Oils it should 'just work' and the code is compact and doesn't need to be maintained as long the icon paths don't go away.
Ok, I think I've got the new system done, I'm asking here first for a look-over before I faff with squashing it into a single change & PR.
I also developed a new Rarity dropdown filter, and an Unidentified checkbox filter, as I find them useful in competing tools & there are outstanding raised Issues for such things here. Feedback on those would be appreciated, and whether they want to be held back for a different PR or absorbed into a single branch, or even a single change?
Nice! Looks ok to me. I'd do two separate pull requests, one for the categorization work, the other for the filtering.
Had an unexpectedly busy IRL weekend. PRs are raised, the second one being based on the first, hopefully easy to just accept both in order rather than wait for me to update my master inbetween.
Hi Guys, thanks for the great work, but I don't understand how to get the modified files back into the App. Could someone give me the idiot's guide to this. I downloaded Visual Stdio etc but don't know what to do with it
You need to wait for a new acquisition release which xyzz will get to when he gets to it.
OK thanks for getting back to me
PR #552 is also a part of this. Forgot to retest having restored the PoB export button functionality after tweaking category names.
Eta on this getting pushed to public release?
Works ok in Standard. Can see all items, but can't select by type