Page 1 of 1

Changing types error

Posted: Thu Sep 18, 2014 7:45 pm
by Dysoch
I have changed, in my new DyTech-Warfare, the battery from type = "item" to type = "ammo"
when using this in a new game, there is nothing wrong.

but when using this in a game that has been started before using the mod (aka, the type is still item) this gives an error:

Code: Select all

item battery saved as type item, but now it is type ammo
after some tries, FreeER (was the one who tried to fix it) gave up.
the entire process he used is here: https://github.com/Dysoch/DyTech/issues/145

This can only be changed with migrations, and that currently isnt possible. (already asked Kovarex)
This needs an change in the source to ensure this wont happen again and we can change internal types easily with migrations.

Re: Changing types error

Posted: Wed Jan 21, 2015 12:38 pm
by kovarex
Thanks for the report, it is fixed for 0.11.14, so dytech saves are loadable without dytech and the other way around.

I postponed solving this bug as it was programmer candidate test.