At first i thought it would be a bug in my code but after a lot of tests it seems to me as if the UnitIdle(int unit) callback gets called while construction units are building something.
I noticed some strange cons. unit behaviour with earlier version as well but it had been very rare so i never really tried to find out whats wrong. latest release version however semms to be calling unitIdle all the time
maybe someone who knows the engine code better than i do can check...
Possible problem with UnitIdle()
Moderators: hoijui, Moderators
trepan, UnitIdle is the corner stone of every skirmish AI and groupAI in spring, its the most important callback function and unreliability in this function directly affects the AIs in so many ways. This isnt a minor bug, this is a major flaw, as this is a critical component of the AI callback interface.
I've already said that I have the fix, I just haven't committed it yet.
There are no plans for a release anytime soon (that I know of), and
the code is tied up with other changes that I've yet to complete.
When I'm done, I'll commit. Alternatively fix it yourself (I've given a
mighty big hint as to how to do it).
There are no plans for a release anytime soon (that I know of), and
the code is tied up with other changes that I've yet to complete.
When I'm done, I'll commit. Alternatively fix it yourself (I've given a
mighty big hint as to how to do it).