Bug#473678: boswars: game "looping" endlessly...

Kalle Olavi Niemitalo kon at iki.fi
Tue Jul 6 07:08:40 UTC 2010


Another related upstream bug has been fixed in SVN trunk:
  http://savannah.nongnu.org/bugs/?29766
  "Path finding method eats CPU futilely when there is not possible path"

If I understand correctly, the pathfinder itself was not changed
there, but the higher-level code was changed to retry fewer times
if it doesn't find a path right away.  This change is not in the
boswars-2.6 branch.  It is likely to be released in Bos Wars 2.7.

I had some plans for caching the results from the pathfinder:
  http://savannah.nongnu.org/patch/?7141
  "Speed up pathfinder by caching islands"
but it now seems such a cache would require also hooking all the
code that moves units, so I'd rather do that only if the current
fix doesn't suffice. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100706/fe50dde7/attachment.pgp>


More information about the Pkg-games-devel mailing list