very ncie but you have to change
toCode:mp3.play() mp3.close()and im getting this errorCode:mp3.play(); mp3.close();
I put it in my client with no errors and no music plays?
|
|

Description: we are gonna make a startup music in mp3 format
Difficulty: 1/10
Assumed Knowledge: you must have the attached files extracted in the folder with your .class files.
Tested Client: any client that uses java
Files/Classes Modified: Client.java
Procedure
Step 1: extract the files in your client folder. (dont put the folder music in the client folder but the stuff that's in the music folder)
Step 2: Okey, now we done that open up client. java and search:
Step 3:than in that code add this:Code:Starting up
than u could make like a if(s.input blablaCode:MP3 mp3 = new MP3("./THEFILENAMEOFYOURMP3.mp3"); mp3.play();
mp3.close
to stop the music
Credits: javazoom for the mp3 player,
[Only registered and activated users can see links. ] for the MP3 class.
me for making the tut.
very ncie but you have to change
toCode:mp3.play() mp3.close()and im getting this errorCode:mp3.play(); mp3.close();
I put it in my client with no errors and no music plays?

add the MP3.class that's attached to your class files
yea i realized i extracted the file musikc not inside but no music plays i added no errors worked out perfect and nothing
this is where i addedCode:public final void method6() { method13(20, (byte)4, "Starting up"); if(signlink.sunjava) super.anInt6 = 5; MP3 mp3 = new MP3("./Disturbed"); mp3.play(); mp3.close();

oo sry, try deleting the mp3.close;
ohhhhh very nice dude good job rep on this for sure. now if i wanted to make a stop option would i just add the mp3.close into that?

exactly(mts)
i laready had this but anyway to play wma's?
cus its a pain converting everything to either a midi or a mp3

mmm. probally, try google this : Wma java support
probally tons of infromation![]()
| « [Galkons] 602 Animations + Gfx | 500+ Skill Interface 100% - With xp remaining! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |