Jump to content
XCOMUFO & Xenocide

Stange Error


Recommended Posts

When trying to open sound options dialog i get this error.

 

from optionsdialog.h

music_slider->setCurrentValue( FLOAT  );

 

when FLOAT is fixed to 1.0f everthing is ok, but if it is for example 0.5f or 0.8f assertion error occur. Any ideas????

 

Beetle

 

edit: one more, when i choose to ignore on that error dialog everthing is ok and slider is set to good value. :WTF:

error.png

Edited by Beetle
Link to comment
Share on other sites

When trying to open sound options dialog i get this error.

 

from optionsdialog.h

music_slider->setCurrentValue( FLOAT  );

 

when FLOAT is fixed to 1.0f everthing is ok, but if it is for example 0.5f or 0.8f assertion error occur. Any ideas????

 

Beetle

 

edit: one more, when i choose to ignore on that error dialog everthing is ok and slider is set to good value.  :WTF:

Weird, can you post a patch with your modifications so I can test it here?

You might also be able to get a StackTrace.

 

Rincewind

Link to comment
Share on other sites

There is no patch needed just set music_volume to 0.5 in autoexec script. (Or change it to fixed in optionsdiolg.h)

hmm, I have this line in autoexec and it works perfectly:

 

set audio_musicvolume 0.5

 

Rincewind

Link to comment
Share on other sites

One more error only cccur in debug mode in release build everthing works good.

 

Beetle

Hmmm, I don't get in in debug either. Can you try to get a stack-trace?

Also, did you change anything somewhere else?

 

Rincewind

Edited by rincewind
Link to comment
Share on other sites

OK i give up. Everything is exactly like in cvs. I don't have idea why boost fsm fail this assert. When i choose to ignore it it doesn't pop up when i reopen opitons dialog...

 

:Brickwall: :Brickwall: :Brickwall:

 

I will try again tomorrow.

 

Greetings,

 

Beetle

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...