Pavement Drive Assist Continued

by azaghal

Introduces a driver assistance system that autonomously follows paved roads, while maintaining a preset cruise speed if desired.

Content
a month ago
1.1 - 2.0
15.6K
Transportation

b [FIXED] Crash when applying 2.1.8.lua migration

3 years ago
(updated 3 years ago)

Whats the best way to report bugs?
In the mean time, here is the first one:
EDIT: Applicable when loading an existing save; seems to work fine when generating a new game.

Error while applying migration: Pavement Drive Assist Continued: 2.1.8.lua

PavementDriveAssistContinued/migrations/2.1.8.lua:1: Path PavementDriveAssist/config.lua does not match any enabled mod.

stack traceback:
[C]: in function 'require'
PavementDriveAssistContinued/migrations/2.1.8.lua:1: in main chunk

3 years ago

Long-term it will most likely be Github, but I will not turn down bug reports here either (for those that do not use Github or maybe are not that technical to use it).

Thanks for the first issue report - I think that in all of the rebasing I've done that one got through. On the other hand, I think I have also caught a possibly problematic behaviour when replacing the original mod - some upgrade code will not get run in that case. I should have a patch soon-ish.

3 years ago

Ok, landed a fixed version. The fix is a bit weird, but I think it should not cause issues - I have essentially dropped all migration-related code.

The reasoning is that the migration code was all relevant only for mod versions written for Factorio 0.17 and below, and Factorio 1.1 cannot load those savegames at all - so you would have to upgrade via Factorio 1.0 and install Pavement Drive Assist for 0.18 first, which will then apply all the relevant migrations.

So kinda a nice way to get rid of some of the unused code. Still, do let me know if anything broke with this, and thanks for reporting the issue :)

This thread has been locked.