Warcraft II Forum

Warcraft II => Mods & Development => Topic started by: Szwagier on December 14, 2016, 07:38:14 PM

Title: frozen ai
Post by: Szwagier on December 14, 2016, 07:38:14 PM
sometimes ai is going afk for no reason, if i save and reload game ai will wake up, any idea  why?
Title: Re: frozen ai
Post by: Delete mine too on December 15, 2016, 06:59:18 AM
sometimes ai is going afk for no reason, if i save and reload game ai will wake up, any idea  why?
Have you skipped a step? Resources? Food? Made the ai to train units without a needed building?

You save the map and reload the same map and the AI works?
Title: Re: frozen ai
Post by: Szwagier on December 15, 2016, 09:05:53 AM
ofc the same map, they got every thing gold/wood army(tired even with glittering prizes before reload game) but  ai sit in base when i save and reload game he will attack with everything and making new buldings

he got also space for buldings (it can be problem if he havent got space )
Title: Re: frozen ai
Post by: Igognito on December 15, 2016, 10:07:22 AM
Hi,

I think I had that experience in the old days too. (Now I haven't played much with cpus to notice it).
I believe it could be related with path finding.

I have the suspicion that if the AI messes up with path finding the first time they send you an army, it keeps messing it up.
The load allows the AI to recompute all the path finding and as a result it wakes it up.
It is possible that you could wake up the AI by also chopping or attacking.

All the above are just a hunch and I do not really know the problem/solution.

I somewhere read that someone tackled with the original AI and implemented an alternative one.
I would be interested to know how! I would like tackle with that :-P

Usually, AI is just scripting but still it could be fun.

Cheers
Title: Re: frozen ai
Post by: I hate naggers on December 18, 2016, 05:21:19 PM
sometimes ai is going afk
:D :D :D