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

Deployment pet upgrade event broken? #60

Open
andreped opened this issue Apr 11, 2023 · 0 comments
Open

Deployment pet upgrade event broken? #60

andreped opened this issue Apr 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@andreped
Copy link
Owner

It was observed that after merging two pets to upgrade on, it still thought that there was 5 pets in the team.

Or at least it seemed like that was what caused the behaviour.

Later on, this resulted in the bot attempting to sell a pet that was not present in the team, as the assumed team had diverged from the actual team.

Error log below:

Traceback (most recent call last):
  File ".\main.py", line 63, in <module>
    main()
  File ".\main.py", line 57, in main
    run(ret)
  File "C:\Users\andrp\workspace\super-ml-pets\smp\deploy_agent.py", line 169, in run
    action_dict[get_action_name(action)](s[action][1:])
  File "C:\Users\andrp\workspace\super-ml-pets\smp\actions.py", line 151, in sell
    raise Exception("Invalid sell: No pet present in the slot to sell...")
Exception: Invalid sell: No pet present in the slot to sell...
@andreped andreped added the bug Something isn't working label Apr 11, 2023
@andreped andreped changed the title Upgrade deployment event broken? Deployment pet upgrade event broken? Apr 11, 2023
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
Status: No status
Development

No branches or pull requests

1 participant