Two more AI bugs

Lincoln Peters peters2000@mindspring.com
Fri Jun 28 23:17:00 GMT 2002


On Fri, 2002-06-28 at 16:09, Hans Ronne wrote:
> This I cannot reproduce. After the patch, my spaceports build motherships,
> saucers and fighters. They never try to build anything else. What you
> describe (failed attempts to start building ground units) is exactly what I
> saw before the patch, but no longer. Are you sure you recompiled xconq
> after applying the patch?

I tried recompiling, and now I get a segfault whenever I try to build a
spaceport!

> 
> Yes, the code does not at present factor in build time. This means that
> games where all units cost approximately the same to build work best. See
> the discussion Jim and I had a few months ago about this.

A quick fix might be to set up a decay curve based on CP's for a unit's
offensive_worth.  Could you do something like multiply the
offensive_worth by 1/CP?



More information about the Xconq7 mailing list