• 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 Game crashes on entering Sao Jorge port

SirDuke

Landlubber
hi everybody!
some strange thing just happend...
After I´ve captured a town for my own (Marigot), I wanted to collect my berthed ships from sao jorge.
But as I tried to moor there and enter the port my game crashed.
so I sneak into town from the shore.
It was possible to enter the town, but as I walked through the gate to the port it crashed again.
"Whatever" I thought, and decided to load a older safegame, because Marigot as a home was a bad choice for my taste too...
The second try was on Santo Domingo as my new home, this time I pulled my berthed ships there first ;-)
But I was curious...
So I just sailed to Sao Jorge and moored in front of the port.
But as I try to enter; CRASH :-(
It MUST be connected with my town capure... But how?
No error log.
But here´s my savegame in sao jorge haven.
and my compile log.
For some time I have no problem with sneaking into town...
but i hope someone could find a solution and fix this problem.
I don´t know where to search :-(

Maaaany thanks
Duke
 

Attachments

  • -=Sir Duke=- Open Sea March 7th, 1753.rar
    931.9 KB · Views: 139
  • compile.log
    2.9 KB · Views: 140
First time I hear of this one. I moved it to the Bug Tracker to make sure I don't forget.

It is probably something to do with ship berthing.
It's there anything in system.log?
 
Hey Captain!
I would like to say berthing is not the problem.
BEFORE capturing no matter what town for myself, I can walk around the port.
AFTER capturing something, my game crashes while changeing into walk-on-land mode, and ONLY for Sao Jorge Port area.

But you´re totaly right with the System.log
There´s a problem, but I cant´t solve it myself. I´m sorry :oops:

Here´s my log:
Can you help?
 

Attachments

  • system.log
    3.3 KB · Views: 141
Maybe tomorrow. Currently only have my phone so can't do much.
 
Really, no need to hurry!
I´d love to habe that fixed, but I can easily walk from the shore into town.
No problem as long as I stay away from the port area.
And actually Sao Jorge Port is not very important for the story :)
Thanks anyway!
 
This is why it crashes:
Code:
resource\models\ships\Fort\Fort.gm: can't open geometry file
WARNING! Can`t model class pointer for ShipModel
WARNING!!! Missing INIT message to ROPE - bad ship model
 
I can avoid the crash by adding a 'return' statement in locations_loader.c like this:
Code:
void LocLoadShips(ref Location)
{
   return;
   int     i, j;

No ships in port anymore at all, but no crash either.
 
For some bizarre reason, the game is trying to load THIS character in the scene too:
Code:
LocLoadShips: Christina Bastos (Santo Domingo Commander) has Fort
 
@SirDuke: Execute this line through console to fix:
Code:
DeleteAttribute(CharacterFromID("Santo Domingo Commander"), "location.from_sea");

I am not quite sure how this can possibly have happened.
Only reason I can think of is that you had "Christina Bastos" as a companion with you in Sao Jorge.
For whatever reason, the game remembered that even though she isn't anymore.
Did you sell her ship while in Sao Jorge by any chance?

To avoid this in the future, I added two lines of code to hopefully fix this.
Extract attached file to PROGRAM\Towns and hopefully it then won't happen again.
This will not fix your current predicament; to do that, you have to use the above console command.
 

Attachments

  • Towntable.c
    64.7 KB · Views: 142
Great!

@SirDuke:

Only reason I can think of is that you had "Christina Bastos" as a companion with you in Sao Jorge.
For whatever reason, the game remembered that even though she isn't anymore.
Did you sell her ship while in Sao Jorge by any chance?

Nope, I just recruited her as a passenger a few days ago, to have some officers to be placed in the gouvernment and in the fort in my private Santo Domingo Headquarter
 
Nope, I just recruited her as a passenger a few days ago, to have some officers to be placed in the gouvernment and in the fort in my private Santo Domingo Headquarter
Then I don't know how this happened. :confused:
 
Back
Top