UFO:Alien Invasion
Archive => Bugs prior to release 2.4 => Topic started by: jerikojerk on July 11, 2011, 01:20:22 am
-
i'm playing rev 872cba305079148305833e7ff6e85fd6a32d8c9e (don't you love git ?), i found a bug about the savegame.
Actually the generated xml tree does contain encoding issues some times (try playing french with "é","è"), not always i'm still trying to guess what must be the condition to have it happend.
There is also an issue that make when saving "flying" ufos. A node is often unvalid (xpath is /savegame/UFOs/craft[first]@missionid) for the attribute missionid, can be not set or can be set with junk...
i guess correct value would be found at /savegame/missions/mission[last()]@id
i'm playing on ubuntu, if anyone can confirm...
-
i'm playing rev 872cba305079148305833e7ff6e85fd6a32d8c9e (don't you love git ?), i found a bug about the savegame.
Actually the generated xml tree does contain encoding issues some times (try playing french with "é","è"), not always i'm still trying to guess what must be the condition to have it happend.
There is also an issue that make when saving "flying" ufos. A node is often unvalid (xpath is /savegame/UFOs/craft[first]@missionid) for the attribute missionid, can be not set or can be set with junk...
i guess correct value would be found at /savegame/missions/mission[last()]@id
i'm playing on ubuntu, if anyone can confirm...
This bugreport is hardly usable. You didn't really say what's wrong. However I just fixed some compatibility issues on changing mapDef IDs - after the commit U used. Please update and if you still encounter problems with the latest source try describing the issue (with the help of ufoconsole.log) instead of wild speculating. Thanks!
-geever
-
ok i will try to improve my report next time. I remember that now: ufo +set developer 1
i'm very positive about the missionid issue. i think the savegame may help you.
What 's wrong, let stay simple, the savegame does not load, i only did some edit to keep on playing.
-
i'm very positive about the missionid issue. i think the savegame may help you.
What 's wrong, let stay simple, the savegame does not load, i only did some edit to keep on playing.
This savegame is seriously damaged. The xml parser dies on it.... the game saved some memory-garbage as missionID, probably due to the already fixed UFO<->mission link break.
I can only suggest you to update to the latest version - which will probably not make such mistake - and continue playing from a previous working save.
-geever
-
hi, it's what i did (i see your change )... and the corrupt xml message.
this time i will give you the output.log and the savegame. maybe i should restart a campaign from scratch... it may be cause by the unvalid missionid i put in the xml...
what i was trying to do is a regular save after shooting an ufo and before alien extermination: before that i asked myself if the savegame was working or not. answer was not working.
-
Is a developer developing on windows? or one i10n french file encoded in ISO-8859-1 (latin 1)?
when i'm trying to edit it, the charset is detected as iso 8859-1, which is not what the xml, prolog state.
-
Is a developer developing on windows? or one i10n french file encoded in ISO-8859-1 (latin 1)?
when i'm trying to edit it, the charset is detected as iso 8859-1, which is not what the xml, prolog state.
you should NOT edit it. it's not a simple xml....
btw. we're using i18n not i10n...
-geever