Documentation: now in repository. Programming documentation should be in /docs, player/user documentation should be in /WebHostLib/static/assets/tutorial.

Network: implement InvalidPacket, remove InvalidArguments and InvalidCmd
Datapackage: implement per-game versions and per-game package retrieval
This commit is contained in:
Fabian Dill
2021-07-14 10:02:39 +02:00
parent 62a6cdc9f7
commit 4f998a6880
6 changed files with 886 additions and 9 deletions

View File

@@ -390,8 +390,8 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
elif cmd == 'PrintJSON':
ctx.on_print_json(args)
elif cmd == 'InvalidArguments':
logger.warning(f"Invalid Arguments: {args['text']}")
elif cmd == 'InvalidPacket':
logger.warning(f"Invalid Packet of {args['type']}: {args['text']}")
else:
logger.debug(f"unknown command {cmd}")