@@ 197-205 (lines=9) @@ | ||
194 | slots.popleft() |
|
195 | ||
196 | server.server_type = 'ext+' |
|
197 | while len(slots) >= 6: |
|
198 | # no idea what this is, always empty |
|
199 | slots.popleft() |
|
200 | server.append_player({ |
|
201 | 'name': slots.popleft(), |
|
202 | 'clan': slots.popleft(), |
|
203 | 'country': int(slots.popleft().decode('utf-8')), |
|
204 | 'score': int(slots.popleft().decode('utf-8')), |
|
205 | 'ingame': int(slots.popleft().decode('utf-8')) |
|
206 | }) |
|
207 | ||
@@ 175-183 (lines=9) @@ | ||
172 | server.num_clients = int(slots.popleft().decode('utf-8')) |
|
173 | server.max_clients = int(slots.popleft().decode('utf-8')) |
|
174 | ||
175 | while len(slots) >= 6: |
|
176 | # no idea what this is, always empty |
|
177 | slots.popleft() |
|
178 | server.append_player({ |
|
179 | 'name': slots.popleft(), |
|
180 | 'clan': slots.popleft(), |
|
181 | 'country': int(slots.popleft().decode('utf-8')), |
|
182 | 'score': int(slots.popleft().decode('utf-8')), |
|
183 | 'ingame': int(slots.popleft().decode('utf-8')) |
|
184 | }) |
|
185 | ||
186 | @staticmethod |