Milestones

by Wiwiweb

Keep track of your progress in a fun way by finding out how fast you created key items. Look back on your factory's history, compare with your friends, or challenge yourself. Supports any list of items and comes with presets for popular big mods. Can be added to existing games.

Utilities
20 days ago
1.1 - 2.0
301K

b [Fixed] 1.3.20 migration crash

a month ago
(updated a month ago)

Hello. I've been trying to update my older save, but Milestones gives me error on launch.
I'm updating from Factorio 1.1.80-0 to 2.0.69, and Milestones from 1.3.17 to 1.4.6.

Edit: unfortunately I forgot to finish the title, I am sorry.

Error while running event Milestones::on_configuration_changed
__Milestones__/scripts/milestones_util.lua:200: bad argument #1 of 2 to 'pairs' (table expected, got userdata)
stack traceback:
    [C]: in function 'pairs'
    __Milestones__/scripts/milestones_util.lua:200: in function <__Milestones__/scripts/milestones_util.lua:198>
    (...tail calls...)
    __Milestones__/scripts/milestones_util.lua:432: in function <__Milestones__/scripts/milestones_util.lua:420>
    (...tail calls...)
    __Milestones__/scripts/milestones_util.lua:399: in function 'backfill_completion_times'
    __Milestones__/scripts/migrations.lua:152: in function 'func'
    __flib__/migration.lua:70: in function 'run'
    __flib__/migration.lua:97: in function 'on_config_changed'
    __Milestones__/control.lua:145: in function <__Milestones__/control.lua:143>
20 days ago

Sorry for the delay, I think this should be fixed now.
It was caused by migrating Milestones from a mod version older than 1.3.20.

New response