From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9433 invoked by alias); 11 Sep 2004 02:45:39 -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 9416 invoked from network); 11 Sep 2004 02:45:38 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (216.148.227.85) by sourceware.org with SMTP; 11 Sep 2004 02:45:38 -0000 Received: from [192.168.181.128] (c-67-172-156-222.client.comcast.net[67.172.156.222]) by comcast.net (rwcrmhc12) with ESMTP id <2004091102453701400mdm73e>; Sat, 11 Sep 2004 02:45:37 +0000 Message-ID: <414266B6.3030106@phy.cmich.edu> Date: Sat, 11 Sep 2004 02:49:00 -0000 From: Eric McDonald User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) MIME-Version: 1.0 To: Lincoln Peters CC: Xconq list Subject: Re: Possible bug in side_can_research References: <1094789127.4338.103479.camel@localhost> In-Reply-To: <1094789127.4338.103479.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg01150.txt.bz2 Lincoln Peters wrote: > When I re-wrote ai_plan_research, I had assumed that the > side_can_research function would return false for advances that have > already been researched. However, having run advances.g several times That should be the case, and seems to do exactly that in the places it is used in the new side research code in the SDL UI. I am surprised that it is causing you problems. > Would it be reasonable to modify side_can_research so that it returns > false for advances that the side already has? Or would it be better to > place the necessary code in ai_plan_research instead? Actually, there is a function to update the research vector and it gets called whenever a topic is actually researched in the kernel run code. > BOFH excuse #251: > > Processes running slowly due to weak power supply Excuses such as "solar flares" or "electrostatic buildup" are easier to manipulate feeble minds with.... Eric