[Anniversary on Calendar] Failed in Postfix_draw: System.NullReferenceException: Object reference not set to an instance of an object. at CalendarAnniversary.Framework.CalendarPatch.Postfix_draw(SpriteBatch b, Billboard __instance) in C:\Users\Will\Source\Repos\CalendarAnniversary\CalendarAnniversary\CalendarPatch.cs:line 264
(The ss was in 4.0.0 of SMAPI but since updated to 4.0.2) It does seem to work a little because it did show when I got married but I cannot change the seasons, as that was the main reason I was using this mod (As seen with the error).
Could you please tell me how to find my wedding date in the savegame? I got married before meeting Dwarf, but I don't like my wedding anniversary appearing together with his birthday on the calendar...
Hi, it looks like it's under 'friendshipData' and then whoever your spouse is:
Spoiler:
Show
I haven't tried changing it, maybe make a backup first :)
also for some reason it logs wedding date as the day before the wedding ceremony so set the WeddingDate to the day before whenever you want your anniversary to be.
thanks for the share! If the DayOfMonth is 28 and that number is the day before the actual day, does that make the screenshot posted with an anniversary Summer 1?
Hi If 'PlatonicKrobus' is true, the hover text on the anniversary will read "Roommate Anniversary" instead of "Wedding Anniversary". If 'MultiplayerRing' is true, the icon for a multiplayer wedding anniversary will be the Wedding Ring rather than the Mermaid Pendant.
Does this work with UI recolors? I notice that you CAN look forward through the months while using a UI recolor that changes the calendar, but I haven't married yet so I can't tell if the anniversary icon will show up. I think it should work, since it's an 'overlay', but Add Berry Seasons to Calendar recently switched to using an overlay and it still doesn't work with my UI recolor. xP
Thanks for this mod. Any plans to make this mod working with Happy Birthday mod, when player choose a birthday in Happy Birthday cutscene, this mod will set player birthday?
It's been a while since I tested but these mods should work together. The Happy Birthday mod adds the player's birthday to the calendar, should be compatible with the dates added to the calendar by this mod.
76 comments
System.NullReferenceException: Object reference not set to an instance of an object.
at CalendarAnniversary.Framework.CalendarPatch.Postfix_draw(SpriteBatch b, Billboard __instance) in C:\Users\Will\Source\Repos\CalendarAnniversary\CalendarAnniversary\CalendarPatch.cs:line 264
这一部分标红了,为什么会这样
I haven't tried changing it, maybe make a backup first :)
also for some reason it logs wedding date as the day before the wedding ceremony so set the WeddingDate to the day before whenever you want your anniversary to be.
"PlatonicKrobus": true,
"MultiplayerRing": true
If 'PlatonicKrobus' is true, the hover text on the anniversary will read "Roommate Anniversary" instead of "Wedding Anniversary".
If 'MultiplayerRing' is true, the icon for a multiplayer wedding anniversary will be the Wedding Ring rather than the Mermaid Pendant.