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

Possible bug #9

Open
jdmota opened this issue Mar 5, 2019 · 0 comments
Open

Possible bug #9

jdmota opened this issue Mar 5, 2019 · 0 comments

Comments

@jdmota
Copy link

jdmota commented Mar 5, 2019

I think the code:

aos_replay/playback.py

Lines 47 to 48 in d478d66

if ord(self.data[0]) == 15: # state data
self.playerid = ord(self.data[1])

misses this line self.spawned = False.

if ord(self.data[0]) == 15: # state data
  self.playerid = ord(self.data[1])
  self.spawned = False # missing line

A new state data packet might appear if, while recording, the server changes map. Without that line, we can not spawn again to spectate after a map change.

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

No branches or pull requests

1 participant