@@ 203-211 (lines=9) @@ | ||
200 | slots.popleft() |
|
201 | ||
202 | server.server_type = 'ext+' |
|
203 | while len(slots) >= 6: |
|
204 | # no idea what this is, always empty |
|
205 | slots.popleft() |
|
206 | server.append_player(Player( |
|
207 | name=slots.popleft().decode('utf-8'), |
|
208 | clan=slots.popleft().decode('utf-8'), |
|
209 | country=int(slots.popleft().decode('utf-8')), |
|
210 | score=int(slots.popleft().decode('utf-8')), |
|
211 | ingame=bool(int(slots.popleft().decode('utf-8'))) |
|
212 | )) |
|
213 | ||
@@ 181-189 (lines=9) @@ | ||
178 | server.num_clients = int(slots.popleft().decode('utf-8')) |
|
179 | server.max_clients = int(slots.popleft().decode('utf-8')) |
|
180 | ||
181 | while len(slots) >= 6: |
|
182 | # no idea what this is, always empty |
|
183 | slots.popleft() |
|
184 | server.append_player(Player( |
|
185 | name=slots.popleft().decode('utf-8'), |
|
186 | clan=slots.popleft().decode('utf-8'), |
|
187 | country=int(slots.popleft().decode('utf-8')), |
|
188 | score=int(slots.popleft().decode('utf-8')), |
|
189 | ingame=bool(int(slots.popleft().decode('utf-8'))) |
|
190 | )) |
|
191 | ||
192 | @staticmethod |