[Freeciv-Dev] (PR#9587) Bug in agents queueing system (fwd)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#9587) Bug in agents queueing system (fwd) |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Mon, 2 Aug 2004 14:10:17 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9587 >
I'm sending this to RT for registration as a bug.
- Per
---------- Forwarded message ----------
Date: Mon, 2 Aug 2004 19:20:47 +0200 (CEST)
From: Guillermo Lopez Alejos <100030179@xxxxxxxxxxxxxxx>
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Bug in agents queueing system
Hi,
I have find that the "turn_start_notify()" callback is not called for
the third defined agent... I'm starting thinking that it's only called
for the first defined agent.
See this:
The original agent initialization is (with puppeteer patch applied):
void agents_init(void)
{
agents.entries_used = 0;
call_list_init(&agents.calls);
/* Add init calls of agents here */
cma_init();
cmafec_init();
puppeteer_init_as_agent();
simple_historian_init();
}
But if I put puppeteer_init_as_agent() and simple_historian_init() in
firs place:
void agents_init(void)
{
agents.entries_used = 0;
call_list_init(&agents.calls);
/* Add init calls of agents here */
puppeteer_init_as_agent();
simple_historian_init();
cma_init();
cmafec_init();
}
Then "Puppeteer" agent is placed in the firs position of the
"agents.entries" array and the turn_start_notify() callback is performed
correctly (I supose that there is something in the CMA that stops
working if turn_start_notify() is not called for it).
Now I'm really busy with my final career project, but if I find the bug,
I'll submit a patch.
--
Guillermo López Alejos - N.I.A. 100030179
Universidad Carlos III de Madrid
Ingeniería Técnica en Informática de Gestión
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#9587) Bug in agents queueing system (fwd),
Per I. Mathisen <=
|
|