Package: empireVersion: 1.7-3 Occasionally (and not easily reproduced) when running empire normally, a single city stops producing output (or produces output at a very very slow rate). So instead of producing an army every 4 turns it producesnothing for long periods and occasionally produces a single army, then returns to silence.No error message is displayed.
I believe it's related do a code fix I have outlined below.(Please note I'm not a c programmer hence this isn't a patch). NOTE: I obtained the source from here:http://ftp.de.debian.org/debian/pool/main/e/empire/empire_1.7.orig.tar.gz Line #651 of object.c reads like this: city->work = -(piece_attr[i].build_time / 5); I believe it should be cityp->work = -(piece_attr[i].build_time / 5); cityp is the parameter to the function, and is referred to throughout the function (including the line above). city is the name of the global array containing the city definitions (defined on line #25 of extern.h). There are no other occurrences of city-> in the source code. I think the upshot is that whenever a new city is conquered, thefirst element in the city array has its work variable (how many turnsbefore it produces output) reset. That would be why it's only onecity that fails to produce. In order to make this source code compile, I also had to edit game.c I moved the line static void mark_cont();from line #410 to line #32(I think this is some sort of forward function declaration, and my currentversion of gcc doesn't like having this INSIDE another function,line #410 is inside the good_cont function. I don't believe there are any configuration files. dpkg --status empire Package: empireStatus: install ok installedPriority: extraSection: gamesInstalled-Size: 188Maintainer: Ubuntu MOTU Developers <ubuntu-m...@lists.ubuntu.com>Architecture: i386Version: 1.7-3Depends: libc6 (>= 2.5-0ubuntu1), libncurses5 (>= 5.4-5)Description: the war game of the century I'm running an ubuntu system, but I do not believe this is ubuntu specific. uname -aLinux greg-ubuntu 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux dpkg -s libc6 | grep ^VersionVersion: 2.11.1-0ubuntu7.2 dpkg -s libncurses5 | grep ^VersionVersion: 5.7+20090803-2ubuntu3 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org