PDA

View Full Version : Sounds crashing sapien



p0lar_bear
February 28th, 2008, 05:25 PM
I can't exactly pinpoint when this started happening, but lately, any sound effect will crash sapien and dump this final exception into my debug, be it caused by a biped spawn, weapon drop, moving to a place with ambient background noise, or if I call a sound with sound_[looping/impulse]_start:


02.28.08 02:44:40 EXCEPTION halt in \halopc\haloce\source\sound\sound_dsound_pc.c,#194 0: properties->gain>=0.f && properties->gain<=1.f

I was talking to a couple people, and decided to reinstall my HEK files, but I was first wondering if anyone else has encountered this problem, what caused it, and if they've fixed it with anything besides a reinstall.

For the record, I'm calling stock sound effects and I have messed with the gain (sound_set_master_gain .5) in an attempt to fix this, but to no avail.

Jay2645
February 28th, 2008, 09:02 PM
You're going to have to reinstall the HEK, somehow your tags got fucked up.

CrAsHOvErRide
February 29th, 2008, 10:36 AM
properties->gain>=0.f && properties->gain<=1.f

Ok...let's see...the properties in a tag they called "gain" has to be bigger or equal 0 and has to be smaller or equal 1...hmm...f stands for floating point? Have you tried integers (well you only have 2 options here) 0 and 1?

Con
February 29th, 2008, 11:20 AM
wait, p0lar using the HEK? Something big's going down :o

Kornman00
February 29th, 2008, 12:31 PM
properties->gain>=0.f && properties->gain<=1.f

Ok...let's see...the properties in a tag they called "gain" has to be bigger or equal 0 and has to be smaller or equal 1...hmm...f stands for floating point? Have you tried integers (well you only have 2 options here) 0 and 1?
The problem is figuring out which tag caused the assertion. If you're talking about using a integer for the sound class function, hs will always try to parse it as a float as that's what the function takes as a parameter.


wait, p0lar using the HEK? Something big's going down :o
something big is always going down

owait, :ssh:.

p0lar_bear
February 29th, 2008, 01:05 PM
Not really, I wanted to test something that probably won't work and of course, Sapien has to be a piece of shit. :v

CrAsHOvErRide
February 29th, 2008, 01:56 PM
Debug and bypass :v