Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Great stuff man! You've been busy, I was just about to rename all the
getQuality etc methods!
Do you have a name or alias I can use, would like to credit you for these
contributions!
Original comment by stickymaddness
on 18 Nov 2013 at 10:20
I committed your changes, it's great to have all these new recipes!
However, I removed some of the changes to GearTypeRunner, as I want to keep
this class as clean and maintainable as possible. As an example, for the helm
runner it is not necessary to check for exact names, merely adding "Hat" will
be enough for the result to be found. These types were missing purely because
when the classes were created, these new base types did not exist.
Original comment by stickymaddness
on 18 Nov 2013 at 12:45
Sure, my name is Charles Macanka. You can use that. (A user name or alias I
tend to pick is Thailyn, as in https://github.com/thailyn , but that quickly
leads back to my name. And I was a week too slow with PoE, so this is me:
http://www.pathofexile.com/account/view-profile/Komishne .)
Unfortunately, if we do not figure out exactly what an item's base type is, we
can get incorrect recommendations from Procurement with this recipe. For
example, it can think three different "glove" items are all the base type,
since they all have that word in their TypeLine, but they do not give Orbs of
Augmentation when sold (see attached screenshots -- I don't mean to be
pedantic; I had to double-check the recipe myself).
I understand your concern with not wanting to overburden the GearTypeRunner
class. What about having a parallel set of classes -- something like
BaseTypeRunner -- to determine an item's base type?
Original comment by cmaca...@gmail.com
on 19 Nov 2013 at 1:02
Attachments:
One of the changes I made in this patch was to rename the "White" Rarity to
"Normal". I made that since it was the more technically correct name
(referenced as such in game), but it looks like the term "White" is more
commonly used in the community. One of the effects of that change was to
change the related {RarityGearType} filter, which I did not notice at the time.
The attached patch effectively makes "White" an alias for "Normal" in the
GearVisitor's filters, so people can continue using their current filters, such
as {WhiteBow}. I think this is a better solution than not recognizing the old
rarity name anymore and forcing users to change.
Original comment by cmaca...@gmail.com
on 19 Nov 2013 at 11:00
Attachments:
Hey man,
Sorry I haven't got back to you on this, I understand the issue now, I couldn't
understand why you'd gone to the trouble of typing out the exact names!
I'll review this again when I get a chance, I think it might be more
maintainable if we create an xml file with all of the names.
Original comment by stickymaddness
on 26 Nov 2013 at 3:00
I've committed your changes to GearTypeRunner, now that I properly understand
the necessity of it!
I would still like to refactor this to read the types from a GearType.xml file,
but have committed it as is so that the changes can be released sooner.
Thanks again for your work!
Original comment by stickymaddness
on 31 Dec 2013 at 12:10
Original issue reported on code.google.com by
cmaca...@gmail.com
on 18 Nov 2013 at 4:29Attachments: