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

Marc Dequènes (Duck) duck at duckcorp.org
Mon Mar 31 23:42:25 UTC 2008


Package: boswars
Version: 2.5-1
Severity: important


Coin,

In on of the first levels of the "Elite" campaign, their is a map split
horizontally in the half by a large mountain wall. Until on of the two
holes are freeed from the deep forest tree growing there, it is
absolutly impossible to reach the ennemy without planes. The plot of the
level is: grow strong and then attack, but don't tease the ennemy or
thay will counter attack fiercely. Until i got to the point of an
encounter, everything went well, but when i suddenly found the ennemy
while looking around, he started moving his ground troups towars me, but
was unable to reach me when my plane was out of range. Since then, the
game began to be awfully slow. Each 4-6s the game hung during 5-20s,
then printed "Looping !" in the console before being responsible again.

Looking at the code, it seems there is a bug in the AI code:
[duck at Vingilot boswars-2.5]$ rgrep "Looping" .
./scripts/ais/tankrush.lua:  function() print("Looping !"); return false end,
./scripts/ais/blitz.lua:  function() print("Looping !"); return false end,
./scripts/ais/rush.lua:  function() print("Looping !"); return false end,

As this situation occured several times in my discovery of the game
(even if not as horribly as in this particular level), and as it is
rendering the game almost unplayable until another condition unblock
something in the code, which can take a lot of time, i think this bug
deserves such a severity.

-- 
Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080401/d307ae9b/attachment.pgp 


More information about the Pkg-games-devel mailing list