Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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?

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.

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.