• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed Nation in war with itself

ANSEL

Corsair
Storm Modder
Hearts of Oak Donator
Free play : Im playing " The Might of Spain" naval officer. The governor of San Juan tells me im in
war whit Spain? but I am a Spanish officer:shock, seadogs2_0000.jpg
 

Attachments

  • compile.zip
    2.3 KB · Views: 86
  • -=Player=- Puerto Rico. San Juan townhall May 23rd, 1813.zip
    643.6 KB · Views: 109
  • seadogs2_0009.jpg
    seadogs2_0009.jpg
    456.6 KB · Views: 105
Free play : Im playing " The Might of Spain" naval officer. The governor of San Juan tells me im in
war whit Spain? but I am a Spanish officer:shock,
He's telling you that SPAIN is at war with Spain. But that isn't exactly better. :facepalm
 
No. I dont know what to do now. I cant be a Spanish:aar officer in war with Spain
 
Guess they've got a civil war on theire hands :p.
 
No. I dont know what to do now. I cant be a Spanish:aar officer in war with Spain
Extract attached to your PROGRAM\NATIONS folder, then execute InitRelations() through console.
That seems to be the cleanest and best solution.

Since I removed a lot of code, nations weren't being set to friendly with themselves anymore, which obviously is rather.... uhm.... WRONG! :shock
 

Attachments

  • relations_init.zip
    650 bytes · Views: 92
Is that the line for the console? Dont work for me, sorry! have to ask:
exactly what the code line is?
 
Extract attached to your PROGRAM\NATIONS folder, then execute InitRelations() through console.
That seems to be the cleanest and best solution.

Since I removed a lot of code, nations weren't being set to friendly with themselves anymore, which obviously is rather.... uhm.... WRONG! :shock
Well, now at least I got some error logs about the problem
 

Attachments

  • error.zip
    342 bytes · Views: 86
Is that the line for the console? Dont work for me, sorry! have to ask:
exactly what the code line is?
After extracting that file to the correct folder, execute this through console:
Code:
void ExecuteConsole()
{
   ref pchar = GetMainCharacter();
   ref ch;
   int i;
   int limit;
  
InitRelations(); // PB: <----------- THIS LINE TO BE ADDED ---------
Then use F12 to execute like usual.
 
Spain is still hostile to me and Spain. Im known as unrecognised?seadogs2_0035.jpg
 
Spain is still hostile to me and Spain. Im known as unrecognised?View attachment 22026
Does the governor still tell you he's at war with his own nation? If not, that part is at least already fixed.
Hadn't noticed it was wrong towards yourself too. For that, try this through console:
Code:
SetRelationsAsNation(GetServedNation());
 
I have been looking around, and its only when you choose "The Might of Spain" this thing will
happen. I will try the console now.
 
The governor still tells me he is in war with Spain, and Spain is still hostile to me. seadogs2_0042.jpg
 
The governor still tells me he is in war with Spain, and Spain is still hostile to me. View attachment 22027
Extract to your main game folder, load your save, press F12 and it should be OK I hope.
If not, try New Game and see if it still happe.s
 

Attachments

  • PROGRAM.zip
    22.9 KB · Views: 108
  • Like
Reactions: A.H
Just to inquire, this is part of the new update right?
Because on most nations, all relations are trade/alliance... which is weird because I chose spanish flag, and theres the beer cup relation on all nations INCLUDING pirates...


77.jpg
so to attack pirates I had to choose english flag..

and to attack english, I had to choose pirate flag...


France & spain both have full alliance with all nations :eek:


Ps. New error logs if anyone cares :D
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: seadogs.c; line: 724
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: nations\nations.c; line: 828
float function return integer value
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
RUNTIME ERROR - file: seadogs.c; line: 713
Save - ARef to non existing attributes branch
 

Attachments

  • error.log
    3.5 KB · Views: 97
Ehm... With the last patch, there were some changes to relations, if I am not mistaken...

So... I went to a Personal and free play in the Early Explorers, set my country and flag to England, and... well... I think the countries are too friendly each other. What do you guys think? Is this strange?

Oh, by the way, some countries are neutral or allies to Pirates. Erhm... Wut? o_O

Relaciones extrañas.jpg
 
Ehm... With the last patch, there were some changes to relations, if I am not mistaken...

So... I went to a Personal and free play in the Early Explorers, set my country and flag to England, and... well... I think the countries are too friendly each other. What do you guys think? Is this strange?

Oh, by the way, some countries are neutral or allies to Pirates. Erhm... Wut? o_O
Wut indeed! :shock
Have you got the extra fix for that yet? I posted it yesterday in this thread, but it was moved here now:
http://www.piratesahoy.net/threads/nation-in-war-with-itself.25537/#post-513247
That might at least help something. I hope....
 
Back
Top