This mod doesn't work with SV 1.5.6. Just saying that for the benefit of those who found it just now and wanted to download it. It crashes the saved game on loading, and smapi points to this mod as the one causing a critical error:
[18:20:24 ERROR SMAPI] Critical app domain exception: System.Exception: Couldn't invoke the StardewValley.Objects.TV::getFortuneForecast method: it expects 1 parameters, but 0 were provided. Etc, etc.
I point everyone like me to this page: https://smapi.io/mods It already lists this mod as incompatible with the current version of SMAPI ;) Very helpful.
Hey remybach, the issues reported below are resolved in the pull request from iarspider. I gather you're not playing this much any more but I imagine you'd make a lot of people happy if you could rebuild the mod and update it. :)
(I imagine it's "not done" to post the build myself even if I could figure out a way to post files on Nexus. ^_^')
Since I got some requests to share this: the compiled fixed version can be found here for the time being: https://a.pomf.cat/soqwvj.zip
Hello, I'm trying to use this mod, and it keeps throwing the following error (I have Forecaster v2.0): [Forecaster] This mod failed in the Input.ButtonPressed event. Technical details: System.Exception: Couldn't invoke the StardewValley.Objects.Furniture::getFortuneForecast method: it expects 1 parameters, but 0 were provided. at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 70 at Forecaster.ModEntry.ShowLuckForecast() in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 72 at Forecaster.ModEntry.OnButtonPressed(Object sender, ButtonPressedEventArgs e) in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 64 at StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_1.<Raise>b__1() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 106 at StardewModdingAPI.Framework.PerformanceMonitoring.PerformanceMonitor.Track(String collectionName, String sourceName, Action action) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\PerformanceMonitoring\PerformanceMonitor.cs:line 87 at StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_0.<Raise>b__0() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 106 [SMAPI] Critical thread exception: System.Exception: Couldn't invoke the StardewValley.Objects.TV::getFortuneForecast method: it expects 1 parameters, but 0 were provided. at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 70 at Forecaster.ModEntry.ShowLuckForecast() in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 72 at Forecaster.ModEntry.<OnDayStarted>d__5.MoveNext() in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 51 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
Please update to SV 1.4! Many Thanks! It loads into SMAPI correctly, but it looks like the only message I can get every day in the morning is the weather info. Nothing about luck is mentioned. Not sure why is causing this to happen... (Config file has been set up correctly)
Hey everyone... really sorry for taking so long to update this. I stopped playing Stardew and forgot about this... I also managed to miss the notifications about the code changes submitted by PathosChild (who's a real hero for doing so!). Apologies for the inconvenience!
Hello, I'm using the unofficial update of your mod and getting an error in SMAPI. Pathoschild said that error actually corresponds to Forecaster. Here's my SMAPI log: https://smapi.io/log/73VXKAhV Specifically:
Spoiler:
Show
20:57:20ERRORSMAPICritical thread exception: System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 66 21:13:17ERRORSMAPICritical thread exception: System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 66
I still get this warning after updating: ''These mods could not be added to your game.
[SMAPI] - Forecaster 1.2.1 because its EntryDll value 'forecaster.dll' doesn't match the actual file capitalization 'Forecaster.dll'. The capitalization must match for crossplatform compatibility.''
For the mod author's benefit, the messages SMAPI display are: "[SMAPI] Forecaster will break in the upcoming SMAPI 3.0 (EntryDll value with case-insensitive capitalisation is deprecated since SMAPI 2.11). [SMAPI] Forecaster will break in the upcoming SMAPI 3.0 (legacy events are deprecated since SMAPI 2.9)." Thank you for making such an excellent mod that enhances quality of life!
43 comments
[18:20:24 ERROR SMAPI] Critical app domain exception: System.Exception: Couldn't invoke the StardewValley.Objects.TV::getFortuneForecast method: it expects 1 parameters, but 0 were provided.
Etc, etc.
I point everyone like me to this page:
https://smapi.io/mods
It already lists this mod as incompatible with the current version of SMAPI ;) Very helpful.
(I imagine it's "not done" to post the build myself even if I could figure out a way to post files on Nexus. ^_^')
Since I got some requests to share this: the compiled fixed version can be found here for the time being: https://a.pomf.cat/soqwvj.zip
[Forecaster] This mod failed in the Input.ButtonPressed event. Technical details:
System.Exception: Couldn't invoke the StardewValley.Objects.Furniture::getFortuneForecast method: it expects 1 parameters, but 0 were provided.
at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 70
at Forecaster.ModEntry.ShowLuckForecast() in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 72
at Forecaster.ModEntry.OnButtonPressed(Object sender, ButtonPressedEventArgs e) in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 64
at StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_1.<Raise>b__1() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 106
at StardewModdingAPI.Framework.PerformanceMonitoring.PerformanceMonitor.Track(String collectionName, String sourceName, Action action) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\PerformanceMonitoring\PerformanceMonitor.cs:line 87
at StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_0.<Raise>b__0() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 106
[SMAPI] Critical thread exception: System.Exception: Couldn't invoke the StardewValley.Objects.TV::getFortuneForecast method: it expects 1 parameters, but 0 were provided.
at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 70
at Forecaster.ModEntry.ShowLuckForecast() in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 72
at Forecaster.ModEntry.<OnDayStarted>d__5.MoveNext() in C:\Users\Remy\projects\smapi\forecaster\Forecaster\ModEntry.cs:line 51
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
It loads into SMAPI correctly, but it looks like the only message I can get every day in the morning is the weather info. Nothing about luck is mentioned. Not sure why is causing this to happen... (Config file has been set up correctly)
Specifically:
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 66
21:13:17ERRORSMAPICritical thread exception: System.Reflection.TargetParameterCountException: Parameter count mismatch.
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at StardewModdingAPI.Framework.Reflection.ReflectedMethod.Invoke[TValue](Object[] arguments) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Reflection\ReflectedMethod.cs:line 66
''These mods could not be added to your game.
[SMAPI] - Forecaster 1.2.1 because its EntryDll value 'forecaster.dll' doesn't match the actual file capitalization 'Forecaster.dll'. The capitalization must match for crossplatform compatibility.''
Any fix for this?
[SMAPI] Forecaster will break in the upcoming SMAPI 3.0 (legacy events are deprecated since SMAPI 2.9)."
Thank you for making such an excellent mod that enhances quality of life!