First, I spotted this:

Which is odd as its still being recorded as my protectorate, but more worryingly:

I noticed I had a lot of small units out of supply (I haven’t been paying much attention to this region as I’ve been rather busy elsewhere).
So I’m ordering a unit to a province I own and have dominant MC and its coming up as not being able to enter. There are 9 provinces in the wider region with the same problem.
Digging around, the reason seems to be the German Tanganiyka events, viz:
SelectFaction = $GER
SelectRegion = $Dar es Salaam
StartEvent = evt_nam_GER_Peters1885|1|2|evt_txt_GER_Peters1885|Event-img_GER_Peters1885|$Dar es Salaam|NULL
Conditions
EvalIsAtPeaceWith = OMA
SelectFaction = $CMN
EvalColStatusArea = $Colony_Tanganiyka;<;$colProtectorate
MinDate = 1885/01/01
MaxDate = 1899/12/31
Probability = 50
Actions
DescEvent = evt_desc_GER_Peters1885
SelectFaction = $GER
ChgVPCount = 100
SetColStatusArea = $Colony_Tanganiyka;$colProtectorate
SelectRegion = $Tanga
ChangeRgnOwner = OMA
SelectRegion = $Dar es Salaam
ChangeRgnOwner = OMA
SelectRegion = $Kilwa
ChangeRgnOwner = OMA
SelectRegion = $Dar es Salaam
CreateStruc
SetType = $OUTPOST
SetLevel = 1
SetName = Dar Burg
Apply
CreateStruc
SetType = $CONSULATE
SetName = Resident Palaz
Apply
CreateStruc
SetType = $TRADEPOST
SetName = Dar es Salaam Markt
Apply
SelectRegion = $Dar es Salaam
ChgColonialPen = 55
SelectRegion = $Zanzibar
ChgColonialPen = 15
SelectRegion = $Tanga
ChgColonialPen = 25
SelectRegion = $Kilwa
CreateStruc
SetType = $OUTPOST
SetLevel = 1
SetName = Tanga Fort
Apply
SelectRegion = $Arusha
ChgColonialPen = 25
SelectRegion = $Songea
ChgColonialPen = 10
SelectRegion = $Tabora
ChgColonialPen = 25
SelectRegion = $Kilwa
ChgColonialPen = 25
CreateStruc
SetType = $COALING
SetLevel = 1
SetName = Kilwa Station
Apply
SelectRegion = $Masasi
ChgColonialPen = 10
SelectRegion = $Lindi
ChgColonialPen = 25
SelectRegion = $Mwanza
ChgColonialPen = 25
SelectRegion = $Iringa
ChgColonialPen = 10
SelectRegion = $Morogoro
ChgColonialPen = 10
SelectRegion = $Ujiji
ChgColonialPen = 10
EndEvent
Now the related Zanzibar event has the code
EvalColStatusArea = $Colony_Zanzibar;<;$colProtectorate
And since it was my protectorate didn’t fire. But the main one has no check for other Colonial powers.
Its too late to go back to a turn before this happened, so I’ve tried to write a script to resolve the matter, viz:
SelectFaction = $CMN
SelectRegion = $Lazzio
StartEvent = Fixing colonial issues|1|1|NULL|NULL|$Lazzio|NULL
SelectFaction = $GER
SelectRegion = $Kilwa
RemoveStructure = ByDefUID $Coaling;ALL;GER
RemoveStructure = ByDefUID $Outpost;ALL;GER
SelectFaction = $GER
SetColStatusArea = $Colony_Tanganiyka;$colInfluenced
SelectFaction = $ITA
SetColStatusArea = $Colony_Tanganiyka;$colProtectorate
EndEvent
Now this crashes when it comes to endevent. I’m happy to have a disputed colonial region, I’m just trying to get it so that I can move troops in my own provinces.
Any ideas what I’m doing wrong?
Should add I also tried a script where I set the German CPs to 0, this made no difference to the underlying problem.