Hi, I don't know if I did something wrong but when I load the game, SMAPI shows this message: [HalloweenJamCSharp] Exception encountered while patching: HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void HalloweenJamCSharp.EventPatches::command_null_Prefix(StardewValley.Event __instance, StardewValley.GameLocation location, Microsoft.Xna.Framework.GameTime time, System.String[] split) at HarmonyLib.PatchClassProcessor.PatchWithAttributes(MethodBase& lastOriginal) at HarmonyLib.PatchClassProcessor.Patch() --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original) at HarmonyLib.PatchClassProcessor.Patch() at HarmonyLib.Harmony.<PatchAll>b__10_0(Type type) at HarmonyLib.Harmony.PatchAll(Assembly assembly) at HalloweenJamCSharp.HarmonyPatcher.ApplyPatches() in C:\GitHub\StardewMods\HalloweenJamCSharp\HarmonyPatcher.cs:lin
Is that normal? It looks like an error report but I do not exactly understand what it means. I extracted the mod into the Mod folder as instructed.
So... I think I never got the letter? Or if I did I think I accidentally skipped it? Unless that event it auto skipped for me was part of it. (It more looked like the Sam skateboard event with that single frame) Is there some way for me to bruteforce it?
I think I need to tweak the conditions for the letter to send, as I'd intended for it to arrive randomly, but it seems a little too rare at the moment 😅you can turn off "Random Chance Precondition" in the config.json or using GMCM and the letter should arrive the next time you enter the Farm map (as long as the Sewer has been unlocked)! Let me know if you encounter any more issues with it!
hm, that's odd. im in the process of rewriting the conditions for the letter/event to trigger, but in the meantime, you can enterdebug showmail SomethingFishyInTheSewersLetter debug seenmail SomethingFishyInTheSewersLetter (two separate commands) in the SMAPI console to display the letter and mark it as read. Then visiting the sewers after midnight should trigger the event. If you encounter any errors or it still doesn't work, would you mind opening a bug report and attaching your log? thanks :)
I've lightly translated this mod into Japanese to give them a taste of the atmosphere of this, but I wonder if it would be okay to upload it with your credit in Nexus? It may take a little time to upload this because I have to check and confirm the debugging procedure before uploading it. (If you won't allow it, I won't upload it!)
[P.S.] Translating the original file throws up a red error, and changing it to an i18n file throws up a yellow error because it's not a valid .json file or something. I don't think I can even debug it by myself without someone's help. There is already a Japanese translation that maintains the atmosphere of the original, but I can't find the solution........ I don't know why, but I could resolve those problems. It was just due to incorrect inputs, so I can upload your mod "Joja's Dark Secret" translated into Japanese with i18n if you allow it.
Hi Oshikawa! I'm glad you enjoyed it enough to want to translate it, that means a lot to me!! I was under a tight deadline when I made the mod originally so I didn't have time to properly i18n it, but if you don't mind waiting a bit I'll update it with i18n added in to make it easier for translators 💖
Hi, sophiesalacia! Thanks!! Actually, I've already reworked this mod into i18n file and finished debugging it... If you don't mind, would it be possible for you to debug this file for me over there as well? If you don't have any problems with my conversion to an i18n file, I would not mind having it up on your end as is! (Just delete the "_oshikawa" name that was to avoid overwriting the file!) And the "ReadMe.txt" written in Japanese is an explanation for Japanese, so it would be appreciated if you could leave it as it is!
my reworked into i18n -> google drive / Dropbox (You can download the same file from any link! (If you're in a situation where you can't download from either link, let me know!)
25 comments
[HalloweenJamCSharp] Exception encountered while patching: HarmonyLib.HarmonyException: Patching exception in method null
---> System.ArgumentException: Undefined target method for patch method static System.Void HalloweenJamCSharp.EventPatches::command_null_Prefix(StardewValley.Event __instance, StardewValley.GameLocation location, Microsoft.Xna.Framework.GameTime time, System.String[] split)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes(MethodBase& lastOriginal)
at HarmonyLib.PatchClassProcessor.Patch()
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
at HarmonyLib.PatchClassProcessor.Patch()
at HarmonyLib.Harmony.<PatchAll>b__10_0(Type type)
at HarmonyLib.Harmony.PatchAll(Assembly assembly)
at HalloweenJamCSharp.HarmonyPatcher.ApplyPatches() in C:\GitHub\StardewMods\HalloweenJamCSharp\HarmonyPatcher.cs:lin
Is that normal? It looks like an error report but I do not exactly understand what it means. I extracted the mod into the Mod folder as instructed.
debug showmail SomethingFishyInTheSewersLetter
(two separate commands) in the SMAPI console to display the letter and mark it as read. Then visiting the sewers after midnight should trigger the event. If you encounter any errors or it still doesn't work, would you mind opening a bug report and attaching your log? thanks :)debug seenmail SomethingFishyInTheSewersLetter
[P.S.]
Translating the original file throws up a red error, and changing it to an i18n file throws up a yellow error because it's not a valid .json file or something. I don't think I can even debug it by myself without someone's help. There is already a Japanese translation that maintains the atmosphere of the original, but I can't find the solution........ I don't know why, but I could resolve those problems. It was just due to incorrect inputs, so I can upload your mod "Joja's Dark Secret" translated into Japanese with i18n if you allow it.If you don't have any problems with my conversion to an i18n file, I would not mind having it up on your end as is! (Just delete the "_oshikawa" name that was to avoid overwriting the file!) And the "ReadMe.txt" written in Japanese is an explanation for Japanese, so it would be appreciated if you could leave it as it is!
my reworked into i18n -> google drive / Dropbox
(You can download the same file from any link! (If you're in a situation where you can't download from either link, let me know!)
(I proably shouldn't post spoiler so I won't say anything about the plot...)