• 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 Ship hunting off Bonaire

ANSEL

Corsair
Storm Modder
Hearts of Oak Donator
The governor of Bonaire told me to hunt a Dutch ship down:shock
Latest update Free play.
 

Attachments

  • seadogs2_0000.jpg
    seadogs2_0000.jpg
    410.9 KB · Views: 113
  • compile.log
    2.3 KB · Views: 83
Thanks for reporting! :cheers

Latest update Free play.
That is WITH the 13 September 2016 ZIP by @Levis then, right?

I think he modified/replaced the 'GenerateQuestShip' function in quests_common.c, which would be the most likely reason for this.
My suspicion would be that the 'InitQuestCaptain' functionality (or whatever has taken its place; I don't know because I didn't look at it yet),
no longer uses the 'isEnemy' boolean the way I intended.

That specifically relates to this bit:
Code:
void InitQuestCaptain(string QuestCharacter, int iNation, bool isEnemy)
{
   ref ch = CharacterFromID(QuestCharacter);
   int idx = sti(ch.index);

   int CharacterNation;
   if(isEnemy) CharacterNation = LotHostileNation(iNation);
   else     CharacterNation = iNation;
 
could be I made a mistake there indeed.
Altough I must say if this is the only problem and everything else worked fine I'm pretty happy XD.
 
@ANSEL please try this.
Place it in:
..\PROGRAM\QUESTS
 

Attachments

  • quests_common.c
    222.1 KB · Views: 84
Back
Top