The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
September 28, 2022, 04:45:39 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  UQM 0.3 Ur-Quan Drone problem
« previous next »
Pages: [1] Print
Author Topic: UQM 0.3 Ur-Quan Drone problem  (Read 2462 times)
lightman
Frungy champion
**
Offline Offline

Gender: Male
Posts: 50


Never pay more than 20 bucks for a computer game


View Profile WWW
UQM 0.3 Ur-Quan Drone problem
« 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?
Logged

Sure! Sure! Friends for sure! Who cares about boring old Ur-Quan and their slave laws? Har! Har! Har!
Paxtez
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 130


Joystick Jedi


View Profile
Re: UQM 0.3 Ur-Quan Drone problem
« Reply #1 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.
Logged

....Paxtez....
lightman
Frungy champion
**
Offline Offline

Gender: Male
Posts: 50


Never pay more than 20 bucks for a computer game


View Profile WWW
Re: UQM 0.3 Ur-Quan Drone problem
« Reply #2 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...
« Last Edit: November 26, 2003, 01:51:28 pm by lightman » Logged

Sure! Sure! Friends for sure! Who cares about boring old Ur-Quan and their slave laws? Har! Har! Har!
lightman
Frungy champion
**
Offline Offline

Gender: Male
Posts: 50


Never pay more than 20 bucks for a computer game


View Profile WWW
Re: UQM 0.3 Ur-Quan Drone problem
« Reply #3 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.
Logged

Sure! Sure! Friends for sure! Who cares about boring old Ur-Quan and their slave laws? Har! Har! Har!
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: UQM 0.3 Ur-Quan Drone problem
« Reply #4 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?
Logged
lightman
Frungy champion
**
Offline Offline

Gender: Male
Posts: 50


Never pay more than 20 bucks for a computer game


View Profile WWW
Re: UQM 0.3 Ur-Quan Drone problem
« Reply #5 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.
Logged

Sure! Sure! Friends for sure! Who cares about boring old Ur-Quan and their slave laws? Har! Har! Har!
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: UQM 0.3 Ur-Quan Drone problem
« Reply #6 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.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!