1. Forum
  2. Wiki
  3. Bugtracker
  4. Blog
  5. Members
    1. Recent Activities
    2. Users Online
    3. Team
    4. Search Members
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Forum
  • Pages
  • More Options
  1. IC² Forum
  2. Forum
  3. IndustrialCraft²
  4. Bug Tracker
  5. Pending Bugs
IC2 Experimental builds (jenkins):
v2.0/2.1/2.2 / 2.3 / 2.5 / 2.6 / 2.7 / 2.8 (For Minecraft 1.6.4/1.7.2/1.7.10 / 1.8.9 / 1.9.4 / 1.10 / 1.11 / 1.12)
IndustrialCraft² recent version: v1.117!

[1.106]No sounds

  • Equo
  • September 17, 2012 at 7:12 AM
  • RichardG
    Uranium Miner
    Reactions Received
    17
    Posts
    1,947
    • October 12, 2012 at 9:40 PM
    • #41

    Yeah, and is very busy

    • Quote
  • gaiamatrix
    Tree Cutter
    Posts
    4
    • October 30, 2012 at 3:22 PM
    • #42

    HI, I've seen the ic2 code(don't blame me, just curious) and found out something:

    in the method onNetworkEvent in TileEntityElectricMachine

    the method soundSystem.playOnce works perfect ( that is where the machine stop sound come from )
    and problems happens in soundSource.play which are soundSystem.play

    I've see a post in https://github.com/Maescool/Catacomb-Snatch/pull/663 (From Google search), may be you should try using cull() rather than stop() method for the sound.(this.audioSource.stop())

    • Quote
  • GregoriusT
    inactive IC² and GT Dev
    Reactions Received
    184
    Posts
    6,253
    Location
    not here anymore
    • October 30, 2012 at 3:25 PM
    • Official Post
    • #43

    Someone already suggested the use of "cull()" instead of "stop()", but Richard either ignored it, or was unable to replace Players Code.

    • Previous Official Post
    • Quote
  • TheBard
    Industrial Panda
    Reactions Received
    1
    Posts
    107
    Location
    Kansas
    • October 30, 2012 at 3:27 PM
    • #44

    Seems like a pretty simple fix that someone with access to the IC2 code could at least try doing and seeing if it works in a local build.

    • Quote
  • aidancbrady
    CEO of Kat Innovations Inc.
    Posts
    29
    • October 30, 2012 at 5:03 PM
    • #45

    That happened to be me, I don't really want to think I was ignored completely. You see, some kind of code would of had to be changed, because I have a working sound system in my mod. It works the same way IC2 does in the sense that it runs directly off of PaulsCode's SoundSystem. My mod is also similar to IC2 in the way that it creates a 'Sound' instance, just like IC2 creates an 'AudioSource' instance, for a certain object, in my case, a machine. I'm pretty sure I could sort this out if I saw the source code, but decompiling IC2 creates so many errors it's practically impossible to fix a sound-related bug.

    cull() may or may not fix, worth trying though.

    The problem resides in one of the following classes:

    IC2
    AudioManager
    AudioSource
    TileEntityElectricMachine

    -aidancbrady

    Sincerely,
    0x00AB71E5

    • Quote
  • aidancbrady
    CEO of Kat Innovations Inc.
    Posts
    29
    • October 30, 2012 at 5:32 PM
    • #46

    Guys, I did it. I found out what the problem is.

    AudioManager is for some reason not being ticked anymore inside of IC2.

    Code you need:


    Platform.profilerEndStartSection("AudioManager");

    AudioManager.onTick();

    put that inside of tickStart() between EnergyNet.onTick(world) and platform.profilerEndStartSection("Networking");


    it'll work, trust me.


    -aidancbrady

    Sincerely,
    0x00AB71E5

    • Quote
  • Equo
    Word Disassembler
    Reactions Received
    2
    Posts
    120
    Location
    Moscow
    • October 30, 2012 at 6:24 PM
    • #47
    Quote from aidancbrady

    Guys, I did it. I found out what the problem is.

    AudioManager is for some reason not being ticked anymore inside of IC2.

    Code you need:


    Platform.profilerEndStartSection("AudioManager");

    AudioManager.onTick();

    put that inside of tickStart() between EnergyNet.onTick(world) and platform.profilerEndStartSection("Networking");


    it'll work, trust me.


    -aidancbrady

    Display More

    Sorry for being a n00b, but where can I change/add this code?

    Sorry for my bad English. :whistling:

    The most epic file ever.

    • Quote
  • aidancbrady
    CEO of Kat Innovations Inc.
    Posts
    29
    • October 30, 2012 at 6:27 PM
    • #48
    Quote from Boone

    Sorry for being a n00b, but where can I change/add this code?

    Inside of the 'IC2' class in the tickStart() method.

    Sincerely,
    0x00AB71E5

    • Quote
  • Equo
    Word Disassembler
    Reactions Received
    2
    Posts
    120
    Location
    Moscow
    • October 30, 2012 at 6:29 PM
    • #49
    Quote from aidancbrady

    Inside of the 'IC2' class in the tickStart() method.

    This is in the ic2/common/ folder, right? Okay, will check it out.

    I cannot open it... It shows wrong symbols if opening by Notepad.

    Sorry for my bad English. :whistling:

    The most epic file ever.

    • Quote
  • gaiamatrix
    Tree Cutter
    Posts
    4
    • October 30, 2012 at 6:44 PM
    • #50
    Quote from aidancbrady

    Guys, I did it. I found out what the problem is.

    AudioManager is for some reason not being ticked anymore inside of IC2.

    Code you need:


    Platform.profilerEndStartSection("AudioManager");

    AudioManager.onTick();

    put that inside of tickStart() between EnergyNet.onTick(world) and platform.profilerEndStartSection("Networking");


    it'll work, trust me.


    -aidancbrady

    Display More

    Finally !!!! :D Thanks a lot.

    • Quote
  • DoctorBeard
    Tree Cutter
    Posts
    8
    • October 30, 2012 at 7:33 PM
    • #51

    Really just one more of many reasons why IC2 should consider the open source approach.

    • Quote
  • Equo
    Word Disassembler
    Reactions Received
    2
    Posts
    120
    Location
    Moscow
    • October 31, 2012 at 6:01 AM
    • #52

    I have decompiled it and edited the code. Now I can't compile it.
    Congrats to me lol. :wacko:

    Sorry for my bad English. :whistling:

    The most epic file ever.

    • Quote
  1. Privacy Policy
Powered by WoltLab Suite™