Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10211) AI love is adjusted on save game load
Home

[Freeciv-Dev] Re: (PR#10211) AI love is adjusted on save game load

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10211) AI love is adjusted on save game load
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Sep 2004 13:03:52 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10211 >

Marko Lindqvist wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10211 >
> 
> 
>   See #436, date "Sun, 29 Aug 2004 20:36:11 +0300". This is more than 
> matter of extra rand(), but things like 
> "pplayer->ai.love[aplayer->player_no] += ai->diplomacy.love_incr;" 
> happen too (They are actually reson to that rand(), since they may cause 
> target to change which in turn triggers rand() ).
>   If AI hates you, simply save+load often enough :-)

These changes should only be done on the beginning of a new phase.  See 
begin_phase() in srv_main.c.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#10211) AI love is adjusted on save game load, Jason Short <=