Observation Tick Glitch:
I observed:
zooscape-engine | [19:05:24 INF] Game tick 477, Duration = 197 / 150, Duty Cycle = 1.3133333333333332
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 INF] Command (Right) enqueued for bot (3b2e3130-1a6d-4902-ad5e-261c855bf8c5). Queue length: 1
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “476”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 INF] Command (Up) enqueued for bot (23016710-31c5-4d97-893c-24750e7ce85c). Queue length: 1
zooscape-engine | [19:05:24 INF] Command (Up) enqueued for bot (6316750f-1633-4f97-856a-a1f9fd5a35de). Queue length: 1
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 INF] Command (Left) enqueued for bot (112a0cbe-03c9-4431-9cef-4cd31bc4e56e). Queue length: 1
zooscape-engine | [19:05:24 INF] Game tick 478, Duration = 8 / 150, Duty Cycle = 0.05333333333333334
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 INF] Command (Down) enqueued for bot (6316750f-1633-4f97-856a-a1f9fd5a35de). Queue length: 2
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 INF] Command (Down) enqueued for bot (112a0cbe-03c9-4431-9cef-4cd31bc4e56e). Queue length: 2
zooscape-engine | [19:05:24 DBG] Received hub invocation: InvocationMessage { InvocationId: “”, Target: “BotCommand”, Arguments: [ Zooscape.Domain.Models.BotCommand ], StreamIds: [ ] }.
zooscape-engine | [19:05:24 INF] Command (Up) enqueued for bot (3b2e3130-1a6d-4902-ad5e-261c855bf8c5). Queue length: 2
So tick 477 seems to skip processing moves for a turn
And suddenly immediately after all bots have a queue of 2,
I do not have more information on this yet, I trimmed my output to only focus on where I have irregularities,
My own output:
Alpha has Awakened 475
Best Move:4
Alpha has Awakened 476
Best Move:4
Alpha has Awakened 477
Best Move:1
Alpha has Awakened 478
CORRECTION SET ON TICK478
PM 1 MX 31 MY 41
TM 4 TX 30 TY 41
Best Move:3
PM ASSUMED UNCHANGED FOR NEXT TURN
Alpha has Awakened 479
Best Move:4
Alpha has Awakened 480
Best Move:4
Alpha has Awakened 481
As mentioned, my temporary solution was to just correct my AI, skip my turn when the engine does.
I see it happening 2 or 3 times per game,
Map behaviour seems normal, My average tickrate on this is 7 ms or so, so nothing that can force a timeout, it also appears to affect all bots on the same tick