Posted August 24, 201213 yr In my mod, I have several custom sounds. All of them are in the same folder. When I call world.playSound(), certain sounds play and certain sounds don't. Every time I test the sounds in Eclipse, it's always the same sounds that work and don't work. I've checked the names, and those are fine. I know it's not a problem with sound files in the wrong folder because they're all in the same one as I've already stated. Sometimes, the ones that don't work show something along the lines of this in the console: 2012-08-24 14:19:46 [iNFO] [sTDOUT] Error in class 'CodecWav' 2012-08-24 14:19:46 [iNFO] [sTDOUT] url null in method 'initialize' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Error in class 'CodecWav' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Audio input stream null in method 'readAll' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Error in class 'LibraryLWJGLOpenAL' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Sound buffer null in method 'loadSound' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Error in class 'LibraryLWJGLOpenAL' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Source 'sound_7' was not created because an error occurred while loading reloadBolt.wav 2012-08-24 14:19:46 [iNFO] [sTDOUT] Error in class 'LibraryLWJGLOpenAL' 2012-08-24 14:19:46 [iNFO] [sTDOUT] Source 'sound_7' not found in method 'play' One sound actually plays the wrong sound rather than no sound at all. I've listened to all the sounds outside of the game and there is nothing wrong with them. I am using Forge build #200 in Minecraft 1.3.2 with MCP 7.2. Anyone have some insight into the problem?
August 25, 201213 yr Unsure if been any sound updates recently, but forge 200 is *ancient* and has many bugs, you should update to 131+, or better yet, always dev with latest.
August 26, 201213 yr Author Actually fixed it now. It had something to do with the float values at the end of all the sound methods.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.