Been testing: the script works fine apart from the collect and transfer part.
when full, the ships are refusing to go empty in the TL I've told them to, they keep trying to collect the ore with the usual effect of trying to collect wares with a full bay: waste (they refuse to use their transporters when full). right now i've set them to automine in ore belt and am periodically manually sending them to unload.
I find this happening in my game as well. I've even tried to have dolphins following the mercuries that are following the automining Demeter but they still refuse to transfer their ore. Sometimes for no apparent reason if I've manually emptied a ship it picks up a couple more roids then attempts to dock at a station with only 16 or so bits of cargo.
All the collectors have transport devices as does the TL.
I've got the 1.4 update on and mods I'm running are
all the signed mods
SDS
FLDS
Xia Jump command 3
Xia automining
Xia Advanced Nav Libraries
PPG bullet replacer with modifier tag remover
*Edit
Just as I clicked send I decided to have a look through the script again and I seem to be missing the plugin.xai.lib.cargoXfer.toStat.XML file. Could possibly be the cause.