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

deep sea fisherman achievement might not be working #379

Closed
bleutailfly opened this issue May 28, 2020 · 5 comments
Closed

deep sea fisherman achievement might not be working #379

bleutailfly opened this issue May 28, 2020 · 5 comments
Labels
type: bug Causes a negative impact or not working as intended.

Comments

@bleutailfly
Copy link
Contributor

🐞 Describe the bug

[10:18] kraken
[10:18] Information about kraken will cost 8295. Would you like to pay?
[10:18] yes
[10:18] Thank you.
[10:18] Lovena puts her hand on the bestiary and stares into crystal ball.
[10:19] bleutailfly, you have killed a total of 74 krakens. You have killed 71 alone and 3 in a group.
[10:19] read
[10:19] I see you are carrying a bestiary. Which enemy would you like information about?
[10:19] shark
[10:19] Information about shark will cost 6555. Would you like to pay?
[10:19] yes
[10:19] Thank you.
[10:19] Lovena puts her hand on the bestiary and stares into crystal ball.
[10:19] bleutailfly, you have killed a total of 432 sharks. You have killed 429 alone and 3 in a group.
[10:19] Come back soon bleutailfly.
[10:20] hi
[10:20] Welcome to my psychic parlor. How can I help you?
[10:20] read
[10:20] I see you are carrying a bestiary. Which enemy would you like information about?
[10:20] neo kraken
[10:20] Information about neo kraken will cost 8670. Would you like to pay?
[10:20] yes
[10:20] Thank you.
[10:20] Lovena puts her hand on the bestiary and stares into crystal ball.
[10:20] bleutailfly, you have killed a total of 48 neo krakens. You have killed 46 alone and 2 in a group.
[10:21] Come back soon bleutailfly.
A clear description of the issue.

🔥 How to reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

🌍 Environment

  • Java client
  • Web client

Location in game: ...

deniran psychic parlor , interior

🛠️ Suggested fixes

Ideas on how to fix the problem: ...

beats me

🔭 Additional information

that is over the 500 fish that is needed for the quest
Anything else

@bleutailfly bleutailfly added the type: bug Causes a negative impact or not working as intended. label May 28, 2020
@AntumDeluge AntumDeluge changed the title deep sea fisherman quest might not be working deep sea fisherman achievement might not be working Dec 4, 2021
@AntumDeluge
Copy link
Member

AntumDeluge commented Dec 4, 2021

It looks like the problem is that the achievement is using PlayerHasKilledNumberOfCreaturesCondition, which is used for requiring a kill count for each creature listed. So it only registers if you have killed 500 sharks, 500 kraken, & 500 neo kraken. Should be modified to use a custom condition or add a combined flag in PlayerHasKilledNumberOfCreaturesCondition.java.

Edit: Zombie Apocalypse can be used as an example of how to implement it. JUnit test will probably need updated as well.

@nhnb
Copy link
Member

nhnb commented Dec 4, 2021

We should also change the description of the achievement to either say "Kill 500 sharks, kraken and neo kraken each" or "Kill 500 deep sea creatures"

@AntumDeluge
Copy link
Member

@nhnb Oh wait, if that is the description, then the achievement is working as intended (it's been a while since I played). So nothing should be changed.

@AntumDeluge
Copy link
Member

Sorry, I spoke before thinking. The description is currently "Kill 500 sharks, kraken, & neo kraken". From the look of the code, it seems the original intention is to kill 500 each. So ya, should probably be changed to say "each".

@AntumDeluge
Copy link
Member

Description clarified: 65d68b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Causes a negative impact or not working as intended.
Projects
None yet
Development

No branches or pull requests

3 participants