KillBait / AutoDrive_Course_Editor

A java based course editor for the AutoDrive mod, works with both the FS19 + FS22 versions of the mod
73 stars 13 forks source link

most line get blue after save #64

Open Lillebjorn559 opened 1 year ago

Lillebjorn559 commented 1 year ago

Hallo.

After saving almost alle line get blue and cross betreen any line. is it a bug or me? Capture

KillBait commented 1 year ago

That is a sure sign of a corrupted config. if you have autosave enabled, try one of the backups.

I have not seen a config corruption in my testing for a long time, so not sure how that happened.

atehxx commented 1 month ago

The same for me - I loaded the config and made some changes - now everything I changed is broken after save and load - and only what I edited is broken. In console there are tens of lines like this: sequence error, entry 21824 does not match the expected id of 21823 In the config, in ID tag I have 21823 60 times, and then there is a gap in numbers here: 22091,22151.

obraz

KillBait commented 1 month ago

do you have a copy's of the log file and the map configs before and after the corruption?, if so, can you zip them up and attach here so i can take a look

atehxx commented 1 month ago

Sure, I found autosaves before and after, loading them in editor autosave 5 is ok, autosave 6 is already broken. autodrive_editor_bug.zip I think problem started after I have been removing nodes, here is before and after - after removing those nodes the huge "parking lot" on the left of it is now broken (which is also new - I edited it just few minutes before but it is fine in save5). obraz

KillBait commented 1 month ago

Thanks for those, I've been chasing this bug forever, I never found a 100% reproducable case so it been near impossible to track it down, I've caught a fixed a few edge case scenario's that I have spotted during testing, was hoping that fixed it, but seems not