MouseyPounds/stardew-checkup

npc is not defined

keffertjuh opened this issue · 1 comments

Tool suddenly appears to be unable to load for me.
I suspect it is because I just had the ten heart group event after which all the females decide to ignore you for a week or so.
Did not think to check my older save file for comparison before I let another day pass, so that one has the same issue.

Will update whether it works again once I've played past that time period.
Could very well be a Stardew issue instead. Game still works fine though.
EDIT: Works again now. Haven't yet talked to one of the females, but guessing that was indeed it.

Either way, I suggest processing the savefile data in parts rather than as a whole, so the non-affected sections will still turn up a result.

image

Save file for reference (added txt extension so it would be accepted by this submission box):
Keffs_272416628.txt

EDIT: 2 more savefiles for easier comparison (day it didn't work vs next day where it did) (I didn't spot anything of note using a compare tool, but you have much more experience):
Keffs_272416628.txt
Keffs_272416628_old.txt

image

this issue occured for me, seems to be due to hitting the 10 heart events and the variables are all incorrectly named. it should be meta.npc, not just npc. also for the conditional, you can just check who.blah, then do the bracket notation assigning afterwards. Also line 1236 has an mispelling. image