hi after updating to your newest file the casks don't seem to work? the game loads in with this error that was not showing before i updated! [Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_HardwoodCask' under Fields. [Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_RadioactiveCask' under Fields.
Hi! When trying the latest version with Content Patcher, I'm getting the following warning and can't put anything in the hardwood casks I crafted:
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_HardwoodCask' under Fields. [Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_RadioactiveCask' under Fields.
EDIT: Nevermind, I immediately realized I didn't enable the CCM package. Sorry about that!
Excuse me, but what do you mean by enabling the CCM package? Replaying after a pretty long absense, and this mod is the only upgrade giving me grief lol.
I have 'Custom Cask Mod' and MFM loaded for causing changes to game code, and loaded content patches are the (CCM), (CP) and (MFM) versions of this mod (2.0.1) -- what am I missing?
Hey, firstly just want to say this mod is really great, thank you!
I've noticed that, when putting stuff in the Hardwood Casks, there's no sound effect like with regular casks. I can't comment on Radioactive Casks yet, but I'm just wondering if this is expected behaviour? I'm using the Content Patcher version.
No, it was not. It do remove the wood effect when removing the cask because it make a wood sound and not every ager might be made of wood. But the shipping effect was removed when migrating to 1.6 With the CP version I think I can add it back, I try it out.
It worked. I'll release is as soon as I configure the replace action to turn JA asset machines into CP machines, so I can release the CP as the main version.
Thank you so much for replying! After a few trials found another problem: even with "cask age any object" ticked, I still couldn't put juice and other artisan goods into the advanced casks (hard wood casks and radioactive casks), nor Automate could send the items into them. It seems that only fruit wine can enter the advanced casks. Is that a feature or an error? Have a nice day!
Cask age any object in the config only apply to the vanilla cask. For the advanced casks to also accept every object you need to edit the AgerData.json in their content pack.
I‘ve located the AgerData.json in the folder, but I'm not sure how to edit it to make advanced casks compatible with all kinds of artisan objects. Could you please give a more clear instruction about it? Or considering making it optional in the Generic Mod Config?
I still couldn't...I'm just so ignorant about coding. Me editing the AgersData.json caused an error and disalbed the casks from aging anything. I wonder if there's any chance you can copy and past your adjusted code here? I would really apperciate it! EDIT: OMG I MADE IT! IT'S WORKING NOW
I found an issue in the 2.0.0 version I've yet to see mentioned. The "casks anywhere" setting seemingly only applies to vanilla casks. The hardwood casks only accept items when in the cellar.
Anyone aware of a workaround? I want hardwood casks in my attic :)
Edit: Of course I figured it out very quickly as soon as I posted.
Digus, I saw your previous replies about not being able to add this setting to the config menu but maybe you cold add a "this ONLY applies to vanilla casks" in the text one gets when hovering over the settings? And then refer users to edit the AgerData file?
Just switched from original version to 2.0, I bought back the Radioactive Cask recipe but cannot obtain the Hardwood Cask recipe, as Robin won't mail it to me.
So I was having this issue as well, and to give step by step of what fixed it for me.
Back up your save file for safety, my save file was located in pc/users/user/Appdata/roaming/stardewvalley/saves
open both SaveGameInfo and (FarmName)_(bunch of numbers) in Notepad++
Search for Advancedcasks, you should find two entries in each file
Delete the entries, make sure you delete the whole entry. Notepad++ will highlight the two connected <item> and <string> that bracket the entry when you hover the mouse over them. (I don't know if its necessary to remove both but i did).
(EDIT) Full entry is: <item><key><string>Digus.AdvancedCasksMod_Hardwood_Cask</string></key><value><int>0</int></value></item> and <string>AdvancedCasksMod.HardwoodCask.Recipe</string>
Save the files and then load up the game and the letter with the hardwood casks should be sitting in the mailbox Hope this helps.
Thanks for detailing the steps. You probably only need to delete one from the recipe list, the other should be the mail from the mail list. But it’s easier to explain saying to delete both.
A second option for people not wanting to edit save files:
Download the Console Code mod. Open Notepad and paste in this code:
foreach (string key in CraftingRecipe.craftingRecipes.Keys) { if (key.Contains("Cask")) Game1.player.craftingRecipes.TryAdd(key, 0); }
Save the file as AddMissingCasks.cs in the Console Code mod folder. If you are using the Clear Glasses mod, temporarily move this mod out of the Mods folder. Load your game In the SMAPI console, type: cs --script AddMissingCasks.cs
The recipes will magically re-appear for you, and you will not have to purchase or re-obtain them. Save your game, pop Clear Glasses back into the Mods folder, and go about your normal business.
I'm sorry, I don't understand what you're asking. Like do you want a screenshot of location? Or the inside of the folder? Or do you want me to actually upload whats in my mod folder and send you a downloadable link? I really appreciate your help.
This seems to be an issue with the newest version of Json Assets. Violetlizabet explained what seems to be the cause in the comments here. Replacing the broken casks works, only problem is that my crafting recipe for Hardwood Casks is no longer available. i could buy the Radioactive Cask recipe from Mr Qi in a save where I previously hadn't bought it, unknown if it can be bought again after, or if that recipe even disappears. I tried sleeping once to see if she would send it again but since I can find the letter in the collections tab I highly doubt it. I managed to get Robin to send it again as soon as I load in by removing the following text in the Savefile: <string>AdvancedCasksMod.HardwoodCask.Recipe</string>
If the Radioactive cask recipe disappears and can't be bought again I unfortunetly don't know how to fix it but I'm sure someone else can figure it out.
Elizabeth did state in the comments of Json Asset that they will try to find a better workaround that don't break some assets when updating to the new version.
That user has a lot of comments, I'm not sure which one exactly I should look at. I also don't get what you mean by replacing broken casks. I haven't placed any casks because it already looks wrong in the crafting menu.
When I checked previously no. I had the recipe for the hardwood cask, it was a prohibited sign and appeared that way in the item spawner. This morning the recipe is gone and the item appears in the spawner. I changed nothing.
I'm seeing the same thing using Json Assets 1.11.7, I downloaded CJB item spawner to check if the items existed/worked and they do but it looks like the item recipe for the hardwood casks was removed from my crafting list.
Ok, I'm working on a 2.0.0 version using content patcher. You will probably need do replace all previous casks, but the mod should work as intended after that.
Just released the version 2.0.0 as an optional file, didn't update the main version of the mod. This way people having problem with json asset can use the new 2.0.0 version. I didn't update yet because I want to have some guide for people to migrate their casks, and I don't have the time to do it right now. Also, Json asset version is working for me now, so people having problem might be having some conflict or other problem that I don't have the time to investigate.
Thanks! I'll likely move over to the content patcher. I biggest issue I have with Json Assets atm is the blueprints for the cask getting removed from my crafting list
Hi, I did some playing around out of curiuosity mainly and I thought I'd share in case its useful. Both the Json Assets and Content patcher version work perfectly for me with the exception that since the Json Assets update I've lost the recipe for hardwood cases and I haven't gotten another mail for it. I edited the content.json in the CP version so that Mr Qi's shop sells the recipe for 0 Qi gems and that lets me but the crafting recipe back. I know MFM recently had an update to fix the recipe issue but I think there might still be an issue in there somewhere.
It’s not a issue with the MFM per say. MFM to be compatible looks for the recipe by the item name or recipe ID. So if the recipe changes ID but kept the name, it thinks you already know the recipe even it it changed ID. I don’t know if I can work around that.
No worries, the work around I made will suit me just fine for this playthrough. I just wanted to let you know in case someone else comes to you with the same issue. Thanks
If you are having problems with the cask objects and the recipes, try the optional 2.0.0 version that uses Content Patcher instead of Json Assets. This version is not compatible with the older version, so you will loose your older advanced casks and need to reacquire the recipes again through the mail and shop.
Hello and thank you so much for this amazing mod! I am happy to report this on the bug page but wanted to try here first in case its just me. Before today I was unable to see the hardwood cask or the radioactive casks in crafting, however after some mod updates I did get a new letter from Robin and the hardwood cask is now in my crafting recipes. I bought the radioactive cask recipe in game a little while ago and never saw it in the crafting menu, but wanted to wait to post because I saw others were having the same issue. Now that I can see the hardwood cask in my crafting I wanted to see if there was a way to get the radioactive cask to show up as well. Its not available for me to purchase anymore unfortunately and I feel stuck because I am only able to spawn them in. I posted in the Stardew Discord server and tried a debug command as well as removing a few mods but unfortunately I am still unable to craft these. Smapi log for fun, please let me know if anyone has any ideas on how to proceed! https://smapi.io/log/3c43af3f5de64c219e0fa0e7790e8e6f
Still waiting for the hardwood casks. I tried going through the requirements to find any updates I missed, and I did. But apparently something is still wrong. I've gotten letters from Robin two days in a row that announces the recipes, but they're still not available. I even checked at her shop, but no luck!
Thank you! I see the last update for MFM was a day after this post. I have updated everything and I have sad news that now I cant see the hardwood cask to craft anymore, and the radioactive cask is still missing. I included a new Log just in case! Log: https://smapi.io/log/8f0edc88beaa4067b1d36853521a86dc
228 comments
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_HardwoodCask' under Fields.
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_RadioactiveCask' under Fields.
https://smapi.io/log
make sure you delete the folder before installing the new version.
also use the newest version of every dependency.
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_HardwoodCask' under Fields.
[Content Patcher] Can't apply data patch "(CP)Advanced Cask Mod > Load machine data for Advanced Casks Mod" to Data/Machines: there's no record matching key '(BC)Digus.AdvancedCasksMod_RadioactiveCask' under Fields.
EDIT: Nevermind, I immediately realized I didn't enable the CCM package. Sorry about that!
I have 'Custom Cask Mod' and MFM loaded for causing changes to game code, and loaded content patches are the (CCM), (CP) and (MFM) versions of this mod (2.0.1) -- what am I missing?
Thanks!
https://smapi.io/log
What is not working for you?
I've noticed that, when putting stuff in the Hardwood Casks, there's no sound effect like with regular casks. I can't comment on Radioactive Casks yet, but I'm just wondering if this is expected behaviour? I'm using the Content Patcher version.
It do remove the wood effect when removing the cask because it make a wood sound and not every ager might be made of wood. But the shipping effect was removed when migrating to 1.6
With the CP version I think I can add it back, I try it out.
I'll release is as soon as I configure the replace action to turn JA asset machines into CP machines, so I can release the CP as the main version.
"EnableAgingAnywhere": false,
to
"EnableAgingAnywhere": true,
After a few trials found another problem: even with "cask age any object" ticked, I still couldn't put juice and other artisan goods into the advanced casks (hard wood casks and radioactive casks), nor Automate could send the items into them.
It seems that only fruit wine can enter the advanced casks. Is that a feature or an error?
Have a nice day!
Could you please give a more clear instruction about it? Or considering making it optional in the Generic Mod Config?
check the custom cask template to see how to edit the advanced cask file.
edit: nvm it got it to work
I wonder if there's any chance you can copy and past your adjusted code here? I would really apperciate it!
EDIT: OMG I MADE IT! IT'S WORKING NOW
"EnableAgingAnywhere": false,
to
"EnableAgingAnywhere": true,
Anyone aware of a workaround? I want hardwood casks in my attic :)
Edit: Of course I figured it out very quickly as soon as I posted.
Digus, I saw your previous replies about not being able to add this setting to the config menu but maybe you cold add a "this ONLY applies to vanilla casks" in the text one gets when hovering over the settings? And then refer users to edit the AgerData file?
Thank you very much for this mod by the way :)
- Back up your save file for safety, my save file was located in pc/users/user/Appdata/roaming/stardewvalley/saves
- open both SaveGameInfo and (FarmName)_(bunch of numbers) in Notepad++
- Search for Advancedcasks, you should find two entries in each file
- Delete the entries, make sure you delete the whole entry. Notepad++ will highlight the two connected <item> and <string> that bracket the entry when you hover the mouse over them. (I don't know if its necessary to remove both but i did).
(EDIT) Full entry is: <item><key><string>Digus.AdvancedCasksMod_Hardwood_Cask</string></key><value><int>0</int></value></item> and <string>AdvancedCasksMod.HardwoodCask.Recipe</string>Save the files and then load up the game and the letter with the hardwood casks should be sitting in the mailbox
Hope this helps.
Sorry first time using Notepad++
EDIT: that didnt work
EDIT2: Nvm i just did it wrong lol. works fine thank you
Download the Console Code mod.
Open Notepad and paste in this code:
foreach (string key in CraftingRecipe.craftingRecipes.Keys)
{
if (key.Contains("Cask"))
Game1.player.craftingRecipes.TryAdd(key, 0);
}
Save the file as AddMissingCasks.cs in the Console Code mod folder.
If you are using the Clear Glasses mod, temporarily move this mod out of the Mods folder.
Load your game
In the SMAPI console, type:
cs --script AddMissingCasks.cs
The recipes will magically re-appear for you, and you will not have to purchase or re-obtain them.
Save your game, pop Clear Glasses back into the Mods folder, and go about your normal business.
[game] Failed loading texture JA\BigCraftables\Hardwood Cask for item (BC)Hardwood_Cask: asset doesn't exist.
Let me know if I didn't do that right.
Can you upload and send me your AdvancedCaskMod folder?
If the Radioactive cask recipe disappears and can't be bought again I unfortunetly don't know how to fix it but I'm sure someone else can figure it out.
Elizabeth did state in the comments of Json Asset that they will try to find a better workaround that don't break some assets when updating to the new version.
You will probably need do replace all previous casks, but the mod should work as intended after that.
This way people having problem with json asset can use the new 2.0.0 version.
I didn't update yet because I want to have some guide for people to migrate their casks, and I don't have the time to do it right now.
Also, Json asset version is working for me now, so people having problem might be having some conflict or other problem that I don't have the time to investigate.
Both the Json Assets and Content patcher version work perfectly for me with the exception that since the Json Assets update I've lost the recipe for hardwood cases and I haven't gotten another mail for it. I edited the content.json in the CP version so that Mr Qi's shop sells the recipe for 0 Qi gems and that lets me but the crafting recipe back.
I know MFM recently had an update to fix the recipe issue but I think there might still be an issue in there somewhere.
I don’t know if I can work around that.
If you are having problems with the cask objects and the recipes, try the optional 2.0.0 version that uses Content Patcher instead of Json Assets.
This version is not compatible with the older version, so you will loose your older advanced casks and need to reacquire the recipes again through the mail and shop.