About the Technical Support category

Hi all, this category is for any technical support you may require during the challenge.

is there a way for the bot to determine on which tick a command is executed?

My bot starts processing each tick as soon as it finds a new gamestate (botService.gameState[0][‘world’][‘currentTick’] changed). It executes in under 10 milliseconds, and then issues the command. Watching the console, it appears that occasionally the command will be executed after the new tick has arrived. With the game engine handling the commands on FIFO, each time this occurs my command will lag behind by another tick.

For example


if I set action = 1 and heading = 45 and do not run my code at all I still get