• 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 Error logs related to perks

@Levis: I've added a CheckAttribute here to prevent error.log entries when starting the Hornblower storyline:
Code:
void MakeOfficerCaptain(ref officer)
{
   if (CheckAttribute(officer, "quest.officertype")) officer.quest.oldofficertype = officer.quest.officertype; // PB: Just in case
   officer.quest.officertype = GetCaptainType(officer);
}
 
When exactly does that happen? To confirm, I just tried the following:
1. Start New Game on Assassin
2. Go to F2>Character>Abilities
3. Assign my one ability point to "Basic Defence"

That worked without problems. :confused:


Just tried starting a New Game - Assassin Story

Went to F2> Character - checked quest Book - inventory etc all OK

Then clicked on Abilities to allocate ability point - No Abilities screen - cannot use any buttons at top of F2> characters Screen -- but I can use F1 to get back to the Main Menu then resume the game.

Resume the game and go to F2> characters screen -- click on Abilities and No Abilities screen - cannot use any buttons at top of F2> characters Screen .

:shrug
 

Attachments

  • error.log
    267 bytes · Views: 70
  • compile.log
    5.2 KB · Views: 68
  • system.log
    4.7 KB · Views: 63
@Talisman I think you put it in the wrong folder. There are two files called perks.
Please put this in your potc root:
 

Attachments

  • PerksFix.zip
    10.2 KB · Views: 62
I have done a F11 with your fix. This is the error log:
 

Attachments

  • error.log
    402 bytes · Views: 69
I noticed something slipped by.
Now fixed.
 

Attachments

  • perks.c
    21.1 KB · Views: 72
Back
Top