Survivalist: Invisible Strain

Survivalist: Invisible Strain

SIS Livestock Control
23 条留言
⚡Blitzkrieg⚡ 9 月 13 日 上午 9:02 
Error (v259): Aaliyah O'Donnell (SurvivorGoal : AnimalFeederGoal : FindGoal (HuntingKnife)) activating a SubGoal that is Not Possible (old = FarmingGoal, new = AnimalFeederGoal : FindGoal (HuntingKnife))

She had a Hunting Knife in her inventory.
And as I observed the error happened when she tried to pull the Hen out of the coop/building for slicing, since chickens sleep in houses when their coops are full. And I've got 2 campfires and when they do manage to kill a chicken when it is outside the coop, then they deliver it to the Well lol..
⚡Blitzkrieg⚡ 9 月 13 日 上午 8:03 
Yup, same error still going on. I hope for a fix soon..
KnowChillx 8 月 11 日 上午 3:47 
I seem to be getting error messages whenever an NPC tries to equip a knife for slaughtering.

Error (v254): Giselle Holcomb (SurvivorGoal : AnimalFeederGoal : FindGoal (HuntingKnife)) activating a SubGoal that is Not Possible (old = AnimalFeederGoal : FindGoal (HuntingKnife), new = AnimalFeederGoal : FindGoal (HuntingKnife))
SweetCaptn  [作者] 5 月 29 日 上午 8:02 
Haha that message was meant for another user, but they deleted their message. I would avoid playing with it until I fix the crash Bob reported
A Tutorial Boss 5 月 29 日 上午 7:34 
lol are you responding to Bob from January, haha, what a gap, and completely unrelated. Also does this mod still work with the current beta version?
Bob  [开发者] 1 月 20 日 下午 6:26 
Heya, I've had a crash report for this mod with the same callstack as below. I think I know what's happening - it runs my GetNextSubGoal code and doesn't find any animal feeder or drinker props that need filling. So it calls OnFailed and returns null. Your Postfix code then takes over and decides to return new FindGoal to go looking for a knife.

The problem is that OnFailed has called SetRoleFailedRecently and also set LastAttemptedTime, both of these would cause IsPossible to return false. Hence the assert that the subgoal is "Not Possible".

You need to find a way of ensuring that OnFailed is only called when GetNextSubGoal will actually return null. Maybe you just use Prefix to override the whole function and duplicate my code?
SweetCaptn  [作者] 2024 年 11 月 11 日 上午 10:32 
I'll take a look tonight, thank you
Looni 2024 年 11 月 11 日 上午 9:24 
Maybe limited to public version 217 and not affecting the beta 219. Dunno. I assume it's from this mod anyway.
Looni 2024 年 11 月 11 日 上午 9:19 
Error (v217): Lydia Russo (SurvivorGoal : AnimalFeederGoal : FindGoal (HuntingKnife)) activating a SubGoal that is Not Possible (old = SatisfyHunger, new = AnimalFeederGoal : FindGoal (HuntingKnife)) UnityEngine.Debug:LogError (object)
StateMachineGoal:CheckForSubGoalFinished (Character,Goal,bool) (at C:/Survivalist2/Assets/Scripts/Goal/Goal.cs:1036)
PrioritiserGoal:Update (Character,Goal) (at C:/Survivalist2/Assets/Scripts/Goal/Goal.cs:1310)
SurvivorGoal:Update (Character,Goal) (at C:/Survivalist2/Assets/Scripts/Goal/SurvivorGoal.cs:177)
Character:Think () (at C:/Survivalist2/Assets/Scripts/Character/Character.cs:22991)
SweetCaptn  [作者] 2024 年 11 月 11 日 上午 8:41 
Awesome! thanks
Looni 2024 年 11 月 11 日 上午 7:26 
Could've been the game being the game. So far it's working fine even right before the earlier crash. Disregard for now =D
Looni 2024 年 11 月 11 日 上午 7:23 
I'll try to replicate it again with the same save.
SweetCaptn  [作者] 2024 年 11 月 11 日 上午 7:18 
Is it the exact same error? I remember not having any crashes after posting the fix. Try ubsubscribing / subscribing to the mod again, perhaps it's not updated. Otherwise send me the log and I'll look into it
Looni 2024 年 11 月 11 日 上午 7:07 
Encountered the same error and crash as Padoru when spawning chickens via f8 and picking them up and dropping to claim ownership.
Padoru 2024 年 11 月 4 日 上午 5:58 
thanks! its fixed now :steamthumbsup:
SweetCaptn  [作者] 2024 年 11 月 3 日 下午 2:27 
Uploaded a patch fixing another crash that happened when loading the game
SweetCaptn  [作者] 2024 年 11 月 3 日 上午 10:41 
Uploaded a fix for a crash and I think your error might be fixed too. Let me know if it keeps happening
SweetCaptn  [作者] 2024 年 11 月 3 日 上午 10:03 
Thanks for reporting it, I should be able to get it fixed by this evening
Padoru 2024 年 11 月 3 日 上午 9:45 
can anyone help me with this error?

Exception (v219): MissingMethodException: Method not found: GenderType .BaseObject.GetGender() AnimalFeederGoal_GetNextSubGoal__Patch.Postfix (Goal& __result, AnimalFeederGoal __instance, Character character, Goal parent) (at <8885d530d99d4194bf04329aa4cb6d9d>:0)
(wrapper dynamic-method) AnimalFeederGoal.AnimalFeederGoal.GetNextSubGoal_Patch2(AnimalFeederGoal,Character,Goal)
StateMachineGoal.CheckForSubGoalFinished (Character character, Goal parent, System.Boolean hasCalculatedTargetAlready) (at C:/Survivalist2/Assets/Scripts/Goal/Goal.cs:1009)
StateMachineGoal.Update (Character character, Goal parent) (at C:/Survivalist2/Assets/Scripts/Goal/Goal.cs:985)
(FLAH) Ken 2024 年 10 月 29 日 下午 6:21 
NBice
Bonelancer 2024 年 9 月 8 日 上午 8:38 
cant wait to test this out
SweetCaptn  [作者] 2024 年 8 月 27 日 上午 9:58 
Lol, I see it now. Could've chosen a better name haha
⚡Electro Javaboy⚡ 2024 年 8 月 27 日 上午 6:55 
I don't know why but my first thought was this mod allows you to play as chicken, lol.