AIs are alive after reconnect

AIs are alive after reconnect

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

AIs are alive after reconnect

Post by lamer »

An interesting changes were made to latest engine (i assume during Spring.Reload addition). Native AIs won't stay dead after reconnect like it was before. Now the only issue i saw is that after reconnect AI messes up it's orders, build queues. I only assume this happens because during catch up phase all events sent to AI just like it's normal game execution.
If so maybe AI's events should be disabled during catch up and on "catch up finished" send EVENT_UNIT_GIVEN per each team unit owned by AI?
Can anyone shed some light on this? (Messed up orders could be a result of bad EVENT_INIT processing by AI itself though)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: AIs are alive after reconnect

Post by AF »

If you do that you'll break a lot of important assumptions made during AI dev, instead documentation on what happens during a reconnect and how to handle it would be the answer
Post Reply

Return to “AI”