1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Fixed Game crashes on entering Sao Jorge port

Discussion in 'Bug Archive' started by SirDuke, May 21, 2016.

  1. SirDuke

    SirDuke Landlubber

    Joined:
    May 15, 2016
    Messages:
    24
    Gender:
    Male
    Occupation:
    simple grafter
    Location:
    Germany
    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
     

    Attached Files:

  2. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    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?
     
  3. SirDuke

    SirDuke Landlubber

    Joined:
    May 15, 2016
    Messages:
    24
    Gender:
    Male
    Occupation:
    simple grafter
    Location:
    Germany
    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?
     

    Attached Files:

  4. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Maybe tomorrow. Currently only have my phone so can't do much.
     
  5. SirDuke

    SirDuke Landlubber

    Joined:
    May 15, 2016
    Messages:
    24
    Gender:
    Male
    Occupation:
    simple grafter
    Location:
    Germany
    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!
     
    Pieter Boelen likes this.
  6. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    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
    
     
  7. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    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.
     
  8. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    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
    
     
  9. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    @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.
     

    Attached Files:

  10. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
  11. SirDuke

    SirDuke Landlubber

    Joined:
    May 15, 2016
    Messages:
    24
    Gender:
    Male
    Occupation:
    simple grafter
    Location:
    Germany
    Great!

    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
     
  12. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,377
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Then I don't know how this happened. :confused:
     

Share This Page