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

Fix Item Validation #6723

Merged
merged 11 commits into from
Oct 19, 2023
Merged

Fix Item Validation #6723

merged 11 commits into from
Oct 19, 2023

Conversation

kphoenix137
Copy link
Collaborator

@kphoenix137 kphoenix137 commented Oct 18, 2023

Item validation was missing logic to consider container drops (which is problematic in Hellfire since the Crypt can drop ilvl 32 and 34 items). Also added documentation. Also we have been letting items that have the ilvl that matches the mlvl of Defiler and Na-Krul pass validation; This shouldn't happen because these monsters never drop items equal to their mlvl (Book of Apocalypse doesn't count, because the level of the book is derived from another formula, which coincedentally is 40).

Source/pack.cpp Outdated Show resolved Hide resolved
Source/pack.cpp Outdated Show resolved Hide resolved
Source/pack.cpp Outdated Show resolved Hide resolved
@kphoenix137
Copy link
Collaborator Author

Note: I have not done any thorough testing in game to make sure this operates as intended. I can this upcoming weekend, however I would like to just put that out there that this needs to be reviewed with caution to ensure it's working as intended.

Source/pack.cpp Outdated Show resolved Hide resolved
@AJenbo AJenbo merged commit dac2e03 into diasurgical:master Oct 19, 2023
23 checks passed
@kphoenix137 kphoenix137 deleted the fix-validation branch October 19, 2023 16:10
AJenbo pushed a commit that referenced this pull request Nov 19, 2023
@Songoo7
Copy link

Songoo7 commented Feb 12, 2024

Maybe connected :?P , couldnt pick up book of apocalypse, and it sent some error packet message .
https://clips.twitch.tv/PlayfulLovelyKumquatPraiseIt-YLQZjQ_V-uz7Cuto
https://clips.twitch.tv/ThirstyWildRaccoonPJSalt-X6rrOYo0nR4q-3Cr

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

Successfully merging this pull request may close these issues.

4 participants