Don't Starve

Don't Starve

Craft Pot [DS, ROG, SW, HAM, DST]
IvanX  [developer] 10 Apr, 2016 @ 6:37am
Known Issues
The following list contains all currently known bugs/issues with the mod, planning to fix all of them.

- A crash has been reported occuring when exiting caves with the mod on.

- Some extra information is shown sometimes in recipe due to the current DS recipe system. Aka if fishsticks require 1 twig, it will display requirements as 1 twig, 1 inedible, and restrict inedibles to 1;

- large scale alternative recipes are not parsed entirely correct, like conditions such as
(a or b) and (c or d) and (e or f) result in pretty unstable and incomplete set of ands, such as ace, bce, ade, acf (missing bde, bdf, etc etc)
Last edited by IvanX; 14 Aug, 2016 @ 4:01am
< >
Showing 1-15 of 26 comments
lomodomo_cnx 15 Jun, 2016 @ 7:13am 
it is error when i try to cook fresh fruit crepe ()
here is log

scripts/mainfunctions.lua(852,1) LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(852,1)
scripts/mainfunctions.lua(853,1) ...workshop-662872357/scripts/components/knownfoods.lua:587: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/workshop-662872357/scripts/components/knownfoods.lua:587 in (method) IncrementCookCounter (Lua) <586-592>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/workshop-662872357/modmain.lua:86 in (field) ondonecooking (Lua) <83-87>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/components/stewer.lua:44 in (field) fn (Lua) <39-62>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/scheduler.lua:187 in (method) OnTick (Lua) <161-217>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/scheduler.lua:399 in (global) RunScheduler (Lua) <397-405>
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/update.lua:93 in () ? (Lua) <79-148>
IvanX  [developer] 15 Jun, 2016 @ 8:27am 
Hmm, thanks, I'll look into it, did not properly test the patch with custom crock pots
Last edited by IvanX; 20 Jun, 2016 @ 5:47am
IvanX  [developer] 15 Jun, 2016 @ 10:32am 
@lomodomo_cnx, uploaded new version, fixed that issue, there were a few bugs with custom crockpots, starting with forgotten piece of debug code that removed any custom recipes, to unstable code at cooking event. Mod simply did not work for any custom crock pot.

It should be all stable and smooth now!
Last edited by IvanX; 15 Jun, 2016 @ 10:58am
Winterbottom 21 Jun, 2016 @ 5:44am 
When trying to start RoG playthrough

scripts/mods.lua(44,1) error calling gamepostinit in mod workshop-662872357 (Craft Pot):
...workshop-662872357/scripts/components/knownfoods.lua:504: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/../mods/workshop-662872357/scripts/components/knownfoods.lua(504,1) in function 'MinimizeRecipe'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/../mods/workshop-662872357/scripts/components/knownfoods.lua(184,1) in function 'OnAfterLoad'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/../mods/workshop-662872357/modmain.lua(39,1) in function 'OnAfterLoad'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/../mods/workshop-662872357/modmain.lua(54,1)
=(tail call) ?
=[C] in function 'xpcall'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/scripts/mods.lua(42,1)
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/scripts/mods.lua(382,1) in function 'SetPostEnv'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(738,1) in function 'Check_Mods'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(731,1) in function 'CheckControllers'
D:/Program Files/SteamLibrary/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(662,1)
scripts/mods.lua(253,1) Disabling workshop-662872357 (Craft Pot) because it had an error.
scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen
scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully.
IvanX  [developer] 21 Jun, 2016 @ 10:59am 
@Winterbottom, there seem to be a problem with one of the modded ingredients, unfortunately the debug code does not show its name or the mod that adds it...

--> A list of used mods would help :) Especially the ones that add cooking ingredients / recipes

Meanwhile, I'll try to simulate the issue by adding weird ingredients on my side.
Last edited by IvanX; 21 Jun, 2016 @ 11:03am
IvanX  [developer] 21 Jun, 2016 @ 11:12am 
Most likely caused by one of the following ingredients being part of modded recipe:
cooked smallmeat, cooked monstermeat, cooked meat.


Or not... Deadend. monstermeat experiment failed. Unless mod that adds the recipe is clearly bugged, aka has ingredients within that do not exist, possibly mistype. I guess I could check that and ignore it,

but having the list would help a lot.
Last edited by IvanX; 21 Jun, 2016 @ 11:38am
IvanX  [developer] 21 Jun, 2016 @ 12:03pm 
Okay, fixed this bug. (most likely)

If it was caused by trashy ingredient in the recipe, it will now be ignored and will result in current message printed in console on start up:

"CraftPot ~ detected invalid ingredient [..{ingredient_name}] in one of the recipes."

Uploaded the fix. Have fun cooking! :)

@Winterbottom, could you check if it no longer crashes. And if it doesn't, press '~' (open console) and check if there's a line like the one i wrote above.
Last edited by IvanX; 21 Jun, 2016 @ 12:17pm
Winterbottom 21 Jun, 2016 @ 12:23pm 
Thanks, this update did the trick. Lines you mentioned appear indeed, and they seem to be from Shipwrecked ingredients. It may've been caused by portable crock pot mod.
IvanX  [developer] 21 Jun, 2016 @ 12:27pm 
Ah, makes sense, if mod adds crockpot and recipes without the ingredients, it would be uncookable in ROG without SW compatibility. That's one crash less on the road to perfection :) Thanks!
Last edited by IvanX; 21 Jun, 2016 @ 12:28pm
interesting how stuff interracts with each other which we don't always foresee ^^
IvanX  [developer] 22 Jun, 2016 @ 5:26am 
The mod 'insides' are extremely sensitive to recipe functions :) Thats the whole thing about it. Metatables + try/catch in order to extract info on cooking recipes. It's not the first problem I'm experiencing due to that, previous realization of simpe brute forcing recipes by passing cooker all different ingredients crashed when recipes were unsafe. Now this, and ye, this scenario is hardly 4-c-able :)

But in the end it's all worth it, when I port it to DST the mod will be priceless, as people would be able to join a random server to have all the modded recipes handed over to them automaticly.
Last edited by IvanX; 22 Jun, 2016 @ 5:27am
indeed
qingliuyishui 26 Sep, 2016 @ 3:11am 
Dear AUTHOR
I wanna your crock pot mod can display the recipe menu at the top layer. Other HUD,like Combined Status HUD, backpak HUD, always block this recipe HUD when I use crock pot.It's REALLY NOT so cute !!!
Originally posted by qlys:
Dear AUTHOR
I wanna your crock pot mod can display the recipe menu at the top layer. Other HUD,like Combined Status HUD, backpak HUD, always block this recipe HUD when I use crock pot.It's REALLY NOT so cute !!!
I have no such issue O_o, can you take a screenshot ?
IvanX  [developer] 26 Sep, 2016 @ 5:45am 
I have it, if you run windowed mode and size screen down to small square, any UI elements overlays craft pot's UI (including status bars, backpack etc). That's kind of an issue of the container it's using, I recall trying to fix it, but of all the ways there were only dirty hacks achieving a fix.
< >
Showing 1-15 of 26 comments
Per page: 1530 50