Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gastronomy: I cant sell food because the stockpile is not detected #818

Closed
electrix1337 opened this issue Jul 29, 2024 · 4 comments
Closed
Labels
bug This is a bug in a mod.

Comments

@electrix1337
Copy link

electrix1337 commented Jul 29, 2024

The stock of food is empty
The restaurant never get client because number of food that i can serve is always empty even if i have the good meals

To Reproduce
Steps to reproduce the behavior:
it never worked with my multiple mods

Console log
(https://gist.github.com/HugsLibRecordKeeper/f7bfcb390db3d2dacebc49d46076d871)

Error stacktrace
Just saying, i don't know if it is the good stacktrace because there is alot going on in the console. For more info, just text me i will answerd.

Could not do PostLoadInit on Waller: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 42A7C4B4]
at RimWorld.ThoughtUtility.NullifyingHediff (RimWorld.ThoughtDef def, Verse.Pawn pawn) [0x00000] in :0
at RimWorld.ThoughtUtility.ThoughtNullified (Verse.Pawn pawn, RimWorld.ThoughtDef def) [0x00016] in :0
at RimWorld.Thought_Memory.MoodOffset () [0x00000] in :0
at RimWorld.ThoughtUtility+<>c.b__11_1 (RimWorld.Thought_Memory thought) [0x00000] in :0
at RimWorld.MemoryThoughtHandler+<>c__DisplayClass22_0.b__0 (RimWorld.Thought_Memory x) [0x0000e] in :0
at System.Collections.Generic.List1[T].Find (System.Predicate1[T] match) [0x0000d] in :0
at RimWorld.MemoryThoughtHandler.RemoveMemoriesOfDefIf (RimWorld.ThoughtDef def, System.Func`2[T,TResult] predicate) [0x00037] in :0
at RimWorld.ThoughtUtility.RemovePositiveBedroomThoughts (Verse.Pawn pawn) [0x00059] in :0
at RimWorld.Pawn_Ownership.set_OwnedBed (RimWorld.Building_Bed value) [0x00010] in :0
at RimWorld.Pawn_Ownership.UnclaimBed () [0x0004e] in :0
- PREFIX Orion.Hospitality: Boolean Hospitality.Patches.Pawn_Ownership_Patch+UnclaimBed:Prefix(Pawn ___pawn)
at RimWorld.Pawn_Ownership.ClaimBedIfNonMedical (RimWorld.Building_Bed newBed) [0x0007f] in :0
at RimWorld.CompAssignableToPawn_Bed.TryAssignPawn (Verse.Pawn pawn) [0x0000c] in :0
at Hospitality.CompGuest.PostExposeData () [0x00124] in <56c3991c293841e7bb76f6d71df11ead>:0
at Verse.ThingWithComps.ExposeData () [0x00035] in :0
- POSTFIX OskarPotocki.VFECore: Void VFECore.Thing_ExposeData_Patch:Postfix(ThingWithComps __instance)
at Verse.Pawn.ExposeData () [0x00000] in :0
at Verse.PostLoadIniter.DoAllPostLoadInits () [0x00032] in :0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.PostLoadIniter:DoAllPostLoadInits ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.ScribeLoader.FinalizeLoading_Patch1 (Verse.ScribeLoader)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.LoadGame_Patch3 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch1 (string)
Verse.Root_Play/<>c:b__1_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

(https://gist.github.com/HugsLibRecordKeeper/23bd74d5d4e9fa840fbd75a3b9ea79ab)

Screenshots
image
image

Fixing bugs takes a lot of time. Please consider becoming a patron to support development.

@electrix1337 electrix1337 added the bug This is a bug in a mod. label Jul 29, 2024
@electrix1337 electrix1337 changed the title Mod name: Name of the problem Gastronomy: I cant sell food because the stockpile is not detected Jul 29, 2024
@OrionFive
Copy link
Owner

It's hard to tell if one of the other errors is related.

Is the food inside the area of the register?
In case the register is set to infinite size, try setting it to something else. I recall there was an issue with infinite.

@electrix1337
Copy link
Author

the food is outside the area. It is set to the room size and 0. so the only thing affected is the room. The thing is that i watched a video and the guy didn't need to put food directly into the restaurant

@electrix1337
Copy link
Author

electrix1337 commented Jul 29, 2024

Nvm im sorry. i tryed to put the range of the restaurant with the food supply and it work. so i will be able to play despite the restriction of putting my food inside the restaurant. The only problem with that is that my colonist might thing tables around is part of the restaurant. So i cant put any table near it in my other building around. Also, i cant put a frigde inside the same piece. I guess the fix for that will be to install the fridge mod for the time behing.

@OrionFive
Copy link
Owner

You can turn dining on and off per table. Also, you can build a second register in your storage room, set it to the same restaurant and it will store your stock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug in a mod.
Projects
None yet
Development

No branches or pull requests

2 participants