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

Configstrings are unreliable. #13

Closed
MinoMino opened this issue Nov 8, 2015 · 2 comments
Closed

Configstrings are unreliable. #13

MinoMino opened this issue Nov 8, 2015 · 2 comments
Assignees
Labels

Comments

@MinoMino
Copy link
Owner

MinoMino commented Nov 8, 2015

(11:06:06) [ERROR @ minqlx.ban.log_exception] Traceback (most recent call last):
(11:06:06) [ERROR @ minqlx.ban.log_exception]   File "minqlx.zip/minqlx/_events.py", line 79, in dispatch
(11:06:06) [ERROR @ minqlx.ban.log_exception]     res = handler(*self.args, **self.kwargs)
(11:06:06) [ERROR @ minqlx.ban.log_exception]   File "./minqlx-plugins/ban.py", line 84, in handle_player_disconnect
(11:06:06) [ERROR @ minqlx.ban.log_exception]     teams = self.teams()
(11:06:06) [ERROR @ minqlx.ban.log_exception]   File "minqlx.zip/minqlx/_plugin.py", line 400, in teams
(11:06:06) [ERROR @ minqlx.ban.log_exception]     res[p.team].append(p)
(11:06:06) [ERROR @ minqlx.ban.log_exception]   File "minqlx.zip/minqlx/_player.py", line 204, in team
(11:06:06) [ERROR @ minqlx.ban.log_exception]     return minqlx.TEAMS[int(self["t"])]
(11:06:06) [ERROR @ minqlx.ban.log_exception]   File "minqlx.zip/minqlx/_player.py", line 121, in __getitem__
(11:06:06) [ERROR @ minqlx.ban.log_exception]     return self.cvars[key]
(11:06:06) [ERROR @ minqlx.ban.log_exception] KeyError: 't'
@MinoMino MinoMino added the bug label Nov 8, 2015
@MinoMino MinoMino self-assigned this Nov 8, 2015
@MinoMino
Copy link
Owner Author

MinoMino commented Nov 9, 2015

67d0b91 tries to deal with this. If someone wants to try it, then that'd be cool.

@MinoMino
Copy link
Owner Author

Looks good.

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

1 participant