|
I didn't know that.
I assumed some things became obsolete, and thus in some cases the previous generally speaking are reused/used in a incompatible way.
I did not know this case was different for Java.
I'm a complete fucking idiot.
I forgot I commented it, because I was so sick of trying to get this shit to work, updated the JDK version all the way up from 1.6.0_07 to 13, and thought because it didn't display an error that it fixed the problem.
brb gonna fucking kill myself
Oh, and for the error which I some how after all of this forgot to post is:
error: cannot find symbol
symbol: class SoundPlayer
location: class client
Pretty sure it's pointing to this line of code I tried putting in:
I'm considering buying services after this. This is a complete fucking train wreck.Code:new SoundPlayer ((InputStream) new ByteArrayInputStream (stream.buffer, 0, stream.currentOffset), anIntArray1207[i], anIntArray1250[i]);
Is "currentSound" a naming difference between "anInt1062"?
i got this to work for my GodzHell reboot. its non renamed. LOL
maybe that will helo youCode:public final void method90(boolean flag) { if (flag) anInt1008 = -1; for (int i = 0; i < currentSound; i++) { if (soundDelay[i] <= 0) { boolean flag1 = false; try { // if (sound[i] == anInt874 && soundType[i] == anInt1289) { // if (!method27(11456)) // flag1 = true; // } else { Class30_Sub2_Sub2 class30_sub2_sub2 = Class16.method241(soundType[i], sound[i], false); new SoundPlayer((InputStream) new ByteArrayInputStream(class30_sub2_sub2.aByteArray1405, 0, class30_sub2_sub2.anInt1406), soundVolume[i], soundType[i]); if (System.currentTimeMillis() + (long) (class30_sub2_sub2.anInt1406 / 22) > aLong1172 + (long) (anInt1257 / 22)) { anInt1257 = class30_sub2_sub2.anInt1406; aLong1172 = System.currentTimeMillis(); // if (method59(class30_sub2_sub2.aByteArray1405, (byte) 116, class30_sub2_sub2.anInt1406)) { // anInt874 = sound[i]; // anInt1289 = soundType[i]; // } else { // flag1 = true; // } } // } } catch (Exception exception) { } if (!flag1 || soundDelay[i] == -5) { currentSound--; for (int j = i; j < currentSound; j++) { sound[j] = sound[j + 1]; soundType[j] = soundType[j + 1]; soundDelay[j] = soundDelay[j + 1]; soundVolume[j] = soundVolume[j + 1]; } i--; } else { soundDelay[i] = -5; } } else { soundDelay[i]--; } } if (previousSong > 0) { previousSong -= 20; if (previousSong < 0) previousSong = 0; if (previousSong == 0 && musicEnabled && !lowMemory) { nextSong = currentSong; songChanging = true; onDemandFetcher.method558(2, nextSong); } } }
I gave it a shot again and corrected one of my mistakes
from this:
to this:Code:Stream stream = Sounds.method241(anIntArray1241[i], anIntArray1207[i]);
But it will still give errors. So unless "ByteVector" needs an import of some kind or something?Code:ByteVector stream = Sounds.method241(anIntArray1241[i], anIntArray1207[i]);
edit- I think importing Java.io.*; should have taken care of this. (obviously it hasn't, but still)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |