From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16785 invoked by alias); 11 Jun 2004 06:40:48 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 16773 invoked from network); 11 Jun 2004 06:40:47 -0000 Received: from unknown (HELO av15-1-sn4.m-sp.skanova.net) (81.228.10.102) by sourceware.org with SMTP; 11 Jun 2004 06:40:47 -0000 Received: by av15-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id D7A2437E58; Fri, 11 Jun 2004 08:40:46 +0200 (CEST) Received: from smtp4-2-sn4.m-sp.skanova.net (smtp4-2-sn4.m-sp.skanova.net [81.228.10.180]) by av15-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id C91E137E49; Fri, 11 Jun 2004 08:40:46 +0200 (CEST) Received: from [212.181.162.155] (h155n1fls24o1048.bredband.comhem.se [212.181.162.155]) by smtp4-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 5AD4437E43; Fri, 11 Jun 2004 08:40:46 +0200 (CEST) X-Sender: u22611592@m1.226.comhem.se Message-Id: In-Reply-To: <1086934709.12177.4833.camel@odysseus> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 11 Jun 2004 06:40:00 -0000 To: Lincoln Peters From: Hans Ronne Subject: Re: Bug in acp-independent action code Cc: xconq7@sources.redhat.com X-SW-Source: 2004/txt/msg00523.txt.bz2 >It would appear that, if an acp-independent unit executes a build task >that depends on a certain material (as per unit-consumption-per-cp), and >it runs out of the material before it can complete the build task, it >will often abort the task and go into reserve, whereas it should go into >reserve but keep the plan. > >It took me a while to pin this bug down, since an acp-independent unit >with no task assigned automatically resumes building any incomplete >units that occupy it. Consequently, it will build at least one unit >despite the bug, and so it initially appeared to be a bug in the code >that handles the number of units built as the result of a single build >task (e.g. you tell it to build 99 knights and it only builds 1). This I could not reproduce. If I tell an acp-independent unit (a city in the advances game) to build e. g. 3 colonizers it does exactly that, and then prompts for a new build task. I have not seen it go into reserve or abort the plan, even though it is limited by unit-consumption-per-cp and runs out of material each turn (as it should). What game did this happen in, and do you have a saved game where the bug can be seen? Hans