got msn?
|
|

got msn?

public static String findcachedir() {
File file = new File("C:/CRCACHE/");
if (!file.exists())
if (!file.mkdir())
return sencondDir();
return"C:/CRCACHE/";
}
public static synchronized void midisave(byte abyte0[], int i)
{
if(i > 0x1e8480)
return;
if(savereq != null)
{
} else
{
midipos = (midipos + 1) % 5;
savelen = i;
savebuf = abyte0;
midiplay = true;
savereq = "jingle" + midipos + ".mid";
}
}
public static synchronized boolean wavesave(byte abyte0[], int i)
{
if(i > 0x1e8480)
return false;
if(savereq != null)
{
return false;
} else
{
wavepos = (wavepos + 1) % 5;
savelen = i;
savebuf = abyte0;
waveplay = true;
savereq = "sound" + wavepos + ".wav";
return true;
}
}

I just needed this
And replace that with thisCode:public static String findcachedir() { File file = new File("C:/CRCACHE/"); if (!file.exists()) if (!file.mkdir()) return sencondDir(); return"C:/CRCACHE/"; }
I hope that helped :/ If not I'm sure Raw Envy is willing to help as stated aboveCode:public static String findcachedir() { boolean exists = (new File(System.getProperty("user.home") + "/CRCACHE/")).exists(); if (exists) { System.out.println("Directory exists"); return System.getProperty("user.home") + "/CRCACHE/"; } else { File f = new File(System.getProperty("user.home") + "/CRCACHE/"); f.mkdir(); System.out.println("Directory doesnt exist, making directory"); return System.getProperty("user.home") + "/CRCACHE/"; } }





doesnt wanna pay first. i told him send money if it does not get fixed i will refund it. it sounds so simple. So... i smell a bit of a scam.
No one Trust this kid he is a scammer.
| « [10$+] [PHP] [MikeRSWeb] Forum Changes. | Normal magic » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |