[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [bos-dev] elite level 4 runs slow
- To: bos-dev@xxxxxxxx
- Subject: Re: [bos-dev] elite level 4 runs slow
- From: "Bram Neijt" <bneijt@xxxxxxxxx>
- Date: Sun, 30 Sep 2007 22:35:32 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: bos-dev-outgoing@xxxxxxxx
- Delivered-to: bos-dev@xxxxxxxx
- Delivery-date: Sun, 30 Sep 2007 16:35:41 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Cv6TMi3hCQtSFInuAr3GyEviDYJRV7wzK9NaYF039lA=; b=RWXrWHyc6KwsPeWbViRZcR/UkFZ5Py+E2Z0wwz28ypRIE5GED7foBv6oGfin+8zaS1XRq77h1AeOb4NMDeAkptYC6lO8sgKE5oo9qUyHR5Amk0K+dKp+j4I8445Q+MNWOtwBshSWCs39PiJosjhu4eJ5bz3BubXHO9ius4XkFPs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DckScSNAWq7zH6vIMRpqxyxLh6eWodMsHY/M5DawEkG2Z2zYJwr0HT7sJbggGVIJNh4jknWbfNIKzW2/ewSPqstY7zni1t9e0ZGCWUlT5YlQLeOkmfvAocnXXLZpfGzDvSAoe5t1BLgq8mSNLIVz38kYWwWibZPVnrNSVx+E+mI=
- In-reply-to: <938845890709292327q61e7685by400597308f74b608@xxxxxxxxxxxxxx>
- References: <938845890709292327q61e7685by400597308f74b608@xxxxxxxxxxxxxx>
- Reply-to: bos-dev@xxxxxxxx
- Sender: owner-bos-dev@xxxxxxxx
I'm not a boswars developer, but I have the feeling this problem
combines with a loop of the enemy behavior. Each enemy seems to have a
few stratagies to get something done, if it tries for tto long, it
will reset the loop. All agants seem to try to find a path and fail
with a timeout, resetting this loop en this slows down the game.
As I said, I'm not a developer, but you could try the following to get
a more acturate reading on this bug:
Compile boswars with debug information on (read the documentation on
the switch to use), look for the "Looop to much" or something like
that message.
Find the origin of this message (should be in some lua code)
Try to rewrite/hack to disable the path planning (should be near that
lua code also)
See if that fixes the problem.
If you have the time, you might be able to see if the path finding is
really the problem. Other testcases may also help (like small map with
an enclosed enemy).
If you don't have any time, then wait for somebody who knows about it
to write to you (or ask on IRC, the team is very active there and read
the IRC logs)
Good luck!
Bram
On 9/30/07, William Knight <william.knight@xxxxxxxxx> wrote:
> When I play the elite campaign, it runs fine until level 4, when it
> really starts to drag. Could this be a path-finding problem caused by
> the mountain barrier?
>
> This happens on both GNU/Linux and Windows XP, with version 2.4.1
>