You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be multifaction problem.
I believe this is because the World Transportpod's Faction was set in FlyShipLeaving.LeaveMap, which happened when ticking the map, this makes all pods launched given Faction same with map owner. The game checks if any pawn in pods belongs to that Faction when arrived, and if no pawn of faction detected, the caravan got missing.
This affacts a lot. One player can't launch pods from other player's factionbase to anywhere except the ArrivalAction is TransportPodsArrivalAction_LandInSpecificCell.
Also some maps would be created for spectator in some mods...
Fix suggestions:
1.Save the pods’ ownership when TryLauch(or somewhere else)
2.Pre&post patch the FlyShipLeaving.LeaveMap to Push/Pop Faction temporarily to make Faction.OfPlayer works correctly here.
The text was updated successfully, but these errors were encountered:
Made a temporarily patch and works fine for myself.
Still looking for u guys ideas about better solution.
For me 1st choice is to register these events with Faction and let Maptick handle them
2nd is codes here
3rd transpiler to replace Faction.OfPlayer in FlyShipLeaving.LeaveMap with tmpTransportPodsOwnershipDict[this.groupID]
I'll left my codes here insdead of make a pull request as idk where to put the dict..
Should be multifaction problem.
I believe this is because the World Transportpod's Faction was set in
FlyShipLeaving.LeaveMap
, which happened when ticking the map, this makes all pods launched given Faction same with map owner. The game checks if any pawn in pods belongs to that Faction when arrived, and if no pawn of faction detected, the caravan got missing.This affacts a lot. One player can't launch pods from other player's factionbase to anywhere except the ArrivalAction is
TransportPodsArrivalAction_LandInSpecificCell
.Also some maps would be created for spectator in some mods...
Fix suggestions:
1.Save the pods’ ownership when
TryLauch
(or somewhere else)2.Pre&post patch the
FlyShipLeaving.LeaveMap
to Push/Pop Faction temporarily to makeFaction.OfPlayer
works correctly here.The text was updated successfully, but these errors were encountered: