MouseyPounds / stardew-checkup

Checks progress in a Stardew Valley save file
MIT License
197 stars 34 forks source link

TypeError when selecting save created in 1.4 #13

Open Tenebrosful opened 3 years ago

Tenebrosful commented 3 years ago

When i try to load my saves created in 1.4.5, i got an error.

stardew-checkup.js?v=4.0:3200 Uncaught TypeError: Cannot read property 'anchor' of undefined
    at parsePlayerQuests (stardew-checkup.js?v=4.0:3200)
    at Element.<anonymous> (stardew-checkup.js?v=4.0:3180)
    at Function.each (jquery.min.js:2)
    at r.fn.init.each (jquery.min.js:2)
    at parseQuests (stardew-checkup.js?v=4.0:3178)
    at FileReader.reader.onload (stardew-checkup.js?v=4.0:5024)

Save #1 (Last day saved in 1.5.0) Save #2 (Last day saved in 1.4.5)

johnseekins commented 3 years ago

Seeing the same thing, although the error in Firefox is different: Screenshot from 2020-12-22 17-58-14

johnseekins commented 3 years ago

It looks like you aren't passing meta into parsePlayerQuests on line 3180: https://github.com/MouseyPounds/stardew-checkup/blob/master/stardew-checkup.js#L3180

Seems a simple fix. But also easy to overlook since it only affects multi-player?