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

Can't swap defender after the first was killed #901

Open
oujinlong opened this issue Apr 8, 2017 · 3 comments
Open

Can't swap defender after the first was killed #901

oujinlong opened this issue Apr 8, 2017 · 3 comments
Labels

Comments

@oujinlong
Copy link

Description:
Can't swap defender after the first was killed ...new defender is MISSINGNO and can't not continue to fight
Steps to reproduce:

Defender performed ACTION_SPECIAL_ATTACK
MISSINGNO attacked with special attack by SNORLAX (Defender)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_DODGE
Attacker dodged!
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Dodging special attack!
Defender performed ACTION_SPECIAL_ATTACK
MISSINGNO attacked with special attack by SNORLAX (Defender)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_DODGE
Attacker dodged!
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Defender performed ACTION_ATTACK
SNORLAX attacked by MISSINGNO (Defender)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Defender performed ACTION_ATTACK
SNORLAX attacked by MISSINGNO (Defender)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Defender performed ACTION_ATTACK
SNORLAX attacked by MISSINGNO (Defender)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Defender performed ACTION_ATTACK
SNORLAX attacked by MISSINGNO (Defender)
Defender performed ACTION_FAINT
Defender fainted!
Attacker performed ACTION_ATTACK
SNORLAX attacked by TYRANITAR (Attacker)
Defender performed ACTION_ATTACK
SNORLAX attacked by MISSINGNO (Defender)
Defender performed ACTION_VICTORY
Attacker: 74 / 141
Defender: 0 / 0

Expected behavior:
new defender is the next pokemon

Actual behavior:
new defender is the MISSINGNO

Version:
0.4.1
Thanks a lot in advance!

@RebliNk17
Copy link
Contributor

I almost succeeded with fixing it, but I'm still getting an error sometimes.
I need more mitm logs to know exactly what I'm missing...

@Gegy Gegy added the bug label Apr 11, 2017
@Raventy
Copy link

Raventy commented Apr 14, 2017

Are you required to send player location after defending pokemon faints?

@Gegy
Copy link
Collaborator

Gegy commented Apr 14, 2017

START_GYM_BATTLE is sent when a defending pokemon faints, and the player location is sent in that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants