Don't Starve Together

Don't Starve Together

Cookbook
Benzoquinone  [developer] 30 Jul, 2020 @ 8:53pm
Bug/Issues
Please post about bugs here. It helps if you have a crash log for crashes.
< >
Showing 1-12 of 12 comments
[string "../mods/workshop-2182831111/post_initialise..."]:117: attempt to index field 'perishable' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2182831111/post_initialise/post_inits.lua:117 in (method) GetHealth (Lua) <98-132>
self =
oneaten = function - scripts/prefabs/mandrake_inactive.lua:61
GetSanity = function - ../mods/workshop-2182831111/post_initialise/post_inits.lua:13
spoiled_hunger = 0.5
hungervalue = 150
spoiled_health = 0
chill = 0
degrades_with_spoilage = true
GetHealth = function - ../mods/workshop-2182831111/post_initialise/post_inits.lua:98
stale_health = 0.333
inst = 151665 - cookedmandrake(LIMBO) (valid:true)
temperatureduration = 0
GetHunger = function - ../mods/workshop-2182831111/post_initialise/post_inits.lua:63
temperaturedelta = 0
_ = table: 273371C0
stale_hunger = 0.667
eater = 118236 - wortox (valid:true)
multiplier = 1
healthvalue = 100
spice_source = nil
ignore_spoilage = false
i = VEGGIE
v = true
../mods/workshop-666155465/modmain.lua:1475 in (global) GetTestString (Lua) <1129-1952>
item = 151665 - cookedmandrake(LIMBO) (valid:true)
viewer = 118236 - wortox (valid:true)
prefab = cookedmandrake
c = table: 2733E768
has_owner = false
can_eat = true
ed = table: 27334538
should_Estimate_Stale = true
hp = nil
hg = nil
sn = nil
../mods/workshop-666155465/modmain.lua:2196 in () ? (Lua) <2190-2201>
player = 118236 - wortox (valid:true)
guid = 151665
item = 151665 - cookedmandrake(LIMBO) (valid:true)
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:946 in (global) HandleRPCQueue (Lua) <937-954>
i = 1
fn = function - ../mods/workshop-666155465/modmain.lua:2190
sender = 118236 - wortox (valid:true)
data = table: 32862290
tick = true
scripts/update.lua:41 in () ? (Lua) <33-129>
dt = 0.016666805371642

[01:22:01]: [string "../mods/workshop-2182831111/post_initialise..."]:117: attempt to index field 'perishable' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2182831111/post_initialise/post_inits.lua:117 in (method) GetHealth (Lua) <98-132>
Benzoquinone  [developer] 31 Jul, 2020 @ 6:37am 
Hmm, I cannot seem to get any crashes with the mandrakes. Is there anymore information you can give me? I will wrap a statement to try to prevent it further but I would also like to actually replicate the bug. Thank you.
€on§†an†Ine 31 Jul, 2020 @ 11:41am 
i tested your mod. With the console, I summoned all the ingredients to the inventory so that they appear in the book. then I started to drop the ingredients under me on the floor with the help of a mod that allows you to drop items under me with the key held down. I folded very quickly to clear the slots and an error popped up.
Kiyo 1 Aug, 2020 @ 2:43am 
First let me say that I love the idea of this mod and that I spent quite a bit of time yesterday playing with it. Completing it like a pokédex, going after rare ingredients and such. It's been real fun!

However there's a number of issues with the mod, the most majour of which is that it's been spawning a stack of what I'll call "placeholder ingredients" to show in the cookbook. After a day of playing in my solo world I started to get this awful stuttering every time I travelled to caves and back, but it wasn't until some time later that I came across my first "stack" on the way to the ruins.

https://i.imgur.com/RDpd3Y3.png

That's a full stack of ingredients, most visible the fish, but there's also moles that immediately start roaming. I did a rollback, which put me out of the cave, see if it was an accident. I came across the same stack in the same spot, which eventually burned due to the sunfish in it.

There's a similar stack of items on the surface, and it's even worse there.

I don't have many server mods. None that affect food or the crockpot system, but as you can see I'm playing as a Shipwrecked mod character. Before reporting I created a test world with the Cookbook mod as the only active server mod. Wormwood as the character. Immediately did c_gonext ("royal_jelly") as a console command, and sure enough...

https://i.imgur.com/OvU4ZzF.png

Until this is fixed and although it's probably going to delete my cookbook progress, I'm going to have to disable it.

