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.

Unconfirmed Bug Peter Blood error.

Discussion in 'Build Mod Bug Tracker' started by Hylie Pistof, Oct 20, 2017.

  1. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    I have a problem with the 2nd part of the Peter blood side quest at Port au Pitre. It involves Jean Dusac, the man you need to talk to outside the brothel who tells you what happened there.

    The town drunks err soldiers keep killing him before I can get to him from the store. In the last game it glitched one time and then worked. Now it does not work at all.

    In the save, go into the tavern and move Peter Blood to the active list and then exit.
     

    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,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Must be something wrong with the AI groups.

    @Grey Roger, does this ring any bells for you?
     
  3. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,415
    No, that is not a problem I've encountered whenever I've done the "Peter Blood" quests before. Also, have a look at that "error.log", because there's something odd going on. There are repeated blocks like this:
    Code:
    RUNTIME ERROR - file: islands\islands.c; line: 17
    invalid index -1 [size:24]
    RUNTIME ERROR - file: islands\islands.c; line: 17
    function 'GetIslandByIndex' stack error
    RUNTIME ERROR - file: interface\shipyard.c; line: 5140
    Using reference variable without initializing
    RUNTIME ERROR - file: interface\shipyard.c; line: 5140
    Using reference variable without initializing
    RUNTIME ERROR - file: interface\shipyard.c; line: 5140
    null ap
    RUNTIME ERROR - file: interface\shipyard.c; line: 5140
    null ap
    RUNTIME ERROR - file: interface\shipyard.c; line: 5142
    uninitialized aref
    @Hylie Pistof: do the soldiers attack anyone else? And does Jean Dusac fight back, or does he just stand there and let the soldiers hit him?
     
    Last edited: Oct 20, 2017
  4. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Weird! Try pressing F11 and see if that goes away.
    Probably not, but worth a shot.
     
  5. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    No the soldiers do not attack anyone else and one time I did manage to get to see the fight. Jean Dusac drew his sword and was killed with one blow. All of the other times he was shot before I could get around the corner to see it happen.
     
  6. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,415
    Something is seriously messed up with AI group relations in that savegame.

    I tried playing it and indeed, Jean Dusac gets killed. I managed to fix that by putting a line into "quests_reaction.c" to assign him to group "FRANCE_CITIZENS". But Jean Dusac was just the start of the trouble. After talking to him (and to Cecile Bienbonne), I was able to bribe guard Etienne Dupuis to let me into the prison to see Tkixi Pijuan - who is sometimes, but not always, cowering in "afraid" mode so I can't talk to him. If not, I can talk, he's drunk and incoherent, so I retire to the tavern. Next day I return to prison and, if he's not in "afraid" mode, Tkixi (how do you pronounce that? :p) tells me about his ship. I'm then supposed to talk again to Etienne Dupuis, but he refuses to start a dialog. Not a blank dialog, but no dialog at all - he just stands there inert. I tried moving him to "FRANCE_SOLDIERS" but all that did was make him consistently go into "afraid" mode, so I still couldn't talk to him. At that point I gave up, not least because if AI group relations are this badly messed up then they'll probably get in the way again later.

    The questbook shows that @Hylie Pistof has done some other quests, but none that have caused any side-effects as far as I know. The only ones which I've almost never done myself are the "fetch" quests and I doubt they're what affected AI group relations. The other difference is that @Hylie Pistof has installed @DeathDaisy's music pack, which again is unlikely to do anything to group relations. (The sound associations set up by the music pack must be stored in the savegame because one thing I tried was going to sea, getting clear of Guadeloupe in the hope that would reset local AI groups, then returning. It didn't help, but on the way back into Point a Pitre the background music to sailing was Pachebel's Canon, and normally the only time you should hear that is during Ardent's wedding. There were, of course, also a lot of messages in "system.log" about being unable to find the rest of the music files called for by that pack.)

    For comparison, I then loaded up one of my own savegames and blitzed through the "Rescue Peter Blood's Crew" quest, then went straight to Guadeloupe and completed "Search for Peter Blood's Ship" without any similar trouble. So there's nothing inherently wrong with the quest code.
     
  7. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    I think if something unexpected happens somewhere during play, the "no AI group" can become hostile with another group.
    That then causes massive trouble, such as this.
     
  8. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    The only oddity in my game has been that right from the start the soldiers in the taverns and the Dutch soldiers at Philipsburg are always drawing their swords and once in a while will attack someone sitting at a table, like the smuggler. This sometimes makes the bartender cower so I can not talk to him. Come to think of it, it is only the French and dutch soldiers who behave badly. I wonder if that is because I always go into no mans land on Marigot one time for each side and watch them fight each other and then harvest their weapons for quick cash. I never keep their weapons.

    Yes the music used in the last game is saved. I replaced the 3rd track in day sailing with Pachelbel, and also replaced 2 jungle tracks with more appropriate music. Now instead of playing with the headphones laying on the desk I actually wear them and listen to the music.
     
  9. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,770
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Some other oddity at Philipsburg ,and maybe in the other town to, is that you can draw your sword
    at the the townhall, I haven't tried to kill the Governor yet :dance
     
  10. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    Now this is odd. :nerbz

    I just went to Point a Pitre and happened to have Peter Blood in my shore party. Forgot all about this side quest. We arrived in the middle of the night but he still ran into the store. Knowing it is broken I replaced him with another officer and then went into the tavern and spent the night. The next morning PB was gone but the sailor he found in the store was still there. So, I put PB back in my shore party, exited and reentered the store and the dialog went normally. I then took off to the brothel expecting to find Jean Dusac dead as always but he was still alive! :8q

    I then continued the quest normally by talking to the woman, going to the prison and bribing the soldier, and Pixie (who knows how to pronounce that name?) was happily singing about being king of the world. I left the jail, saved, and came here to report. :dance
     

    Attached Files:

    Pieter Boelen likes this.
  11. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    I now have a new officer and a new ship! :keith The only hitch was on the beach before boarding the Arabella. That has always been a bad spot so it is a good idea to save after talking to Pixie. I have no clue as to what got it going again but maybe there is a clue in those files somewhere.
     

Share This Page