Sound precaching

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Sound precaching

Postby John Galt » Fri Jul 27, 2007 9:19 pm

I receive this error when I turn the hook on

Code: Select all
SV_SoundIndex("weapons/hook_fire.wav"): not precached (fix your code), precaching anyway 


Folks report that the audio lags when hook is enabled, and I assume the problem is related to this error.

Any ideas?

Thanks.
cat /dev/urandom > /dev/mem
John Galt
Alien
 
Posts: 166
Joined: Thu Jul 19, 2007 9:20 pm
Location: Washington, DC

Postby KadaverJack » Fri Jul 27, 2007 9:37 pm

The code looks correct (hook_fire.wav is precached) and i can't reproduce that problem. Are you using any mods or have you installed Nexuiz using a debian/rpm package?
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby John Galt » Fri Jul 27, 2007 9:45 pm

This is stock 2.3, unpacked from the .zip on sourceforge. I have added maps, but that's it.
cat /dev/urandom > /dev/mem
John Galt
Alien
 
Posts: 166
Joined: Thu Jul 19, 2007 9:20 pm
Location: Washington, DC

Postby divVerent » Fri Jul 27, 2007 10:02 pm

It's only precached when g_grappling_hook is on before the map is loaded.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby John Galt » Fri Jul 27, 2007 10:37 pm

That would explain it! Thanks, divVerent.
cat /dev/urandom > /dev/mem
John Galt
Alien
 
Posts: 166
Joined: Thu Jul 19, 2007 9:20 pm
Location: Washington, DC

Postby divVerent » Sat Jul 28, 2007 7:00 am

Yes, but it shouldn't cause lag.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron