Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Affix bugs #44

Closed
DiomedesofHelos opened this issue Sep 2, 2018 · 12 comments
Closed

Affix bugs #44

DiomedesofHelos opened this issue Sep 2, 2018 · 12 comments
Milestone

Comments

@DiomedesofHelos
Copy link

As of now I have found three "impossible" regular green items:

  • An "of Heroes" leg armor, even though "of Heroes" is only supposed to be found on chest armor.
  • An "of the Mammoth" helm, even though "of the Mammoth" isn't even supposed to be found at all.
  • An "of the Gryphon" arm armor, even though "of the Gryphon" is also not supposed to appear at all.

I've tried to send screenshots on e-mail, look for them there.

@fonsleenaars
Copy link
Owner

Thanks for reporting this in a separate issue. I don't think I've seen any e-mail with screenshots, I believe you should be able to drag and drop the screenshots in a comment, to attach them to this issue.

About the issues:
This is good news, I can use these to figure out what's going wrong with the Affix list, thanks!

@DiomedesofHelos
Copy link
Author

DiomedesofHelos commented Sep 2, 2018 via email

@DiomedesofHelos
Copy link
Author

tqg
tqh
tqm

@DiomedesofHelos
Copy link
Author

I just noticed something else odd. An arms armor like "Druid WRISTLET of the Gryphon" isn't supposed to even be able to have a suffix is it? Can't it only have prefixes?

@DiomedesofHelos
Copy link
Author

Remember that the game developers are still updating the game every now and then

@fonsleenaars
Copy link
Owner

I'll need to look into that too. I'll see if I can use the Druid Wristlet as an example. It's strange because I can't even find the file for that item, but I'm sure I just need to dig a bit more.

The approach for affixes is rather tricky, most files that can have affixes have properties likes: suffixOnly, prefixOnly or prefixAndSuffix and there's chances for all of those. But instead of having to parse every single possibility and then creating an index based on what affixes apply to those items, I simply parsed the affix loot tables per item type and assigned those as possible.

Either way, it's clear I'll need to look into affixes a lot more!

@DiomedesofHelos
Copy link
Author

DiomedesofHelos commented Sep 3, 2018 via email

@fonsleenaars fonsleenaars added this to the 1.2.1 milestone Sep 5, 2018
@fonsleenaars
Copy link
Owner

Alrighty, I have found your Stygian Helm of the Mammoth example, and I think this will allow me to fix the parser.

It's going to take some changes, but this should definitely help make it more accurate. I'll update this issue once I've created a fix!

@DiomedesofHelos
Copy link
Author

DiomedesofHelos commented Oct 12, 2018 via email

@fonsleenaars
Copy link
Owner

I've pushed the fix, I'm just checking a few final things before it's pushed to production on the website.

@fonsleenaars fonsleenaars reopened this Oct 12, 2018
@fonsleenaars
Copy link
Owner

Argh, have to re-open it. Almost everything is covered now, except your Dvergr Greaves revealed something.

These following two entries are from the Dvergr Greaves:

suffixRandomizerName1,records\xpack\item\lootmagicalaffixes\suffix\tablesarmor\torsomelee_e04.dbr
prefixRandomizerName1,records\xpack\item\lootmagicalaffixes\prefix\tablesarmor\torsomelee_e04.dbr,

These two lines indicate what kind of pre- and suffix can appear on the item. As you can see, they are referencing a Torso affix.

Sigh! I'll have to figure out what I'm going to do about that. If it's consistent (for example ALL greaves can have this) I'll add it, but if it's inconsistent, I'll probably end up making a separate list of special mentions.

@fonsleenaars
Copy link
Owner

I've pushed the current fix to staging and will release to production tomorrow/this weekend (https://staging.tq-db.net/).

This will at least make the affixes a lot better than before, and fix most of the issues you found. The 'of Heroes' suffix is probably not the only one that has "slight" exceptions so I'll open a separate issue for that so I can make a separate fix.

Thanks for reporting, as always!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants