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.

Confirmed Bug Petit Tabac freeze

Discussion in 'Build Mod Bug Tracker' started by Edvinas681, Apr 18, 2017.

  1. Edvinas681

    Edvinas681 Sailor Apprentice

    Joined:
    Jan 2, 2010
    Messages:
    99
    There seem to be a problem in the Bartolomeu o Portugues storyline. During the silver train quest, when I arrive at the island and try to enter the jungle from the beach, my game freezes and generates an error log. I will post it here, there might be a clue what could be wrong.

    Edit: Also, I can't seem to start "The Hunter" quest even though the wiki suggests that there is a choice, but whenever I sail to Speightstown, Serafino Masarenhas is not there. @Pieter Boelen any idea what could be wrong?
     

    Attached Files:

    Last edited: Apr 18, 2017
  2. Edvinas681

    Edvinas681 Sailor Apprentice

    Joined:
    Jan 2, 2010
    Messages:
    99
    Can anybody help? I can't advance in the story because of this bug :/
     
  3. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    This looks suspicious:
    Code:
    RUNTIME ERROR - file: Loc_ai\LAi_utils.c; line: 624
    function 'LAi_CreateFantomCharacterExOtAt' stack error
    RUNTIME ERROR - file: Loc_ai\LAi_utils.c; line: 624
    function 'LAi_CreateFantomCharacterExOtAt' stack error
    RUNTIME ERROR - file: Loc_ai\LAi_utils.c; line: 624
    function 'LAi_CreateFantomCharacterExOtAt' stack error
    RUNTIME ERROR - file: Loc_ai\LAi_utils.c; line: 624
    function 'LAi_CreateFantomCharacterExOtAt' stack error
    RUNTIME ERROR - file: Loc_ai\LAi_utils.c; line: 624
    function 'LAi_CreateFantomCharacterExOtAt' stack error
    RUNTIME ERROR - file: Loc_ai\LAi_utils.c; line: 624
    function 'LAi_CreateFantomCharacterExOtAt' stack error
    
    With the related details:
    Code:
    Quest name fightindians FOUND in QuestComplete
    [...]
    ERROR: missing skillfactor for type 0 and skill Leadership
    index = 2011
    id = Location fantom character <11>
    location = Battle_Rocks_Jungle_04
      locator = goto2
      group = goto
      from_sea =
      fantom = 1
    model = Native
      entity = NPCharacter
      animation = Man
      height = 1.8000000
    sex = skeleton
    faceid = 259
    headmodel = h_Native
    reputation = 44
    friend = -1.0000000
    guard = 1
    isindian = 1
    nation = 5
      name = 5
    name = Santos
    lastname = Rivaldo
    old =
      name = Santos
      lastname = Rivaldo
      chr_ai =
        group = JUNGLE_INDIANS
    rank = 12
    quest = True
      officertype = 0
      meeting = 0
      officerprice = 0
    money = 28
    fakelevels = 0
    chr_ai =
      hp_max = 139.0000000
      hp = 139.0000000
      dmgbldmin = 26.0000000
      dmgbldmax = 40.0000000
      piercing = 0.6000000
      block = 0.1000000
      charge_max = 1
      charge = 1
      chargeprc = 1
      charge_dlt = 0.6666667
      dmggunmin = 30.0000000
      dmggunmax = 40.0000000
      accuracy = 0.8000000
      group = JUNGLE_INDIANS
      alarmreact = 1
      grpalarmr = 1
      type = warrior
        stay = 1
        index =
        dialog = 0
      tmpl = fight
        target = 0
        state = go
        time = 0
        nostop = 4.2550001
        changestatetime = 0
    items =
      tomahawk = 1
      pistolbow = 1
      bladearrows = 1
    equip =
      blade = tomahawk
      gun = pistolbow
    spyglass =
      itemid = spyglass2
    dialog =
      currentnode = First time
      tempnode = First time
    experience = 162937
      leadership = 0
      fencing = 0
      sailing = 0
      accuracy = 0
      cannons = 0
      grappling = 0
      repair = 0
      defence = 0
      commerce = 0
      sneak = 0
    skill =
      freeskill = 0
      leadership = 4
        charmod = 0
        importance = 15
        bonus = 1.0000000
      fencing = 2
        charmod = 0
        importance = 18
        bonus = 1.0000000
      sailing = 1
        charmod = 0
        importance = 9
        bonus = 1.0000000
      accuracy = 4
        charmod = 0
        importance = 17
        bonus = 1.0000000
      cannons = 2
        charmod = 0
        importance = 6
        bonus = 1.0000000
      grappling = 6
        charmod = 0
        importance = 23
        bonus = 1.0000000
      repair = 1
        charmod = 0
        importance = 2
        bonus = 1.0000000
      defence = 2
        charmod = 0
        importance = 8
        bonus = 1.0000000
      commerce = 5
        charmod = 0
        importance = 17
        bonus = 1.0000000
      sneak = 5
        charmod = 0
        importance = 12
        bonus = 1.0000000
    loyality = 17
    alignment = good
    homelocation = Battle_Rocks_Jungle_04
      group =
      locator =
    homestate =
    skillimportancetotal = 127
    skillsetup = 0
    officerprice = 0
    perks =
      freepoints = 12
      list =
    bonussetup = 1
    assignrank = 11
    isfantom = 1
    actions =
      idle =
        i1 = idle_1
        i2 = idle_2
        i3 = idle_3
        i4 = idle_4
        i5 = idle_5
        i6 = idle_6
        i7 = idle_7
        i8 = idle_8
        i9 = idle_9
        i10 = idle_10
      walk = walk
      backwalk = back walk
      run = run
      backrun = back run
      stsup = stairs up
      stsuprun = run stairs up
      stsdown = stairs down
      stsdownrun = run stairs down
      stsupback = back stairs up
      stsdownback = back stairs down
      stsuprunback = back run stairs up
      stsdownrunback = back run stairs down
      turnleft = turn left
      turnright = turn right
      swim = swim
      hit = face_hit
        h1 = hit_1
        h2 = hit_2
        h3 = hit_3
      sidestep_left_on = skip
      sidestep_right_on = skip
      fightwalk = fight walk
      fightbackwalk = fight back walk
      fightrun = fight run
      fightbackrun = fight back run
      attack =
        a1 = attack_1
        a2 = attack_2
        a3 = attack_3
        a4 = attack_4
        a5 = attack_5
        a6 = attack_6
        a7 = attack_7
        a8 = attack_8
      attacktl =
        a1 = attack_left_1
      attacktr =
        a1 = attack_right_1
      block = block
      blockhit = block_hit
      recoil = Recoil
      shot = Shot
      fightsidestep_left_on = skip
      fightsidestep_right_on = skip
      fightdead =
        d1 = death_0
        d2 = death_1
        d3 = death_2
        d4 = death_3
      fightidle =
        i1 = fight stand_1
        i2 = fight stand_2
        i3 = fight stand_3
        i4 = fight stand_4
      dead =
        d1 = death_citizen_1
        d2 = death_citizen_2
    iswarrior = 1
    perktypes = 157
      combat = 14
      sailing = 10
      sea combat = 14
      sea defence = 10
      boarding = 26
      merchant = 26
      daring = 14
      party = 13
      repair = 10
      misc = 20
      highest = 4
    ERROR: missing skillfactor for type 0 and skill Leadership
    index = 2011
    id = Location fantom character <11>
    location = Battle_Rocks_Jungle_04
      locator = goto2
      group = goto
      from_sea =
      fantom = 1
    model = Native
      entity = NPCharacter
      animation = Man
      height = 1.8000000
    sex = skeleton
    faceid = 259
    headmodel = h_Native
    reputation = 44
    friend = -1.0000000
    guard = 1
    isindian = 1
    nation = 5
      name = 5
    name = Santos
    lastname = Rivaldo
    old =
      name = Santos
      lastname = Rivaldo
      chr_ai =
        group = JUNGLE_INDIANS
    rank = 12
    quest = True
      officertype = 0
      meeting = 0
      officerprice = 0
    money = 28
    fakelevels = 0
    chr_ai =
      hp_max = 139.0000000
      hp = 139.0000000
      dmgbldmin = 26.0000000
      dmgbldmax = 40.0000000
      piercing = 0.6000000
      block = 0.1000000
      charge_max = 1
      charge = 1
      chargeprc = 1
      charge_dlt = 0.6666667
      dmggunmin = 30.0000000
      dmggunmax = 40.0000000
      accuracy = 0.8000000
      group = JUNGLE_INDIANS
      alarmreact = 1
      grpalarmr = 1
      type = warrior
        stay = 1
        index =
        dialog = 0
      tmpl = fight
        target = 0
        state = go
        time = 0
        nostop = 4.2550001
        changestatetime = 0
    items =
      tomahawk = 1
      pistolbow = 1
      bladearrows = 1
    equip =
      blade = tomahawk
      gun = pistolbow
    spyglass =
      itemid = spyglass2
    dialog =
      currentnode = First time
      tempnode = First time
    experience = 162937
      leadership = 0
      fencing = 0
      sailing = 0
      accuracy = 0
      cannons = 0
      grappling = 0
      repair = 0
      defence = 0
      commerce = 0
      sneak = 0
    skill =
      freeskill = 0
      leadership = 4
        charmod = 0
        importance = 15
        bonus = 1.0000000
        modifier = 0
      fencing = 2
        charmod = 0
        importance = 18
        bonus = 1.0000000
      sailing = 1
        charmod = 0
        importance = 9
        bonus = 1.0000000
      accuracy = 4
        charmod = 0
        importance = 17
        bonus = 1.0000000
      cannons = 2
        charmod = 0
        importance = 6
        bonus = 1.0000000
      grappling = 6
        charmod = 0
        importance = 23
        bonus = 1.0000000
      repair = 1
        charmod = 0
        importance = 2
        bonus = 1.0000000
      defence = 2
        charmod = 0
        importance = 8
        bonus = 1.0000000
      commerce = 5
        charmod = 0
        importance = 17
        bonus = 1.0000000
      sneak = 5
        charmod = 0
        importance = 12
        bonus = 1.0000000
    loyality = 17
    alignment = good
    homelocation = Battle_Rocks_Jungle_04
      group =
      locator =
    homestate =
    skillimportancetotal = 127
    skillsetup = 0
    officerprice = 0
    perks =
      freepoints = 12
      list =
    bonussetup = 1
    assignrank = 11
    isfantom = 1
    actions =
      idle =
        i1 = idle_1
        i2 = idle_2
        i3 = idle_3
        i4 = idle_4
        i5 = idle_5
        i6 = idle_6
        i7 = idle_7
        i8 = idle_8
        i9 = idle_9
        i10 = idle_10
      walk = walk
      backwalk = back walk
      run = run
      backrun = back run
      stsup = stairs up
      stsuprun = run stairs up
      stsdown = stairs down
      stsdownrun = run stairs down
      stsupback = back stairs up
      stsdownback = back stairs down
      stsuprunback = back run stairs up
      stsdownrunback = back run stairs down
      turnleft = turn left
      turnright = turn right
      swim = swim
      hit = face_hit
        h1 = hit_1
        h2 = hit_2
        h3 = hit_3
      sidestep_left_on = skip
      sidestep_right_on = skip
      fightwalk = fight walk
      fightbackwalk = fight back walk
      fightrun = fight run
      fightbackrun = fight back run
      attack =
        a1 = attack_1
        a2 = attack_2
        a3 = attack_3
        a4 = attack_4
        a5 = attack_5
        a6 = attack_6
        a7 = attack_7
        a8 = attack_8
      attacktl =
        a1 = attack_left_1
      attacktr =
        a1 = attack_right_1
      block = block
      blockhit = block_hit
      recoil = Recoil
      shot = Shot
      fightsidestep_left_on = skip
      fightsidestep_right_on = skip
      fightdead =
        d1 = death_0
        d2 = death_1
        d3 = death_2
        d4 = death_3
      fightidle =
        i1 = fight stand_1
        i2 = fight stand_2
        i3 = fight stand_3
        i4 = fight stand_4
      dead =
        d1 = death_citizen_1
        d2 = death_citizen_2
    iswarrior = 1
    perktypes = 157
      combat = 14
      sailing = 10
      sea combat = 14
      sea defence = 10
      boarding = 26
      merchant = 26
      daring = 14
      party = 13
      repair = 10
      misc = 20
      highest = 4
    ERROR: missing skillfactor for type 0 and skill Fencing
    index = 2011
    id = Location fantom character <11>
    location = Battle_Rocks_Jungle_04
      locator = goto2
      group = goto
      from_sea =
      fantom = 1
    model = Native
      entity = NPCharacter
      animation = Man
      height = 1.8000000
    sex = skeleton
    faceid = 259
    headmodel = h_Native
    reputation = 44
    friend = -1.0000000
    guard = 1
    isindian = 1
    nation = 5
      name = 5
    name = Santos
    lastname = Rivaldo
    old =
      name = Santos
      lastname = Rivaldo
      chr_ai =
        group = JUNGLE_INDIANS
    rank = 12
    quest = True
      officertype = 0
      meeting = 0
      officerprice = 0
    money = 28
    fakelevels = 0
    chr_ai =
      hp_max = 139.0000000
      hp = 139.0000000
      dmgbldmin = 26.0000000
      dmgbldmax = 40.0000000
      piercing = 0.6000000
      block = 0.1000000
      charge_max = 1
      charge = 1
      chargeprc = 1
      charge_dlt = 0.6666667
      dmggunmin = 30.0000000
      dmggunmax = 40.0000000
      accuracy = 0.8000000
      group = JUNGLE_INDIANS
      alarmreact = 1
      grpalarmr = 1
      type = warrior
        stay = 1
        index =
        dialog = 0
      tmpl = fight
        target = 0
        state = go
        time = 0
        nostop = 4.2550001
        changestatetime = 0
    items =
      tomahawk = 1
      pistolbow = 1
      bladearrows = 1
    equip =
      blade = tomahawk
      gun = pistolbow
    spyglass =
      itemid = spyglass2
    dialog =
      currentnode = First time
      tempnode = First time
    experience = 162937
      leadership = 0
      fencing = 0
      sailing = 0
      accuracy = 0
      cannons = 0
      grappling = 0
      repair = 0
      defence = 0
      commerce = 0
      sneak = 0
    skill =
      freeskill = 0
      leadership = 4
        charmod = 0
        importance = 15
        bonus = 1.0000000
        modifier = 0
        effective = 4
        officertype = 0
      fencing = 2
        charmod = 0
        importance = 18
        bonus = 1.0000000
      sailing = 1
        charmod = 0
        importance = 9
        bonus = 1.0000000
      accuracy = 4
        charmod = 0
        importance = 17
        bonus = 1.0000000
      cannons = 2
        charmod = 0
        importance = 6
        bonus = 1.0000000
      grappling = 6
        charmod = 0
        importance = 23
        bonus = 1.0000000
      repair = 1
        charmod = 0
        importance = 2
        bonus = 1.0000000
      defence = 2
        charmod = 0
        importance = 8
        bonus = 1.0000000
      commerce = 5
        charmod = 0
        importance = 17
        bonus = 1.0000000
      sneak = 5
        charmod = 0
        importance = 12
        bonus = 1.0000000
    loyality = 17
    alignment = good
    homelocation = Battle_Rocks_Jungle_04
      group =
      locator =
    homestate =
    skillimportancetotal = 127
    skillsetup = 0
    officerprice = 0
    perks =
      freepoints = 12
      list =
    bonussetup = 1
    assignrank = 11
    isfantom = 1
    actions =
      idle =
        i1 = idle_1
        i2 = idle_2
        i3 = idle_3
        i4 = idle_4
        i5 = idle_5
        i6 = idle_6
        i7 = idle_7
        i8 = idle_8
        i9 = idle_9
        i10 = idle_10
      walk = walk
      backwalk = back walk
      run = run
      backrun = back run
      stsup = stairs up
      stsuprun = run stairs up
      stsdown = stairs down
      stsdownrun = run stairs down
      stsupback = back stairs up
      stsdownback = back stairs down
      stsuprunback = back run stairs up
      stsdownrunback = back run stairs down
      turnleft = turn left
      turnright = turn right
      swim = swim
      hit = face_hit
        h1 = hit_1
        h2 = hit_2
        h3 = hit_3
      sidestep_left_on = skip
      sidestep_right_on = skip
      fightwalk = fight walk
      fightbackwalk = fight back walk
      fightrun = fight run
      fightbackrun = fight back run
      attack =
        a1 = attack_1
        a2 = attack_2
        a3 = attack_3
        a4 = attack_4
        a5 = attack_5
        a6 = attack_6
        a7 = attack_7
        a8 = attack_8
      attacktl =
        a1 = attack_left_1
      attacktr =
        a1 = attack_right_1
      block = block
      blockhit = block_hit
      recoil = Recoil
      shot = Shot
      fightsidestep_left_on = skip
      fightsidestep_right_on = skip
      fightdead =
        d1 = death_0
        d2 = death_1
        d3 = death_2
        d4 = death_3
      fightidle =
        i1 = fight stand_1
        i2 = fight stand_2
        i3 = fight stand_3
        i4 = fight stand_4
      dead =
        d1 = death_citizen_1
        d2 = death_citizen_2
    iswarrior = 1
    perktypes = 157
      combat = 14
      sailing = 10
      sea combat = 14
      sea defence = 10
      boarding = 26
      merchant = 26
      daring = 14
      party = 13
      repair = 10
      misc = 20
      highest = 4
    ERROR: missing skillfactor for type 0 and skill Sailing
    index = 2011
    id = Location fantom character <11>
    location = Battle_Rocks_Jungle_04
      locator = goto2
      group = goto
      from_sea =
      fantom = 1
    model = Native
      entity = NPCharacter
      animation = Man
      height = 1.8000000
    sex = skeleton
    faceid = 259
    headmodel = h_Native
    reputation = 44
    friend = -1.0000000
    guard = 1
    isindian = 1
    nation = 5
      name = 5
    name = Santos
    lastname = Rivaldo
    old =
      name = Santos
      lastname = Rivaldo
      chr_ai =
        group = JUNGLE_INDIANS
    rank = 12
    quest = True
      officertype = 0
      meeting = 0
      officerprice = 0
    money = 28
    fakelevels = 0
    chr_ai =
      hp_max = 139.0000000
      hp = 139.0000000
      dmgbldmin = 26.0000000
      dmgbldmax = 40.0000000
      piercing = 0.6000000
      block = 0.1000000
      charge_max = 1
      charge = 1
      chargeprc = 1
      charge_dlt = 0.6666667
      dmggunmin = 30.0000000
      dmggunmax = 40.0000000
      accuracy = 0.8000000
      group = JUNGLE_INDIANS
      alarmreact = 1
      grpalarmr = 1
      type = warrior
        stay = 1
        index =
        dialog = 0
      tmpl = fight
        target = 0
        state = go
        time = 0
        nostop = 4.2550001
        changestatetime = 0
    items =
      tomahawk = 1
      pistolbow = 1
      bladearrows = 1
    equip =
      blade = tomahawk
      gun = pistolbow
    spyglass =
      itemid = spyglass2
    dialog =
      currentnode = First time
      tempnode = First time
    experience = 162937
      leadership = 0
      fencing = 0
      sailing = 0
      accuracy = 0
      cannons = 0
      grappling = 0
      repair = 0
      defence = 0
      commerce = 0
      sneak = 0
    skill =
      freeskill = 0
      leadership = 4
        charmod = 0
        importance = 15
        bonus = 1.0000000
        modifier = 0
        effective = 4
        officertype = 0
      fencing = 2
        charmod = 0
        importance = 18
        bonus = 1.0000000
        modifier = 0
        effective = 2
        officertype = 0
      sailing = 1
        charmod = 0
        importance = 9
        bonus = 1.0000000
      accuracy = 4
        charmod = 0
        importance = 17
        bonus = 1.0000000
      cannons = 2
        charmod = 0
        importance = 6
        bonus = 1.0000000
      grappling = 6
        charmod = 0
        importance = 23
        bonus = 1.0000000
      repair = 1
        charmod = 0
        importance = 2
        bonus = 1.0000000
      defence = 2
        charmod = 0
        importance = 8
        bonus = 1.0000000
      commerce = 5
        charmod = 0
        importance = 17
        bonus = 1.0000000
      sneak = 5
        charmod = 0
        importance = 12
        bonus = 1.0000000
    loyality = 17
    alignment = good
    homelocation = Battle_Rocks_Jungle_04
      group =
      locator =
    homestate =
    skillimportancetotal = 127
    skillsetup = 0
    officerprice = 0
    perks =
      freepoints = 12
      list =
    bonussetup = 1
    assignrank = 11
    isfantom = 1
    actions =
      idle =
        i1 = idle_1
        i2 = idle_2
        i3 = idle_3
        i4 = idle_4
        i5 = idle_5
        i6 = idle_6
        i7 = idle_7
        i8 = idle_8
        i9 = idle_9
        i10 = idle_10
      walk = walk
      backwalk = back walk
      run = run
      backrun = back run
      stsup = stairs up
      stsuprun = run stairs up
      stsdown = stairs down
      stsdownrun = run stairs down
      stsupback = back stairs up
      stsdownback = back stairs down
      stsuprunback = back run stairs up
      stsdownrunback = back run stairs down
      turnleft = turn left
      turnright = turn right
      swim = swim
      hit = face_hit
        h1 = hit_1
        h2 = hit_2
        h3 = hit_3
      sidestep_left_on = skip
      sidestep_right_on = skip
      fightwalk = fight walk
      fightbackwalk = fight back walk
      fightrun = fight run
      fightbackrun = fight back run
      attack =
        a1 = attack_1
        a2 = attack_2
        a3 = attack_3
        a4 = attack_4
        a5 = attack_5
        a6 = attack_6
        a7 = attack_7
        a8 = attack_8
      attacktl =
        a1 = attack_left_1
      attacktr =
        a1 = attack_right_1
      block = block
      blockhit = block_hit
      recoil = Recoil
      shot = Shot
      fightsidestep_left_on = skip
      fightsidestep_right_on = skip
      fightdead =
        d1 = death_0
        d2 = death_1
        d3 = death_2
        d4 = death_3
      fightidle =
        i1 = fight stand_1
        i2 = fight stand_2
        i3 = fight stand_3
        i4 = fight stand_4
      dead =
        d1 = death_citizen_1
        d2 = death_citizen_2
    iswarrior = 1
    perktypes = 157
      combat = 14
      sailing = 10
      sea combat = 14
      sea defence = 10
      boarding = 26
      merchant = 26
      daring = 14
      party = 13
      repair = 10
      misc = 20
      highest = 4
    ERROR: missing skillfactor for type 0 and skill Sailing
    index = 2011
    id = Location fantom character <11>
    location = Battle_Rocks_Jungle_04
      locator = goto2
      group = goto
      from_sea =
      fantom = 1
    model = Native
      entity = NPCharacter
      animation = Man
      height = 1.8000000
    sex = skeleton
    faceid = 259
    headmodel = h_Native
    reputation = 44
    friend = -1.0000000
    guard = 1
    isindian = 1
    nation = 5
      name = 5
    name = Santos
    lastname = Rivaldo
    old =
      name = Santos
      lastname = Rivaldo
      chr_ai =
        group = JUNGLE_INDIANS
    rank = 12
    quest = True
      officertype = 0
      meeting = 0
      officerprice = 0
    money = 28
    fakelevels = 0
    chr_ai =
      hp_max = 139.0000000
      hp = 139.0000000
      dmgbldmin = 26.0000000
      dmgbldmax = 40.0000000
      piercing = 0.6000000
      block = 0.1000000
      charge_max = 1
      charge = 1
      chargeprc = 1
      charge_dlt = 0.6666667
      dmggunmin = 30.0000000
      dmggunmax = 40.0000000
      accuracy = 0.8000000
      group = JUNGLE_INDIANS
      alarmreact = 1
      grpalarmr = 1
      type = warrior
        stay = 1
        index =
        dialog = 0
      tmpl = fight
        target = 0
        state = go
        time = 0
        nostop = 4.2550001
        changestatetime = 0
    items =
      tomahawk = 1
      pistolbow = 1
      bladearrows = 1
    equip =
      blade = tomahawk
      gun = pistolbow
    spyglass =
      itemid = spyglass2
    dialog =
      currentnode = First time
      tempnode = First time
    experience = 162937
      leadership = 0
      fencing = 0
      sailing = 0
      accuracy = 0
      cannons = 0
      grappling = 0
      repair = 0
      defence = 0
      commerce = 0
      sneak = 0
    skill =
      freeskill = 0
      leadership = 4
        charmod = 0
        importance = 15
        bonus = 1.0000000
        modifier = 0
        effective = 4
        officertype = 0
      fencing = 2
        charmod = 0
        importance = 18
        bonus = 1.0000000
        modifier = 0
        effective = 2
        officertype = 0
      sailing = 1
        charmod = 0
        importance = 9
        bonus = 1.0000000
        modifier = 0
      accuracy = 4
        charmod = 0
        importance = 17
        bonus = 1.0000000
      cannons = 2
        charmod = 0
        importance = 6
        bonus = 1.0000000
      grappling = 6
        charmod = 0
        importance = 23
        bonus = 1.0000000
      repair = 1
        charmod = 0
        importance = 2
        bonus = 1.0000000
      defence = 2
        charmod = 0
        importance = 8
        bonus = 1.0000000
      commerce = 5
        charmod = 0
        importance = 17
        bonus = 1.0000000
      sneak = 5
        charmod = 0
        importance = 12
        bonus = 1.0000000
    loyality = 17
    alignment = good
    homelocation = Battle_Rocks_Jungle_04
      group =
      locator =
    homestate =
    skillimportancetotal = 127
    skillsetup = 0
    officerprice = 0
    perks =
      freepoints = 12
      list =
    bonussetup = 1
    assignrank = 11
    isfantom = 1
    actions =
      idle =
        i1 = idle_1
        i2 = idle_2
        i3 = idle_3
        i4 = idle_4
        i5 = idle_5
        i6 = idle_6
        i7 = idle_7
        i8 = idle_8
        i9 = idle_9
        i10 = idle_10
      walk = walk
      backwalk = back walk
      run = run
      backrun = back run
      stsup = stairs up
      stsuprun = run stairs up
      stsdown = stairs down
      stsdownrun = run stairs down
      stsupback = back stairs up
      stsdownback = back stairs down
      stsuprunback = back run stairs up
      stsdownrunback = back run stairs down
      turnleft = turn left
      turnright = turn right
      swim = swim
      hit = face_hit
        h1 = hit_1
        h2 = hit_2
        h3 = hit_3
      sidestep_left_on = skip
      sidestep_right_on = skip
      fightwalk = fight walk
      fightbackwalk = fight back walk
      fightrun = fight run
      fightbackrun = fight back run
      attack =
        a1 = attack_1
        a2 = attack_2
        a3 = attack_3
        a4 = attack_4
        a5 = attack_5
        a6 = attack_6
        a7 = attack_7
        a8 = attack_8
      attacktl =
        a1 = attack_left_1
      attacktr =
        a1 = attack_right_1
      block = block
      blockhit = block_hit
      recoil = Recoil
      shot = Shot
      fightsidestep_left_on = skip
      fightsidestep_right_on = skip
      fightdead =
        d1 = death_0
        d2 = death_1
        d3 = death_2
        d4 = death_3
      fightidle =
        i1 = fight stand_1
        i2 = fight stand_2
        i3 = fight stand_3
        i4 = fight stand_4
      dead =
        d1 = death_citizen_1
        d2 = death_citizen_2
    iswarrior = 1
    perktypes = 157
      combat = 14
      sailing = 10
      sea combat = 14
      sea defence = 10
      boarding = 26
      merchant = 26
      daring = 14
      party = 13
      repair = 10
      misc = 20
      highest = 4
    ERROR: missing skillfactor for type 0 and skill Accuracy
    index = 2011
    id = Location fantom character <11>
    location = Battle_Rocks_Jungle_04
      locator = goto2
      group = goto
      from_sea =
      fantom = 1
    model = Native
      entity = NPCharacter
      animation = Man
      height = 1.8000000
    sex = skeleton
    faceid = 259
    
    Can you upload PROGRAM\QUESTS\quests_side.c and PROGRAM\Storylines\Bartolomeu\QUESTS\quests_reaction.c?
    If I recall, this sidequest is custom for Bartolomeu and I wonder if there is anything different in the code between both versions.
     
  4. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    5,725
    Here you are. The code in question is case "fightindians" and appears to be identical in the two, apart from the replacement of Will Turner and Elizabeth Swann by Henry Morgan and Edwaert Mansveldt in the storyline version.

    Possibly related, there's this in my "Ardent" quest code:
    Code:
    
                   sld = LAi_CreateFantomCharacter(false, 3, true, true, 0.25, temp, "reload", "reload2_back");
    //               sld = LAi_CreateFantomCharacterExOtAt(true, OFFIC_TYPE_GUARD,"isIndian","","", 10, true, 1.0, "Indian" + n, "reload", "reload2_back");
    I can't for the life of me remember why I replaced that, or what went wrong originally. But this is from a part in the storyline where you're fighting a battle against two squads of French soldiers and the Indians are on your side, in contrast to the "Silver Train" quest in which they're enemies. That replacement code works for the "Ardent" battle scene.
     

    Attached Files:

  5. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Bugger, I had hoped there would be a difference.

    If I recall, the 'CreateFantomCharacterExOtAt' did work at some point and is used to make the character an actual Indian with Indian weapons.
    But if the code is identical between all storylines, why did nobody notice anything wrong before? Has nobody played the Silver Train sidequest in over half a year? :shock

    Alternatively, @Edvinas681 do you happen to use "Shore Crewmembers"?
    Maybe if there are too many characters in the scene, some fail to actually show up and cause issues?
    There is also a good chance that this isn't the game "permanently locking up", but only "logging that stuff to compile.log".
    If so, that means that you may be able to continue by waiting a bit longer.

    Still... It IS strange.
    @ANSEL or @Jason: Have you played this sidequest lately?
     
    Edvinas681 likes this.
  6. Edvinas681

    Edvinas681 Sailor Apprentice

    Joined:
    Jan 2, 2010
    Messages:
    99
    @Pieter Boelen No, I did not use any crew members. I also tried to dismiss my officers a few times to see if that helped but it did not. I will try now wait a few mins and see if it will unfreeze.

    Edit: Holy s**t!!! I waited a minute or two and it actually worked! :O
     
    Pieter Boelen likes this.
  7. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Great news!

    Of course that doesn't actually make this RIGHT (it's still very strange), but at least it's not completely game-breaking. :facepalm
     
    Edvinas681 likes this.
  8. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    5,725
    "compile.log" contains a lot of reports like this:
    Code:
    ERROR: missing skillfactor for type 0 and skill Leadership
    followed by attribute dumps. Those came from function 'GetOfficerSkillFactor' in "officers.c":
    Code:
        string officType = Officer.quest.officerType;
       if(CheckAttribute(OfficerTypes, officType))
       {
           if(!CheckAttribute(OfficerTypes,officType+".skills"))
           {
               trace("ERROR: missing skills for "+officType+" for Character "+GetMySimpleName(Officer));
               DumpAttributes(Officer);
               Officer.quest.officerType = GetRandomEnemyType();
               officType = Officer.quest.officerType;
           }
           skillFactor = sti(OfficerTypes.(officType).skills.(SkillName)); // KK
       }
       else
       {
           trace("ERROR: missing skillfactor for type "+officType+" and skill "+SkillName);
           DumpAttributes(Officer);
           skillFactor = 2;
       }
    There would probably be even more reports but logging to "compile.log" can cut off if it gets too long, which is why the dump after the last error message ("ERROR: missing skillfactor for type 0 and skill Accuracy") is incomplete.

    I have not been able to trace how the game gets from 'CreateFantomCharacterExOtAt' to 'GetOfficerSkillFactor'.

    "error.log" contains half a dozen references to 'LAi_CreateFantomCharacterExOtAt'.
     
  9. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    The really weird bit is that the log message states:
    ERROR: missing skillfactor for type 0 and skill Leadership

    But the offending function gets called with OFFIC_TYPE_GUARD which I don't think equates to '0' at all (what's #define OFFIC_TYPE_GUARD defined as?).
    This means that somewhere along the line, the 'quest.officerType' somehow gets forgotten or overridden which is definitely not intentional. :modding
     
  10. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    5,725
    It's in "officers.c":
    Code:
    #define OFFIC_TYPE_GUARD       "guard" // Levis
     
  11. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    That confirms what I suspected; something IS going wrong here.

    @Edvinas681: Can you please upload a zipped savegame affected by this bug?
     
  12. Edvinas681

    Edvinas681 Sailor Apprentice

    Joined:
    Jan 2, 2010
    Messages:
    99
    Of course, here it is:
    This is just before entering the jungle on Petit Tabac
     

    Attached Files:

  13. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Thanks!

    @ANSEL, @Jason or @Grey Roger: Could you load that savegame and see if you can replicate the problem?
     
  14. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,702
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    I just finished the quest with no problems?
     
  15. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    No notable lag/delay? No excessive error.log/compile.log entries at all? :shock
     
  16. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,702
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Well here you have the logs:
    Somethings are strange in these logs! but I have no trouble playing the quest.
     

    Attached Files:

  17. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Thanks; that does confirm there is a bug of some kind.
    Apparently your computer is fast enough to make the delay smaller than the 2 minutes that were reported before.
     
  18. Edvinas681

    Edvinas681 Sailor Apprentice

    Joined:
    Jan 2, 2010
    Messages:
    99
    It doesn't appear to be game-breaking though, as I did not notice anything strange beside the temporal freeze. Rest of the game works fine for me.
     
    Pieter Boelen likes this.
  19. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    65,693
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Good! :woot

    Still something that should be looked at though, so thanks for reporting.
    It's Confirmed on the Bug Tracker now, so we'll look at it when we can find some time. :doff
     

Share This Page