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

Update equipment from bank #20

Open
iDznPB opened this issue Oct 28, 2020 · 2 comments
Open

Update equipment from bank #20

iDznPB opened this issue Oct 28, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@iDznPB
Copy link

iDznPB commented Oct 28, 2020

There are some equipment slots aren't visible without opening the equipment tab, ring & ammo, as I believe it uses something to do with it being visible on the player.

You can now check your equipment from the bank
https://i.gyazo.com/f21ac289b57b81d01ad7f3934af8f1e0.png

it would be nice for the ring and ammo slots to update from those widgets as well.
Or if there's a better way to get those slots without having to use the widgets then by all means.

EDIT: Turns out, it doesn't even cache the value when it's been seen, if the widget isn't visible, it returns null...

@constt
Copy link
Contributor

constt commented Jan 22, 2021

@iDznPB What are the exact steps you'd expect the client to do here and for which method(s)?

@iDznPB
Copy link
Author

iDznPB commented Jan 22, 2021

cache ctx.equipment.itemAt(SLOT)
If the equipment tab isn't open, ring/quiver returns empty/null because they're not part of the player appearance, therefore it has to use the widgets to get that info.

It would be nice if we could update these from this menu in the bank, as well as the equipment tab.

@constt constt added the bug Something isn't working label Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants