What about to reset serialization version of classes and remove compatibility code?
Currently it doesn't work well even for changes in FOCS scripts because different FOCS gives issues either for multiplayer game or for loaded game which works with the new rules not the saved ones. Changes in master and latest release also cause errors: https://github.com/freeorion/freeorion/issues/2327
Cleanup compatibility code
Moderator: Committer
Cleanup compatibility code
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Cleanup compatibility code
It seems to me like the issues you cite are rather specific-- you are not pointing to a complete failure of the compatibility code but just a couple of instances. It seems the more robust approach would be to improve the compatibility code, I don't see how ripping it out is going to make your cited issues any better.o01eg wrote: ↑Sun Dec 16, 2018 5:11 pm What about to reset serialization version of classes and remove compatibility code?
Currently it doesn't work well even for changes in FOCS scripts because different FOCS gives issues either for multiplayer game or for loaded game which works with the new rules not the saved ones. Changes in master and latest release also cause errors: https://github.com/freeorion/freeorion/issues/2327
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0