Incidencia #44503

Wrong message when contacting _again_ a nation

Abrir Fecha: 2022-05-03 21:16 Última actualización: 2022-06-11 21:51

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
(Ninguno)
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
1

Details

3.0.1 , ailevel hard or higher

My nation was in peace with Iraq, then contact was lost.

Later, the contact was established again, and the same agressive message as in first contact occured. But we are in peace, so this message is wrong.

Ticket History (3/7 Histories)

2022-05-03 21:16 Updated by: alain_bkr
  • New Ticket "Wrong message when contacting _again_ a nation" created
2022-05-31 07:24 Updated by: cazfi
Comentario

Maybe relevant: AI type (apparently the only one the server had been built with) is 'tex'.

2022-05-31 07:34 Updated by: cazfi
Comentario

The diplstate information in the savegame says (consistently both directions) that Nader and Saddam are currently in "Peace", but that the closest relation they have ever had is "Never Met"

2022-05-31 07:51 Updated by: cazfi
Comentario

Reply To cazfi

currently in "Peace", but that the closest relation they have ever had is "Never Met"

Should have sanity check against that -> #44732

2022-06-06 10:17 Updated by: cazfi
Comentario

While there seems to be number of issues in keeping max_state updated, it's probably not the root cause of the behavior seen in the original report.

make_contact() checks for current diplstate, not max_state, before handling "new contact". And what I gather from the code, that diplstate should never go back to DS_NO_CONTACT even when contact is lost (loss of contact just means contact turns counter having reached zero)

2022-06-11 21:51 Updated by: cazfi

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar