Don't Starve

Don't Starve

Craft Pot [DS, ROG, SW, HAM, DST]
IvanX  [udvikler] 10. apr. 2016 kl. 6:37
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)
Sidst redigeret af IvanX; 14. aug. 2016 kl. 4:01
< >
Viser 1-15 af 26 kommentarer
lomodomo_cnx 15. juni 2016 kl. 7:13 
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  [udvikler] 15. juni 2016 kl. 8:27 
Hmm, thanks, I'll look into it, did not properly test the patch with custom crock pots
Sidst redigeret af IvanX; 20. juni 2016 kl. 5:47
IvanX  [udvikler] 15. juni 2016 kl. 10:32 
@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!
Sidst redigeret af IvanX; 15. juni 2016 kl. 10:58
Winterbottom 21. juni 2016 kl. 5:44 
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  [udvikler] 21. juni 2016 kl. 10:59 
@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.
Sidst redigeret af IvanX; 21. juni 2016 kl. 11:03
IvanX  [udvikler] 21. juni 2016 kl. 11:12 
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.
Sidst redigeret af IvanX; 21. juni 2016 kl. 11:38
IvanX  [udvikler] 21. juni 2016 kl. 12:03 
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.
Sidst redigeret af IvanX; 21. juni 2016 kl. 12:17
Winterbottom 21. juni 2016 kl. 12:23 
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  [udvikler] 21. juni 2016 kl. 12:27 
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!
Sidst redigeret af IvanX; 21. juni 2016 kl. 12:28
interesting how stuff interracts with each other which we don't always foresee ^^
IvanX  [udvikler] 22. juni 2016 kl. 5:26 
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.
Sidst redigeret af IvanX; 22. juni 2016 kl. 5:27
indeed
qingliuyishui 26. sep. 2016 kl. 3:11 
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 !!!
Oprindeligt skrevet af 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  [udvikler] 26. sep. 2016 kl. 5:45 
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.
< >
Viser 1-15 af 26 kommentarer
Per side: 1530 50