We have released a new version of the starter-pack, available here .
What’s been updated:
- Fixes commands being ignored from Java and some other clients that send enum members as integers
- Adds messagepack support on the runner for clients that can leverage it
- Fixes issue with torpedo salvo count not being considered
- Fixes issue with torpedo salvo count not being decremented when torpedoes are fired
If you currently are on a starter pack, please grab the latest from above - version 2021.2.2
If you have cloned the repository to use docker or just to investigate, please ensure your clone is up to date!
P.S: If you are interested in using the MessagePack protocol with your SignalR Client, please review the documentation here:
Use MessagePack Hub Protocol in SignalR for ASP.NET Core | Microsoft Docs
It’s been implemented to improve performance between the runner and engine on our infrastructure, but this comes with the benefit of any client being able to choose whether they communicate over MessagePack or JSON.
There is no net gain between using one or the other for bots, as you can still only issue one command per tick, and that tick time is still 75ms at minimum, from the time that the last game state had been successfully published to all bots.
Entelect and the Challenge team however are not officially supporting MessagePack for bot communication, and it is purely “Use at your own risk”. Our recommendation to any issues raised when using MessagePack will be to switch back to the JSON protocol.