The two other issuse I've come across is that caged birds won't eat fried eggs (again, no other food mods, so Cookbook is causing it) and a lua error for "attempting to index local 'data' (a nil value)" that sometimes happens when I try to open the cookbook. No idea how to replicate it. I can post a screenshot of that if needed.
Benzoquinone  [developer] 1 Aug, 2020 @ 9:41am 
Thank you Kiyo, I am working on it and I think I have a fix for the stack of ingredients (I stupidly by mistake created two placeholders an didn't know to delete the second one but now I am just making one stack that will delete itself). For the crash when opening the book, I will have to get more info/other people repeating it before I can do much.
Kiyo 1 Aug, 2020 @ 12:55pm 
Benzoquinone  [developer] 1 Aug, 2020 @ 1:17pm 
@ Kiyo, thank you for that. I think I caught that crash. If you would be so kind as to try the mod again whenever possible and let me know if everything works. I also addressed the bird issue. Honestly, wish I had a small group of testers before I publish my mods but I don't so people like you are very helpful. Thank you!
鱼饵 1 Aug, 2020 @ 5:07pm 
[00:01:42]: [string "scripts/componentactions.lua"]:1750: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/componentactions.lua:1750 in (method) RegisterComponentActions (Lua) <1732-1754>
scripts/entityscript.lua:543 in (method) AddComponent (Lua) <522-544>
scripts/prefabs/preparedfoods.lua:109 in (field) fn (Lua) <37-140>
scripts/mainfunctions.lua:258 in () ? (Lua) <247-289>
=[C]:-1 in (method) SpawnPrefab (C) <-1--1>
scripts/mainfunctions.lua:306 in (global) SpawnPrefab (Lua) <300-308>
../mods/workshop-2182831111/scripts/components/recipebookmaster.lua:69 in (upvalue) GetDebugDetails (Lua) <50-108>
../mods/workshop-2182831111/scripts/components/recipebookmaster.lua:127 in (method) DoSomethingStupid (Lua) <125-163>
../mods/workshop-2182831111/scripts/components/recipebookmaster.lua:122 in (field) _ctor (Lua) <116-123>
scripts/class.lua:181 in (local) cmp (Lua) <171-184>
scripts/entityscript.lua:533 in (method) AddComponent (Lua) <522-544>
../mods/workshop-2182831111/post_initialise/post_inits.lua:373 in (upvalue) fn (Lua) <372-412>
scripts/modutil.lua:419 in () ? (Lua) <418-420>
=(tail call):-1 in () (tail) <-1--1>
=[C]:-1 in (global) xpcall (C) <-1--1>
scripts/mods.lua:162 in (local) prefabpostinitany (Lua) <160-171>
scripts/mainfunctions.lua:280 in () ? (Lua) <247-289>
Kiyo 3 Aug, 2020 @ 12:33am 
After an in-game year of play with the mod all the issues I ran into last time seem solved.
The food stacks haven't come back after I cleaned them up, haven't ran into any errors
trying to interact with the cookbook either. Good work, I'll let you know if I run into any other issues.

EDIT: Canary is giving me three seeds when I feed it even though I have that side of the mod disabled. Like it can eat meat and such but still give the extra seed.
Last edited by Kiyo; 3 Aug, 2020 @ 2:23am
Kangkang 4 Aug, 2020 @ 7:02pm 
When I used "[API] Gem Core(Now with World Seeds!)" and "CookBook" mod on the cloud server (because I added "Feast and Famine" and "POSTY", these two require "[ API] Gem Core" mod), the game crashes and cannot enter, but it can run normally on my local computer.
The following is the crash log when I enter the cloud server game:
[string "scripts/componentactions.lua"]:1750: attempt to index field'?' (a nil value)
LUA ERROR stack traceback:
scripts/componentactions.lua:1750 in (method) RegisterComponentActions (Lua) <1732- 1754>
scripts/entityscript.lua:543 in (method) AddComponent (Lua) <522-544>
scripts/prefabs/preparedfoods.lua:135 in (field) fn (Lua) <37-140>
scripts/mainfunctions.lua:258 in (0)? (Lua) <247-289>
=[C]:- l in (method) SpawnPrefab (C)<-1--1>
scripts/mainfunctions.lua:306 in (upvalue) SpawnPrefab (Lua) <300-308>
../mods/workshop- 1378549454/gemscripts/tools/specialprefabspawner.lua:45 in (global) SpawnPrefab (Lua) <40-50>
mods/workshop-2182831111/scripts/components/recipebookmaster.lua:69 in (upvalue) GetDebugDetails (Lua) <50- 108>
/mods/workshop-218283111/scripts/components/recipebookmaster.lua:127 in (method) DoSomethingStupid (Lua) <125- 163>:BEgloomy:
Benzoquinone  [developer] 5 Aug, 2020 @ 7:48pm 
@ 鱼饵 and Kangkang, your problems seem similar, I will look into them but I cannot guarantee mod compatibility.
pd 9 Aug, 2020 @ 7:36am 
The Waiter 101 is conflict with this mod, the game will crash if you enable both of them
< >
Showing 1-12 of 12 comments
Per page: 1530 50