That would be another possibility, but I never have encountered a bug with missing cargo before. The only theoretical possibility is to define a pilot in the character.plist and give that pilot a script. Only pilots with a script attached don't award slaves themselves, but make the script responsible for it. But character.plists are rare, and those with scripts even rarer. Thus very unlikely.snork wrote:I like that.
About Eric Walch not being able to reproduce the Disembodied bug - from reading it seemed to occur when along with the escape pods one ton of slaves was scooped in a cargo pod, not escape pod ?
In the mean time have I my code working. Not yet with a definitive message, that will be a next step.
To get the pilots faster, I defined a console macro that first awarded an escape-pod to the ship, and than ejected the pilot. That way I even got pilots from ships that originally had no pod to eject.
Interestingly I found two new bugs that way:
1) When the ship had a custom escope-pod defined in its shipdata, but that pod did not exist because of a spelling error, no pod at all was released. Instead an error was logged. Fixed now by falling back to the default escape-pod in such cases.
2) When ejecting a pilot from an escort, nearby the station aegis, the empty escorts were never removed from the mothers group. So when mom entered the aegis, it gave all its escorts an dockingAI, including the abandoned ships. The hulks suddenly started flying again! Fixed now.