[freeciv-ai] Re: AI diplomacy v5 (PR#2413)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Jan 03, 2003 at 07:22:38PM -0800, Per I. Mathisen via RT wrote:
>
> AI Diplomacy patch v5. Notable changes:
> - We now get pissed at allies who don't help us (although we still don't
> remember such insults).
> - We break shared vision before going to war or ditching useless allies.
Why aren't we doing shared vision?
> - We talk like humans do. Well, almost. We're not entirely Turing
> certified yet.
I only see things like:
2: (2 ai diplo) requesting support from 4 to crush 1
in the serveroutput but nothing in the Chatline.
> - We try to pick fights with civilizations closer to our homeland rather
> than that other guy on the other side of the map. Try to.
Thats not always the way to win. Sometimes you have to ally with your
neighbours and attack the players on the rest of the map.
> - We know about teams, and don't backstab team members anymore.
Have to look at that a second time.
> - We go straight to war if that is what we mean to do, not stopping by
> neutrality.
Fine
> - We have a lots less bugs now than we used to. Really. And we have lots
> of new interesting bugs, too!
Ok:
2: (8 ai diplo) Against 7 we have war desire 0 and fear -70659
2: (8 ai diplo) demanding support from 4 to crush 5
civserver: aiunit.c:1016: ai_military_rampage: Assertion `count >= 0'
failed.
Aborted (core dumped)
freeciv@hhi214:~/freeciv-aidip$ gdb server/civserver core
#0 0x40073911 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x40073911 in kill () from /lib/libc.so.6
#1 0x40073732 in raise () from /lib/libc.so.6
#2 0x40074846 in abort () from /lib/libc.so.6
#3 0x4006d9a9 in __assert_fail () from /lib/libc.so.6
#4 0x080c5ed8 in ai_military_rampage (punit=0x83679b0, threshold=2) at
aiunit.c:1016
#5 0x080c879e in ai_military_attack (pplayer=0x815075c,
punit=0x83679b0)
at aiunit.c:2095
#6 0x080c93fe in ai_manage_military (pplayer=0x815075c,
punit=0x83679b0)
at aiunit.c:2466
#7 0x080c97e0 in ai_manage_unit (pplayer=0x815075c, punit=0x83679b0) at
aiunit.c:2575
#8 0x080c989f in ai_manage_units (pplayer=0x815075c) at aiunit.c:2590
#9 0x080c1fc1 in ai_do_first_activities (pplayer=0x815075c) at
aihand.c:430
#10 0x0804d82f in ai_start_turn () at srv_main.c:431
#11 0x0804fc75 in main_loop () at srv_main.c:1775
> All the big features are in except hatred. A lot of tuning work remains to
> do be done, but for that it needs playtesting. So go for it!
really nice,
Thomas
|
|