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

Sell X to general store can crash client in very specific circumstance #64

Closed
Hubcapp opened this issue Jan 1, 2021 · 2 comments · Fixed by #68
Closed

Sell X to general store can crash client in very specific circumstance #64

Hubcapp opened this issue Jan 1, 2021 · 2 comments · Fixed by #68
Labels
bug Something isn't working

Comments

@Hubcapp
Copy link
Member

Hubcapp commented Jan 1, 2021

Steps to reproduce:

  1. Sell an item to a general store that it does not usually stock
  2. Click the item that you have sold to the store and select "Sell X"
  3. Wait for the store to naturally despawn the sold items
  4. Submit your request to Sell the item to the shop
  5. The game loses the reference to the item since it has despawned from the shop's inventory and so
[  GAME][05:31:27] Error: client.PB(-43) client.DC(0) client.AB(13) client.JD(false) | client.c client.I client.f client.b e.run java.lang.Thread.run:745 | java.lang.ArrayIndexOutOfBoundsException: -1
[  GAME][05:31:27] error_game_crash
@Hubcapp Hubcapp added the bug Something isn't working label Jan 1, 2021
@Hubcapp
Copy link
Member Author

Hubcapp commented Jan 6, 2021

Possibly related to #50

@lmsv-mx123
Copy link
Member

applies to also when Buying X probably

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

Successfully merging a pull request may close this issue.

2 participants