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

Confirmed Bug Sea Relations: When commander of group surrenders the whole group surrenders

As far as I can see the reason for this to happen is the moral drop.
The function to check is called very often. Maybe I could tweak this a bit too.
But for now I advice at least to change these parameters in internal settings:
Code:
// Surrender adjustments
#define SURR_MAX_MORALE                30            // INT - if morale > this, no surrender check. Scaled to between below two numbers.
#define SURR_MRL_SCL_MAX            1.0            // FLOAT - (no description)
#define SURR_MRL_SCL_MIN            0.4            // FLOAT - (no description)

also find this in AIShip.c
Code:
float fdist; if (FindClosestShipofRel(chridx, &fdist, RELATION_FRIEND) == -1) fdist = DIST_NOSHIP;    // LDH 07Mar09
                if (CheckAttribute(rCharacter, "fantomtype")) {
                    switch(rCharacter.fantomtype)
                    {
                        case "trade": ftmult = 2.0; break;
                        case "pirate": ftmult = 0.75; break;
                    }
                }
                float mrlmod = Bring2Range(SURR_MRL_SCL_MAX, SURR_MRL_SCL_MIN, 0.1, 1.4, stf(rCharacter.TmpSkill.Leadership)+ AIShip_isPerksUse(rCharacter.TmpPerks.IronWill, 0.0, 0.4));
and change the 2.0 to 1.25.
I think that's better.

Going to test some more tough.
 
Just had such a situation with the FD: Now strange things are happening:

- The ship which surrendered didnt hoist the white flag and I didnt get a notification. It only changed to neutral on my compass and stroke the sails down. The other ships behaved, like wished, as enemies.

- After I boarded the ship, all other ships turned from enemy to neutral, but didnt surrendered. I can't exactly tell if the surrendered ship was the flagship, but if I'd guess, I'd say it wasn't, since it was in the middle of the group

Oh, if it makes a difference: It was in a battle (so I joined the battle on worldmap)
 
This is still going on. I was sailing into Bridgetown and saw two French ships being attacked by the fort. The flagship surrendered and the other went neutral and kept its flag up and all firing stopped. I sailed up to the surrendered ship and captured it. The other ship then turned hostile and the fort resumed firing at it and sank it.
 
So they turned neutral but did NOT surrender. That is proper strange!

Were there any other ships around so that they could have surrendered to THEM instead of to YOU?

This is still going on. I was sailing into Bridgetown and saw two French ships being attacked by the fort. The flagship surrendered and the other went neutral and kept its flag up and all firing stopped. I sailed up to the surrendered ship and captured it. The other ship then turned hostile and the fort resumed firing at it and sank it.
Thanks for checking. Looks like the attempted fix in the currently uploaded game version does not work. :(
 
They dont surrender at all.. They just go neutral to all (I was in a battle Holland vs. Spain, and hostile against Spain). After I boarded the surrendered spanish Centurion, all ships stopped firing and just sailed on. So the spanish went neutral to me and neutral to the dutch. They didn't surrender, because they didn't stroke their sails..
 
Do the changed numbers make a difference? Does surrendering still happen? Does it seem to work?
Do whole fleets still turn neutral at the same time?

I need to know if we should keep the new values or if we should return those to Beta 3.2 state.
 
Thanks for confirming. Will have to return this to the Beta 3.2 value then, I think.

We've lived with this unfortunate issue for a long time now; I'm sure we can get by with not fixing it this time either. :shrug
 
hmm.. it seems that it sometimes works.. just had an encounter where the flagship surrendered and the rest of the convoy stayed hostile towards me.. so I guess Levis was on the right way
 
So I'd say keep my changes and change
SURR_MAX_MORALE to 20
It's not yet a perfect fix but at least it's better then it was.
 
well at least I didn't made it worse right? So I'd say keep it ;).
 
Hum. I think my enemy ships got sorrounded too easy and they put the white flag without doing too much fear to them. I went with my convoy to attack an small escorted group of merchants of Holland (I serve to Spain), and the merchant ships got sorrounded easily. Then, the escort ship went grey and I couldn't attack them anymore. It is supposed that if all the merchant ships put the white flag, the escort ships go grey and can't be attacked even when changing flags?

Another example was in another battle, this time a militar french fleet versus a portuguese convoy of merchants with some escort (french were my allies; portuguese were my enemys). The merchant ships put the white flag in little time, and then the escort ships went grey and I couldn't shoot them. Curiously, the french were still shooting at them, even If I couldn't shoot them because they appeared to me neutral. :confused:
 
Hum. I think my enemy ships got sorrounded too easy and they put the white flag without doing too much fear to them. I went with my convoy to attack an small escorted group of merchants of Holland (I serve to Spain), and the merchant ships got sorrounded easily. Then, the escort ship went grey and I couldn't attack them anymore. It is supposed that if all the merchant ships put the white flag, the escort ships go grey and can't be attacked even when changing flags?

Another example was in another battle, this time a militar french fleet versus a portuguese convoy of merchants with some escort (french were my allies; portuguese were my enemys). The merchant ships put the white flag in little time, and then the escort ships went grey and I couldn't shoot them. Curiously, the french were still shooting at them, even If I couldn't shoot them because they appeared to me neutral. :confused:
Long-standing long problem, I'm afraid: http://www.piratesahoy.net/threads/...-surrenders-the-whole-group-surrenders.24319/
Several attempts have been made to fix it; none have succeeded. :(
 
When I finished some other stuff I'm going to look into it again. I think the only way to really solve this will be by first removing all code which relates to going neutral and such so the whole functionality is removed and then putting it back so we do know how it works ...
 
Back
Top