What do 'SetFleetInTown' and 'PlaceFleetNearShore' do? The condition section sets 'pchar.location.from_sea' to either 'Oxbay_lighthouse' or 'Greenford_port' and calls those two functions. (The function calls could just as easily be outside the condition since they both refer to 'pchar.location.from_sea'.) Something must be moving your own ship to the port because I've never had a problem boarding my ship - it's what the Montanez or possibly the fort then do to my ship which is the problem.
For that matter, could not your additional 'SetCharacterShipLocation' lines could also be condensed to one line outside the condition if you change it to 'SetCharacterShipLocation(pchar, pchar.location.from_sea);'?
I agree that the line which should teleport you to either the port or the lighthouse, depending on the value of 'pchar.location.from_sea', is 'DoQuestReloadToLocation(pchar.location.from_sea, "reload", "reload1", "_");'. It certainly teleports you to the port. I've never been teleported to the lighthouse despite routinely arriving at Bridgetown under a Spanish flag so as not to upset the Montanez while I'm trying to rescue her from the Animists. The only problem I've had is that Montanez now objects when I raise the English flag before trying to leave Bridgetown.
For that matter, could not your additional 'SetCharacterShipLocation' lines could also be condensed to one line outside the condition if you change it to 'SetCharacterShipLocation(pchar, pchar.location.from_sea);'?
I agree that the line which should teleport you to either the port or the lighthouse, depending on the value of 'pchar.location.from_sea', is 'DoQuestReloadToLocation(pchar.location.from_sea, "reload", "reload1", "_");'. It certainly teleports you to the port. I've never been teleported to the lighthouse despite routinely arriving at Bridgetown under a Spanish flag so as not to upset the Montanez while I'm trying to rescue her from the Animists. The only problem I've had is that Montanez now objects when I raise the English flag before trying to leave Bridgetown.