Resolved 1.4 Family Feud make zombie NPC

正在查看此主题的用户

AlcoholV

Recruit
RemoveCompanionAction.ApplyByFire
Function called after quest is complete has bug.
It makes NPC to belonging to village owner clan's member.


I know Devs try to fix this quest bug every patch, but I don't understand how they still couldn't fixed it yet.
Don't you do QA?
 
Hi, can you please give me more info using the template below?

Summary:
How to Reproduce:
Quest/Settlement Name (if related):
Media (Screenshots & Video):
Version:
Installed community-made modifications:
Computer Specs:
OS:
GPU:
CPU:
RAM:
Motherboard:
Storage Device (HDD/SSD):
 
Summary: RemoveCompanionAction.ApplyByFire bug
How to Reproduce:

If using the console, It is simply reproducible.

1. campaign.add_companion
2. fire him from clan menu.
3. Boom!! He move to the wrong Clan. We made Zombie!


Quest/Settlement Name (if related): Family Feud.. etc related to RemoveCompanionAction
Version: 1.4
Installed community-made modifications:grin:ev Console
 
Forwarding this issue to the QA team for further investigation. Thanks for reporting. In the meantime, can you share your save files? You can use a cloud service and post an open link on this thread.
 
The former Family-Feud Quest-NPCs are also remaining in my encylopedia as Clanmembers since Patch 1.3



One of them eaven bugged into my character-menu :

 
Hello, it won't fix the bug from taleworld but it's an issue i solved in 1.2 in my mod useful companions.
So you can DL it with the last version that use an improved version to fix this issue (and remove it after it's fixed if you wish) and clean your save.

If not, i'll share how i proceed and why i do this, if it can helps taleworld.

插入代码块:
Hero tmp = Hero.All[i];
                if (tmp.Clan.Leader.IsHumanPlayerCharacter && !tmp.HasMet && !tmp.IsHumanPlayerCharacter && tmp.Children.Count == 0 && tmp.Mother == null && tmp.Father == null)
                {
                    tmp.StayingInSettlementOfNotable = null;
                    tmp.Clan = null;
                    Game.Current.ObjectManager.UnregisterObject(tmp);
                }

So basically i have to check every hero for one in the players clan but that have no real stats. Then you need to set clan and settlement manually to null on the hero before using UnregisterObject that will remove it from the game. If it's still in the clan or still assigned to a settlement UnregisterObject fails to remove it.
 
后退
顶部 底部