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

Remove corrupt Item

BLSPBlackDeath

Landlubber
Hello again,
I have an item in my inventory that causes CTDs when i try to heal myself. When I go in my Inventory under Medications I have a free space or an Error.
I want to get rid of this Item.
Please help me again.
:shrug
Thanks in advance.
 
I have only run into this once before. It happened in the Jack Sparrow quest. I deleted that quest and the install runs fine, but I have not tried JS since. Does your problem happen with other quests?
 
How did you get this item? If you know the ID, we can remove it.
 
No I don't know the ID of the Item. How can I see the ID?
Well I am done with the Mainquest of Jack Sparrow. I have loaded some savegames before and I was able to heal myself.
So I continued to play and now again, I can't heal myself without CTD.
I think it has something to do with the Sidequest Justine Le Moigne.
The last big thing what happened is that I have talked to a crewmember of Davy Jones. I think there is some Problem.
I will load the savegame and hunt for the CTD-Bug so you can help. :dance
Greetings


Ok,
I have the Problem. It's in the Sidequest Justine Le Moigne. :cheers
After you have discovered and talked to the dead french Soldier lying on the beach Baie D’Orient, St Martin you can't heal yourself without a CTD.
Hope someone can help me to fix this. :hmm

Update:
I have fixed the CTD Bug.
YOu only have to delete line 7707 in quest_reaction.c: GiveItem2Character(pchar, SMALL_CHEST);
 
Good find! I think the problem comes from \PROGRAM\Storyline\LegendJackSparrow\items; the following line should be in there, but it's not:
Code:
n = InitQuestItem(n,"small_chest",		"small_chest",			"",			4,	1,		0,0,	"","",	"","",		"","",""	);
Can you add that line, load a savegame from before that point, press F11 and try again? You should now get the item properly and hopefully no more CTDs afterwards...
 
Yes that works, too.
Because there were some more CTDs which were Item related. I added this line and:

// --> added by BlackDeath for Sidequests ;-)
n = InitQuestItem(n,"Chest", "chest", "", 4, 1, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"coins", "coins", "purse", 4, 15, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"gov_letter", "gov_letter", "", 4, 3, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"idol", "incas_idol", "stat1", 4, 4, 1,0, "","", "Labirint_3","button01", "","","" );
n = InitQuestItem(n,"icollection", "incas_collection", "", 4, 5, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"legend_piece", "piece_of_legend", "", 4, 6, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"legend_notes", "notes_of_legend", "", 4, 7, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"legend_copy", "copyes_of_legend", "", 4, 7, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"rheims_journal", "rheims_journal", "", 4, 8, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"domingues_f**ked", "compramat_to_domigues","", 4, 9, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"rheims_letter", "rheims_letter", "", 4, 10, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"pornushka", "love_letters_of_priest","", 4, 16, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"animists_amulet", "ANIMISTS_amulet", "", 4, 12, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"letter_to_domingues","letter_to_domingues","", 4, 11, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"letter_to_bernard","letter_to_bernard", "", 4, 11, 0,0, "","", "","", "","","" );
n = InitQuestItem(n,"letter_prison", "prison_letter", "", 4, 10, 0,0, "","", "","", "","","" );

because of the CTDs occouring because of the Sidequest Sao Feng.
 
Back
Top