Sorry for the bump, but where do i have to add:
Code:
public void sendSound(int id, int type, int delay, int volume) {
if(c.getOut() != null && c != null && id != -1) {
c.getOut().putOpCode(174);
c.getOut().writeShort(id);
c.getOut().writeByte(type);
c.getOut().writeShort(delay);
c.getOut().writeShort(volume);
c.flushOutStream();
}
}
Code:
public void sendSong(int id) {
if (c.getOut() != null && c != null && id != -1) {
c.getOut().putOpCode(74);
c.getOut().writeWordBigEndian(id);
}
}
public void sendQuickSong(int id, int songDelay) {
if (c.getOut() != null && c != null) {
c.getOut().putOpCode(121);
c.getOut().writeWordBigEndian(id);
c.getOut().writeWordBigEndian(songDelay);
c.flushOutStream();
}
}
-FIXED-