Complete.Org: Mailing Lists: Archives: freeciv-ai: September 2004:
[freeciv-ai] Re: [Freeciv-Dev] (PR#10183) Moving loop
Home

[freeciv-ai] Re: [Freeciv-Dev] (PR#10183) Moving loop

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [freeciv-ai] Re: [Freeciv-Dev] (PR#10183) Moving loop
From: "Oursinou Desman" <desman@xxxxxxxxx>
Date: Mon, 20 Sep 2004 04:12:53 -0700
Reply-to: rt@xxxxxxxxxxx

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



Hello,

Find here a saved game with loop from A to B to C to D to A and "come and go" 
between two points A
and B.

I modified the CVS sources just to add some log messages, one just entering 
routine, and the other
just before recursiv call. This is the result :


3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (157,87)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (157,87)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (152,86)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (152,86)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} entering in 
ai_manage_explorer

You can see the loop from (150,84) to (152,84),(157,87),(152,86) and back to 
(150,84)

And this is the "come and go" just after the loop.

3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (152,84)->(-1,-1){0,0} entering in 
ai_manage_explorer
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} before calling 
ai_manage_explorer from itself
3: Valdemar's Obusier[2181] (150,84)->(-1,-1){0,0} entering in 
ai_manage_explorer


For the diplomatic system, be sure I'm not crazy and don't want to rewrite 
"all" myself. I learned
to use work done before by others. :o)

I don't know yet the algorithm which chooses targets, but, in all the games, 
I'm the target of
every AI players. Why so much hate ???? Is it because I play with french people 
?? :o))))))

So, after this joke, I'll see the routines and, maybe, show you something after 
some days.

I have some ideas for new units and new buildings, but, as Kipling said, this 
is another story and
I'll show you this for version 3. :)


Regards.




----------------------------------------------------------

S'il n'est pas bon d'être pris entre l'arbre et l'écorce, il ne l'est pas non 
plus d'être pris entre
les Arabes et les Corses.

Pierre Dac

----------------------------------------------------------

Oursinou Desman
Dans sa tanière
99999 Montagne sur Ciel
France


Attachment: pgptU9tUykL6i.pgp
Description: PGP signature


[Prev in Thread] Current Thread [Next in Thread]