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 invalid NPC items on trade #3782

Merged
merged 1 commit into from
Nov 13, 2021

Conversation

lucasgrizante
Copy link
Contributor

Pull Request Prelude

Changes Proposed

If an item is not valid (it doesn't exist in items.xml), do not allow
NPC to show it on trade window.

Issues addressed:

Steps to reproduce issue:
Create an npc that sells or buys an item that doesn't exist (for instance, copying from other distros with more items, such as tibia 12 items in 10.98 TFS distro) and ask him/her to trade. You'll see some empty items.

If an item is not valid (it doesn't exist in items.xml), do not allow
NPC to show it on trade window.

Signed-off-by: Lucas Henrique Grizante <lucasgrizante95@gmail.com>
@EPuncker EPuncker merged commit 431734b into otland:master Nov 13, 2021
Znote pushed a commit to Znote/forgottenserver that referenced this pull request Jan 30, 2022
DSpeichert pushed a commit that referenced this pull request May 9, 2022
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.

3 participants