The 1.4 Update to geoDefense is currently in beta testing and I hope to submit it here shortly.
Unfortunately the 1.3 Update to geoDefense was not very smooth. First there was the icon artwork issue that took down all the geoDefense games and the Update for most of the evening. But that has nothing to do with the fact that I let some bugs slip through in the 1.3 Update. Here's what happened:
The game levels in geoDefense are specified in XML format. Nothing wrong with that. But the parsing of the format is done through frameworks that are supplied by the iPhone's OS. Somewhere along the line, I think the 3.0 update, the XML parser got more strict. What this means is that levels that had typos and other minor mistakes in the XML use to parse okay, but under the new parser, do not.
In particular, they cause the parser to abort prematurely. Here is an example:
<creeps waveHealthFactor="1.1" waveHealthFactor2="0.1" waveWealthFactor="1.6" waveSpeedFactor"1.1">
The typos is the missing = between waveSpeedFactor and "1.1". Under the old parser this would just be ignored. It means the level was not playing the way we specified, but since play testing determines fitness of a level... that sort of thing just slipped by.
Under the new parser, this causes the whole XML parsing oepration to abort. And, unfortunately, my code did not correctly check for parsing errors (since the old one never seemed to throw them, I never noticed).
Half loaded levels lead to lots of bizzare stuff... usuallly a crash. But you can get it in other strange states as well depending on what other levels you might have played first.
Essentially my spot testing of levels was entirely inadequate, and for that I apologize.
I've since corrected the mistakes in the level files, and I've hardened the code against this sort of thing. One unfortunate side effect of this is that the affected levels will have their highscores cleared on the next update... but only those levels (M6, M9 and M11). I'll also reset it in OpenFent on that update to get things back in a reasonable state.
You should follow me on twitter here!
Recent comments
10 hours 39 min ago
11 hours 35 min ago
3 days 12 hours ago
5 days 12 hours ago
1 week 2 days ago
1 week 3 days ago
1 week 5 days ago
2 weeks 18 hours ago
2 weeks 1 day ago
2 weeks 3 days ago