• 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!

Edgar Attwood side-quest - Rescue from Prison Ship Fix

Talisman

Smuggler
Storm Modder
For Build 14 Beta 02-1

To get rid of the bug that stops you rescuing Edgar Attwood from the Prison Ship in Port Royale harbour:-

The "if" statement line ( and its bracketts ) in case "list_Attwood" in the quests_reaction.c file should be removed then you will be able to rescue Edgar Attwood by boarding the Prison Ship.



In quests_reaction.c

Code:
case "list_Attwood":
//			if (characters[GetCharacterIndex("Jack Greenfield")].Killer.status == KILL_BY_ABORDAGE)  //TALISMAN - remove to enable Edgar Attwood to be rescued 

from Prison Ship
//			{  //TALISMAN - remove to enable Edgar Attwood to be rescued from Prison Ship
// NK -->
Log_SetStringToLog(TranslateString("","You rescued Edgar Attwood!"));
SetCharacterShipLocation(CharacterFromID("Jack Greenfield"), "none" );
// NK <--
SetOfficersIndex(Pchar, 3, GetCharacterIndex("Edgar Attwood")); // NK was -1
LAi_SetOfficerType(CharacterFromID("Edgar Attwood"));
//			}  //TALISMAN - remove to enable Edgar Attwood to be rescued from Prison Ship
break;

The if statement causes the following error as per the error log:-

From Error log:
--------------------------------------------------------------
RUNTIME ERROR - file: storyline\standard\quests\quests_reaction.c; line: 14154
missed attribute: killer
RUNTIME ERROR - file: storyline\standard\quests\quests_reaction.c; line: 14154
null ap
RUNTIME ERROR - file: storyline\standard\quests\quests_reaction.c; line: 14154
no rAP data
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 2571
missed attribute: shipmoney
RUNTIME ERROR - file: sea_ai\AIShip.c; line: 2571
no rAP data

----------------------------------------------------
Ammended version of quests_reaction.c attached

Put the file in --- Program \ storyline \ standard \ quests


:drunk
 

Attachments

  • quests_reaction.c
    696.2 KB · Views: 213
Back
Top