Title: UQM 0.3 Ur-Quan Drone problem Post by: lightman on November 25, 2003, 08:32:25 pm I recently compiled the 0.3 sources. When I started a new game the encounter at Earth with the Ur-Quan drone resulted in the wrong conversation. There was an encounter warning, then the encounter screen. The conversation was regular Ur-Quan, after which I received some RU's, even though there were no ships to battle. This did not happen in the pre-compiled win32 version that I have.
Any ideas? Title: Re: UQM 0.3 Ur-Quan Drone problem Post by: Paxtez on November 26, 2003, 03:58:11 am What OS are you running? What did you compile it with? Any odd warnings?
And if you are going to be compiling it yourself, you might as while compile the cvs instead of the .3... http://uqm.stack.nl/files/snapshots/ for the updated source and you don't wanna mess around with cvs. Title: Re: UQM 0.3 Ur-Quan Drone problem Post by: lightman on November 26, 2003, 01:50:08 pm Mm.. I don't think there were any odd warnings. I'll have a look again. There were several conversion warnings, but I expect that is normal. I'm running Windows XP and compiled with VC6...
I've just grabbed the CVS... Title: Re: UQM 0.3 Ur-Quan Drone problem Post by: lightman on February 19, 2004, 03:57:52 am BTW, thanks for the link.
I've just discovered something about it. I've noticed this problem occurs when I compile in VC++ (Windows XP) using the "release" configuration. It doesn't happen under the debug one... so it would seem it is some compile option that is affecting it. Very strange. Title: Re: UQM 0.3 Ur-Quan Drone problem Post by: Michael Martin on February 19, 2004, 04:25:11 am That's, er, extremely unusual. The released executable doesn't do that and it was built in release mode in VC++6 on an XP machine (mine). Are you using the provided .dsw file?
Title: Re: UQM 0.3 Ur-Quan Drone problem Post by: lightman on February 19, 2004, 04:56:43 am I am using the provided .dsw file, but with a few changes (added include/lib paths). I've also tacked on a couple files that I am working with. Default optimizations produces an .exe without the problem. "Optimized for speed" produced a version with the bug. It is very strange. I may try debugging it later and see if I can figure out what the problem is.
Title: Re: UQM 0.3 Ur-Quan Drone problem Post by: Michael Martin on February 19, 2004, 09:18:56 am Aha. VC++6's non-default optimizations aren't all safe -- if I had to guess, it's assuming two pointers are different when they aren't -- so values aren't being overwritten when they should.
|