[Freeciv-Dev] [bug #16813] AI love not edged towards zero each turn

2010-10-09 Thread pepeto

Update of bug #16813 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?16813

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16813] AI love not edged towards zero each turn

2010-10-05 Thread James Hemming

Follow-up Comment #4, bug #16813 (project freeciv):

Hi pepeto. No problem with the submission field. I have been testing this
patch out further and I can't decide whether the additional adjustment for
love  0 should be there or not. Perhaps this makes the AI too war averse...
In this case, maybe just the original bug fix is enough. I have attached yet
another patch for that! I think it needs someone else to test both ways and
see what they think is best...

(file #10632)
___

Additional Item Attachment:

File name: ai_love.diff   Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?16813

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16813] AI love not edged towards zero each turn

2010-10-04 Thread Per I. Mathisen

Follow-up Comment #1, bug #16813 (project freeciv):

Looks good to me, although I would add also  / 100.0  instead of  / 100 
for emphasis.

___

Reply to this item at:

  http://gna.org/bugs/?16813

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16813] AI love not edged towards zero each turn

2010-10-04 Thread James Hemming

Follow-up Comment #2, bug #16813 (project freeciv):

Hi Per. I am the submitter of the initial patch; I have now registered an
account, I don't know if that can be reflected in the submission... Anyway, I
have updated the patch with your change.

This is my first patch for Freeciv, so if I need to do anything else please
let me know.

(file #10613)
___

Additional Item Attachment:

File name: ai_love.diff   Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?16813

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16813] AI love not edged towards zero each turn

2010-10-04 Thread pepeto

Update of bug #16813 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = pepeto 
 Planned Release: = 2.2.4, 2.3.0   

___

Follow-up Comment #3:

Well caught! I will take care of committing your patch in a few days.

PS: Unfortunately, I doubt someone can change the submitter field of the
item.


___

Reply to this item at:

  http://gna.org/bugs/?16813

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16813] AI love not edged towards zero each turn

2010-10-03 Thread anonymous

URL:
  http://gna.org/bugs/?16813

 Summary: AI love not edged towards zero each turn
 Project: Freeciv
Submitted by: None
Submitted on: Sunday 10/03/10 at 19:07 CEST
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: jkhemm...@jkhemming.co.uk
 Open/Closed: Open
 Release: 2.2.3
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

In advdiplomacy.c, AI love is supposed to be reduced or increased towards
zero each turn to prevent it from reaching the extreme ends of -1000
(genocidal) or 1000 (worshipful) and basically getting stuck there. A bug in
this line stops it from working.

This patch fixes the line, and also adds an additional adjustment so that
negative love is recovered faster than positive love is reduced, to further
prevent the AI from tending too far towards the genocidal end of things.



___

File Attachments:


---
Date: Sunday 10/03/10 at 19:07 CEST  Name: ai_love.diff  Size: 767B   By:
None

http://gna.org/bugs/download.php?file_id=10597

___

Reply to this item at:

  http://gna.org/bugs/?16813

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev