narc0tiq / YARM

Yet another variant of the Resource Monitor for Factorio
https://mods.factorio.com/mod/YARM
MIT License
58 stars 43 forks source link

New unrecoverable error? #158

Open JonScarlet opened 1 year ago

JonScarlet commented 1 year ago

I was switching from playing with Angels Mods to just the regular game without Angels, but when I loaded up my save for that, this is the error I got.

https://gyazo.com/d1e97e91f33e7ef5f8f9fe5bd160925e

Aside from updating the mod, I only disabled the Angels mods I have. Any ideas what might've caused this?

EDIT: Also not sure how to upload my save if/when you need that, though...

wchristian commented 1 year ago

that's a very specific combination of update on an old game. i'll release a fix in a few minutes

wchristian commented 1 year ago

thanks for the report

fixed version is up :)

JonScarlet commented 1 year ago

Alright, so that fix helped me get to starting it up. However, when I was trying to re-do some of the monitor (I loaded said base mod without YARM at the time, and I just got back to my computer), I got a new error.

https://gyazo.com/1a37f496bd65f2eb1db2a877e458ba6c

The tags I had from the previous use of YARM were still there, but the actual monitoring was gone; I had no stats in the top-left corner of my screen at all despite having over a dozen sites on this save. So as I was attempting to re-do these site, this error came up at about the 5th or 6th one.

So far this hasn't popped up again on a second attempt, so I guess I must've just accidentally tried to YARM the wrong thing or something.

wchristian commented 1 year ago

hmm, definitely something to address, let me look

wchristian commented 1 year ago

weird, that points at

local max_dist = settings.global["YARM-grow-limit"].value

can you share the save pre-migration?

narc0tiq commented 4 weeks ago

I bet this is #180 again -- though the exact circumstances elude me, the stack trace is the same