Skip to content

Commit

Permalink
Release 0.10.275 version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihisil committed Oct 2, 2023
1 parent e33e121 commit 373b28a
Show file tree
Hide file tree
Showing 6 changed files with 1,701 additions and 1,338 deletions.
6 changes: 3 additions & 3 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def main():
game_logs = await load_game_logs(lobby)
logging.info("Found {} records".format(len(game_logs)))
else:
game_log = await load_and_process_game_log(lobby, log_uuid)
game_log = await load_and_process_game_log(lobby, log_uuid, version_to_force)
logging.info("game {} result : \n{}".format(game_log.head.uuid, game_log.head.result))

await channel.close()
Expand Down Expand Up @@ -123,12 +123,12 @@ async def load_game_logs(lobby):
return records


async def load_and_process_game_log(lobby, uuid):
async def load_and_process_game_log(lobby, uuid, version_to_force):
logging.info("Loading game log")

req = pb.ReqGameRecord()
req.game_uuid = uuid
req.client_version_string = 'web-0.10.246'
req.client_version_string = f"web-{version_to_force}"
res = await lobby.fetch_game_record(req)

record_wrapper = pb.Wrapper()
Expand Down
2 changes: 1 addition & 1 deletion ms/liqi.json

Large diffs are not rendered by default.

Loading

0 comments on commit 373b28a

Please sign in to comment.