I know this might sound personal, but what is your karma like?
I'm wondering if the turret issue and the trader issue is a reusult of your disposition relative to the karma is such that it just doesn't like you and turns hostile. If you've attracted a bounty with Rivet City (although not enough to make the average resident hostile) it might for some reason be enough to make the turret hostile. At which point the city dwellers, being allied with the turret, rush to it's aid and you to your demise. Same theory might apply with the Caravans.
I'll keep thinking this one over.
About trader issue-I think I catch it.
I check DMHadrithCavaranGuardsScript before, and all was just fine. But I proceeded from the fact that the guard takes unmotivated aggression against Player. But surely this aggression is motivated in light of recent reports.
if getdead == 1 && ( (player.getdetected HarithGuard01 == 1)... ;if (guard?) is dead and PLAYER IS AROUND
...
LuckyHarithREF.startcombat player ; Harith start fight PLAYER.
So- to prevent this issue in the future we need to block this unmotivated aggression. Surely, if Mutant try to loot dead body, this occur during the battle. So we need to make check for the battle situation
LuckyHarithREF.startcombat player ; Harith start fight PLAYER if we not in combat.
If we in combat, Harith already aggressive against enemies and... well... player can use it for his own advantage
Or may be this will be even better
Not sure about turret issue, need to check this one more. Will say later. But something not clear here.