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!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
a bit late to ask I know - but any saved game and for which version date and scenarioctd in Port Royal Ship yard (4 in a row) after I took the city and installed my own governor
int GetCharacterShipValue(ref chr, string attribute)
{
int nShipType = GetCharacterShipType(chr);
if (nShipType == SHIP_NOTUSED) return 0;
aref ship; makearef(ship, chr.ship);
trace("GetCharacterShipValue: " + GetMySimpleName(chr) + ", nShipType = " + nShipType); // <---------- THAT LINE ---------
if (CheckShipAttribute(ship, &ShipsTypes[nShipType], attribute))
return sti(GetLocalShipAttrib(ship, &ShipsTypes[nShipType], attribute));
else
return 0;
}
GetCharacterShipValue: David Fairweather, nShipType = -1
Doing some error checking:Returns:Code:int GetCharacterShipValue(ref chr, string attribute) { int nShipType = GetCharacterShipType(chr); if (nShipType == SHIP_NOTUSED) return 0; aref ship; makearef(ship, chr.ship); trace("GetCharacterShipValue: " + GetMySimpleName(chr) + ", nShipType = " + nShipType); // <---------- THAT LINE --------- if (CheckShipAttribute(ship, &ShipsTypes[nShipType], attribute)) return sti(GetLocalShipAttrib(ship, &ShipsTypes[nShipType], attribute)); else return 0; }
Yep, that would cause a problem. But WHY is the game looking for a ship apparently owned by the SHIPYARD OWNER? I don't think that's how it is supposed work.Code:GetCharacterShipValue: David Fairweather, nShipType = -1
It is indeed included. Along with some WIP Nation Relation changes.@Jason any chance you could test this and see if it works?
I believe it should be included in the zip here:
http://www.piratesahoy.net/threads/build-14-beta-3-5-internal-wip-for-testing.24817/