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

Engine Limitation Saving game errors

Tingyun

Corsair
Storm Modder
I have gotten the below error when saving, twice without a crash (saving standing on a dock), and once with a crash (saving in a tavern). It isn't too frequent, but seems to happen every once in awhile, mostly without crashes. EDIT now another time saving in a tavern, this time without a crash.

(all saving shortly after character creation of julian mcalister as quatermaster start)

RUNTIME ERROR - file: seadogs.c; line: 749
Save - ARef to non existing attributes branch

Here are the lines, 749 is the very last one with only a }

Is there anything obviously wrong with this that would cause it?

void OnSave()
{
Set_inDialog_Attributes();//MAXIMUS: VERY strange, but it's needed
seadogs_saveFrom = "";
if (IsEntity(&worldMap)) {
seadogs_saveFrom = "world map"; //Was "seadogs_sav From" ccc mar20
return;
}
if (bSeaActive) {
seadogs_saveFrom = "sea";
SaveAtSea();
return;
}
int ldLoc = FindLoadedLocation();
if (ldLoc < 0 || ldLoc >= nLocationsNum) {
trace("OnSave() -> unknown character location");
return;
}
seadogs_saveFrom = "location";
SendMessage(&Locations[ldLoc], "l", MSG_LOCATION_SETCHRPOSITIONS);
LAi_group_SaveInfo();
PostEvent("SeaDogs_ClearSaveData", 200, "a", &Locations[ldLoc]);
}
 
RUNTIME ERROR - file: seadogs.c; line: 749
Save - ARef to non existing attributes branch
That happens pretty much all the time, even in the original game.
Near as I can tell, it doesn't cause any real trouble.
 
Back
Top