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

Check inventory space before selling #1281

Closed
cyberkiller6 opened this issue Jan 15, 2019 · 5 comments
Closed

Check inventory space before selling #1281

cyberkiller6 opened this issue Jan 15, 2019 · 5 comments
Assignees

Comments

@cyberkiller6
Copy link

Bug Report or Feature Request (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request

Repro steps.

Create a character
Use command /currency to get 100mmds
Go to a NPC, sell those 100mmds.
Instead of receiving the only pyreal you have pack space for, the NPC should not allow you to sell and display an error of some sort that say's you don't have enough pack space to sell all 100 mmds.

The log given by the failure.

Desired functionality.

Instead of receiving the only pyreal you have pack space for, the NPC should not allow you to sell and display an error of some sort that say's you don't have enough pack space to sell all 100 mmds.

Mention any other details that might be useful.

@ghost
Copy link

ghost commented Jan 15, 2019

I would say the probably a player's encumbrance should be checked, also, to ensure that it doesn't go out of bounds. Additional tasks that these checks should probably be performed with are crafting and emotes that have NPCs giving items to players.

@Mag-nus
Copy link
Member

Mag-nus commented Jan 16, 2019

When you sell items, do they only go into your main pack or can they spill over into side packs as well?

@ghost
Copy link

ghost commented Jan 16, 2019

In buying items or gaining pyreals from selling, the latter option is the case, if there isn't any space available in the main pack.

@Mag-nus Mag-nus self-assigned this Jan 23, 2019
@fartwhif
Copy link
Collaborator

fartwhif commented Jan 31, 2019

are you sure? i remember retail merchants not using the landscape packs and instead giving an error whenever the main pack is full and landscape packs have room when buying or selling, there is a character configuration option to always use your "currently open pack" so maybe you have that enabled? IMHO it doesn't have to match retail and could probably be less rigid than retail, which might even be easier to implement than perfectly cloning the retail server behavior.

@Mag-nus
Copy link
Member

Mag-nus commented Feb 18, 2019

Should be resolved with #1452

@Mag-nus Mag-nus closed this as completed Feb 21, 2019
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

No branches or pull requests

3 participants