Open akashsara opened 2 years ago
From L2, the moves are supposed to be Copycat, Switcheroo, Thunder Wave and Encore. Copycat gets replaced by Outrage for some reason. From my understanding of Copycat it doesn't actually replace the move the Pokemon has, so this should not be happening right?
>battle-gen8uu-1839769
|request|{"active":[{"moves":[{"move":"Ancient Power","id":"ancientpower","pp":0,"maxpp":8,"target":"normal","disabled":true},{"move":"Dazzling Gleam","id":"dazzlinggleam","pp":0,"maxpp":16,"target":"allAdjacentFoes","disabled":true},{"move":"Soft-Boiled","id":"softboiled","pp":0,"maxpp":16,"target":"self","disabled":true},{"move":"Metronome","id":"metronome","pp":8,"maxpp":16,"target":"self","disabled":false}]}],"side":{"name":"Battle_Agent_2","id":"p2","pokemon":[{"ident":"p2: Togepi","details":"Togepi, F","condition":"211/211","active":true,"stats":{"atk":68,"def":185,"spa":181,"spd":225,"spe":76},"moves":["ancientpower","dazzlinggleam","softboiled","metronome"],"baseAbility":"serenegrace","item":"eviolite","pokeball":"pokeball","ability":"serenegrace"},{"ident":"p2: Kingdra","details":"Kingdra, M","condition":"291/291","active":false,"stats":{"atk":203,"def":227,"spa":317,"spd":226,"spe":269},"moves":["surf","dracometeor","hurricane","hydropump"],"baseAbility":"swiftswim","item":"lifeorb","pokeball":"pokeball","ability":"swiftswim"},{"ident":"p2: Cleffa","details":"Cleffa, M","condition":"290/290","active":false,"stats":{"atk":86,"def":82,"spa":145,"spd":146,"spe":137},"moves":["softboiled","toxic","protect","endeavor"],"baseAbility":"magicguard","item":"eviolite","pokeball":"pokeball","ability":"magicguard"},{"ident":"p2: Quagsire","details":"Quagsire, F","condition":"376/394","active":false,"stats":{"atk":206,"def":278,"spa":149,"spd":183,"spe":106},"moves":["earthquake","toxic","recover","scald"],"baseAbility":"unaware","item":"leftovers","pokeball":"pokeball","ability":"unaware"},{"ident":"p2: Drampa","details":"Drampa, F","condition":"359/359","active":false,"stats":{"atk":140,"def":206,"spa":405,"spd":220,"spe":108},"moves":["hypervoice","dracometeor","flamethrower","roost"],"baseAbility":"berserk","item":"leftovers","pokeball":"pokeball","ability":"berserk"},{"ident":"p2: Stunfisk","details":"Stunfisk, F","condition":"0 fnt","active":false,"stats":{"atk":151,"def":247,"spa":198,"spd":280,"spe":100},"moves":["stealthrock","discharge","earthpower","toxic"],"baseAbility":"static","item":"leftovers","pokeball":"pokeball","ability":"static"}]},"rqid":123}
Traceback (most recent call last):
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\player\player_network_interface.py", line 179, in _handle_message
await self._handle_battle_message(split_messages)
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\player\player.py", line 240, in _handle_battle_message
battle._parse_request(request)
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\environment\battle.py", line 100, in _parse_request
self.active_pokemon.available_moves_from_request(active_request)
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\environment\pokemon.py", line 487, in available_moves_from_request
assert {
AssertionError: Error with move metronome. Expected self.moves to contain copycat, metronome, mefirst, mirrormove, assist, transform or mimic. Got {'skullbash': skullbash (Move object), 'ancientpower': ancientpower (Move object), 'dazzlinggleam': dazzlinggleam (Move object), 'softboiled': softboiled (Move object)}
2022-09-09 19:16:12,946 - Battle_Agent_2 - WARNING - Unmanaged [from]move message received - move Metronome in cleaned up message ['', 'move', 'p2a: Togepi', 'Horn Attack', 'p1a: Type: Null'] in battle battle-gen8uu-1839769 turn 56
Task exception was never retrieved
future: <Task finished name='Task-36510' coro=<PlayerNetwork._handle_message() done, defined at E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\player\player_network_interface.py:165> exception=AssertionError("Error with move metronome. Expected self.moves to contain copycat, metronome, mefirst, mirrormove, assist, transform or mimic. Got {'skullbash': skullbash (Move object), 'ancientpower': ancientpower (Move object), 'dazzlinggleam': dazzlinggleam (Move object), 'softboiled': softboiled (Move object)}")>
Traceback (most recent call last):
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\player\player_network_interface.py", line 230, in _handle_message
raise exception
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\player\player_network_interface.py", line 179, in _handle_message
await self._handle_battle_message(split_messages)
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\player\player.py", line 240, in _handle_battle_message
battle._parse_request(request)
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\environment\battle.py", line 100, in _parse_request
self.active_pokemon.available_moves_from_request(active_request)
File "E:\Dev\meta-discovery\torch_env\lib\site-packages\poke_env\environment\pokemon.py", line 487, in available_moves_from_request
assert {
AssertionError: Error with move metronome. Expected self.moves to contain copycat, metronome, mefirst, mirrormove, assist, transform or mimic. Got {'skullbash': skullbash (Move object), 'ancientpower': ancientpower (Move object), 'dazzlinggleam': dazzlinggleam (Move object), 'softboiled': softboiled (Move object)}
Same scenario but with metronome
Error Message