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