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

feat(InventoryMove): no inventory interactions while moving #4728

Open
wants to merge 6 commits into
base: nextgen
Choose a base branch
from

Conversation

Zirada
Copy link
Contributor

@Zirada Zirada commented Nov 27, 2024

New InventoryMove mode where you can't interact with the inventory while moving. This should be undetectable.

@1zun4 1zun4 added this to the 0.20.1 milestone Nov 28, 2024
Comment on lines -245 to -248

if (screen is InventoryScreen) {
isInventoryOpenServerSide = true
}
Copy link
Member

@1zun4 1zun4 Nov 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little bit worried about this. I have to validate first if this is not causing any issues with the Inventory Manager

Copy link
Member

@1zun4 1zun4 Nov 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I thought:
image

Inventory Cleaner and other modules will not try to change the items anymore when inventory is opened. It always requires one click to trigger it to be open. But I can easily fix this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I didn't consider that. I changed it because the server only knows that we're in an inventory if we click a slot.

@1zun4
Copy link
Member

1zun4 commented Nov 30, 2024

I cannot push to your PR:
image

@1zun4 1zun4 removed this from the 0.21.0 milestone Nov 30, 2024
@1zun4
Copy link
Member

1zun4 commented Nov 30, 2024

I have prepared a fix for this, but will delay it until the 0.22.0 release instead.

@1zun4 1zun4 self-assigned this Nov 30, 2024
@1zun4 1zun4 marked this pull request as draft November 30, 2024 22:26
@1zun4
Copy link
Member

1zun4 commented Nov 30, 2024

I have created a pull request for you to merge: Zirada#2

@1zun4 1zun4 marked this pull request as ready for review December 1, 2024 21:10
@1zun4 1zun4 added this to the 0.22.0 milestone Dec 1, 2024
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.

2 participants