Skip to content

Deployment pet upgrade event broken? #60

@andreped

Description

@andreped

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions