Author Topic: Sound-Index Error  (Read 1193 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Could someone please explain to me how to solve this error ?`
Code: [Select]

Warning: $LaunchSnd: sound index out of range on 'Blaster'. Must be between 0 and 0. Forcing to -1 (Nonexistant sound).

File:C:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Gamesnd\GameSnd.cpp
Line: 287

Call stack:
------------------------------------------------------------------
    fred2_open_d.exe 005608fa()
    fred2_open_d.exe 0056290b()
    fred2_open_d.exe 00563313()
    fred2_open_d.exe 0044f213()
    fred2_open_d.exe 00447711()
    fred2_open_d.exe 00903702()
    fred2_open_d.exe 00903064()
    fred2_open_d.exe 00900c09()
    fred2_open_d.exe 009010a5()
    USER32.dll 77d18734()
    USER32.dll 77d18816()
    USER32.dll 77d1b4c0()
    USER32.dll 77d1fd29()
    ntdll.dll 7c91eae3()
    USER32.dll 77d201f7()
------------------------------------------------------------------


AFAIK this one is older and already solved, but I'm currently trying to update some very old tbl-files and I simply can't find the error. I mean, how should I stay in range between 0 and 0 :wtf:  

Removing the sounds (make them -1) skip the weapons error-message, so I suppose it has something to do with the conection to the sound.tbl. I also didn't find any solution by searching through this forum.


Thanks for any help :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by Starman01
AFAIK this one is older and already solved, but I'm currently trying to update some very old tbl-files and I simply can't find the error. I mean, how should I stay in range between 0 and 0 :wtf:

Umm, you can't. :)  This is strictly a code problem so you'll have to use a newer build to get around it.  You could use an older build too if you wanted, anything released in or before Feburary should be fine, but those builds do still have the 200 max limit in sounds.tbl so be aware.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Acutally I'm using your newest build and getting this error. On the bright side, it only occurs when launching a debug-build, normal builds seems to ignore this problem.

I just didn't noticed that I had the debug-build selected :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Eww, thought it was fixed.  Can you PM me the sounds.tbl and weapons.tbl in question so that I can have a look?  I'd like to make sure this is fixed for 3.6.7 bug I haven't had it happen to me yet.