Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • hardcore22: are there any kind of silabsoft servers like back in the days i miss that
      May 25, 2020, 05:44:08 AM
    • Amcora: @ dr house contact me; greetings celien :)
      May 24, 2020, 03:16:21 PM
    • Amcora: Stop shouting around please
      May 24, 2020, 03:13:26 PM
    • iddsyou: PkOwnage OSRSPS [link]  Join us on Discord! [link]  Download: [link]
      May 17, 2020, 11:44:17 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:48:19 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:48:12 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:56 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:49 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:42 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:29 AM
    • ragnoroker: BRAND NEW SERVER - PRE EOC - UNIQUE - JOIN TODAY :) - [link]
      May 15, 2020, 11:18:03 AM
    • ragnoroker: BRAND NEW SERVER - PRE EOC - UNIQUE - JOIN TODAY :) - [link]
      May 15, 2020, 11:17:53 AM
    • ragnoroker: BRAND NEW SERVER - PRE EOC - UNIQUE - JOIN TODAY :) - [link]
      May 15, 2020, 11:17:50 AM
    • Decimate Returns: Project Decimate 474 OSRS ; [link]
      May 13, 2020, 07:27:00 PM
    • hardcore22: are there any silabsoft servers left? of the good old days like hackscape
      May 12, 2020, 07:53:18 AM
    • iddsyou: yo guys check out this instagram post #pkownage  [link]
      May 06, 2020, 02:35:58 PM
    • fishingsheep: any servers like project catasrophe or frugoo scape been remade ?
      May 04, 2020, 05:01:00 PM
    • asshole_rule: relmitos the legend
      May 04, 2020, 04:28:54 PM
    • iddsyou: PkOwnage 317 OSRS, Vote4donor, [link] Download now: [link] Discord: [link]
      May 04, 2020, 11:15:11 AM
    • relmitos: is anyone familiar with 317 packet opcodes? Im confused about opcode 3 (wich appears to send wether or not the client window is currently focused). is it safe to ignore?
      May 03, 2020, 08:47:40 AM

    Author Topic: Common Compiler Errors and Runtime Exceptions [ALL COMPILER RELATED ISSUES]  (Read 61290 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinestanleyw

    • First Time Poster
    • *
    • Posts: 3
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors
    « Reply #20 on: June 20, 2010, 12:06:18 AM »
    Im not sure what this is but can you please help?

    Code: [Select]
    The system cannot find the path specified.
    javac: directory not found: ./Bin/
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Press any key to continue . . .


    Runescape Gambling

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors
    « Reply #21 on: June 20, 2010, 11:38:19 AM »
    The bin folder cannot be found.
    Peace isn't merely the absence of conflict, but the presence of justice.

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #22 on: July 01, 2010, 07:13:57 PM »
    You said the class files and such were in the same directory, but what about the batch file? Also in the same directory? If so, is your class Server or server?
    Peace isn't merely the absence of conflict, but the presence of justice.

    Offlinemellen

    • Member
    • ***
    • Posts: 100
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #23 on: July 06, 2010, 09:59:23 PM »
    can some1 tell me what i shoudl do with this?
    javac: file not found: *.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Press any key to continue . . .


    dont knwo why its happing

    OfflineMusic8

    • Member
    • ***
    • Posts: 148
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #24 on: July 07, 2010, 10:45:46 PM »
    On the try{ thing can u make a command that has that error then highlight te things we need to change? I'm trying to make killcommands and that's holding me back on it

    OfflineTeeler

    • Member
    • **
    • Posts: 18
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #25 on: July 09, 2010, 03:10:50 PM »
    some one help me with complier 100 errors, i just dont really get the code i want some one to teamview?

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #26 on: July 09, 2010, 03:53:51 PM »
    You have to find where you missed the bracket.
    Peace isn't merely the absence of conflict, but the presence of justice.

    Offlinechance1234

    • Member
    • **
    • Posts: 33
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #27 on: August 11, 2010, 08:18:47 AM »
    please help guys when i try to compile it says this,

    note:some input files are unchecked or unsafe operations
    note:recompile with -xlint: unchecked for details
    press any key to continue.

    please help!!

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #28 on: August 11, 2010, 01:43:49 PM »
    That's not a compiler error, that's just a note. ;)
    Peace isn't merely the absence of conflict, but the presence of justice.

    OfflineDavidi2

    • Member
    • ****
    • *
    • Posts: 23,272
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #29 on: August 11, 2010, 02:31:51 PM »
    That's not a compiler error, that's just a note. ;)
    You should post it anyway, it's a common mistake new people make.

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #30 on: August 11, 2010, 03:00:23 PM »
    That's not a compiler error, that's just a note. ;)
    You should post it anyway, it's a common mistake new people make.
    Mkay, I did.
    Peace isn't merely the absence of conflict, but the presence of justice.

    Offlineriku9182

    • Member
    • ****
    • Posts: 1,852
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #31 on: August 11, 2010, 09:29:02 PM »
    Maybe you can help me with this error?
    I get it trying to compile Lost Valentino's Rune Fusion..
    Code: [Select]
    npcpos - pos:" + stream.currentOffset + " psize:" + i);
                            ^
    client.java:1750: cannot find symbol
    symbol  : variable signlink
    location: class client
                                    signlink.reporterror(myUsername + " null entry i
    n npc list - pos:" + i1 + " size:" + npcCount);
                                    ^
    client.java:2243: package sign does not exist
                                                            HPBarFull = new Sprite(s
    ign.signlink.findcachedir() + "Sprites/Player/HP 0.PNG", HpPercent, 7);

       ^
    client.java:2414: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("18622, " + false + ", " + l + ", "
     + runtimeexception.toString());
                            ^
    client.java:2945: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("15283, " + (byte)68 + ", " + l + "
    , " + runtimeexception.toString());
                            ^
    client.java:3431: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.storeid = 32;
                            ^
    client.java:3432: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.startpriv(InetAddress.getLocalHost());
                            ^
    client.java:3456: cannot find symbol
    symbol  : variable signlink
    location: class client
                                    signlink.reporterror(myUsername + " glcfb " + aL
    ong1215 + "," + j + "," + lowMem + "," + decompressors[0] + "," + onDemandFetche
    r.getNodeCount() + "," + plane + "," + anInt1069 + "," + anInt1070);
                                    ^
    client.java:3532: cannot find symbol
    symbol  : variable signlink
    location: class client
                    if(signlink.mainapp != null)
                       ^
    client.java:3533: package signlink does not exist
                            return signlink.mainapp.getAppletContext();
                                           ^
    client.java:3598: package sign does not exist
                            Sprite logo = new Sprite(sign.signlink.findcachedir()+"/
    Sprites/Logo.PNG");
                                                         ^
    client.java:3727: cannot find symbol
    symbol  : variable signlink
    location: class client
                    return abyte0 == null || signlink.wavesave(abyte0, i);
                                             ^
    client.java:4322: cannot find symbol
    symbol  : variable signlink
    location: class client
                    new Update(";, "cache.zip", sig
    nlink.findcachedir());
                                                                                 ^
    client.java:5792: cannot find symbol
    symbol  : variable signlink
    location: class client
                    signlink.reporterror = false;
                    ^
    client.java:5942: cannot find symbol
    symbol  : variable signlink
    location: class client
                    if(signlink.mainapp != null)
                       ^
    client.java:5943: cannot find symbol
    symbol  : variable signlink
    location: class client
                            return signlink.mainapp;
                                   ^
    client.java:6746: cannot find symbol
    symbol  : variable signlink
    location: class client
                                    class9.disabledMessage = "You last logged in " +
     s + " from: " + signlink.dns;

                     ^
    client.java:7063: cannot find symbol
    symbol  : variable signlink
    location: class client
                    if (signlink.mainapp != null) {
                        ^
    client.java:7064: package signlink does not exist
                            return signlink.mainapp.getDocumentBase().getHost().toLo
    werCase();
                                           ^
    client.java:7205: cannot find symbol
    symbol  : variable signlink
    location: class client
                    signlink.errorname = s;
                    ^
    client.java:8135: cannot find symbol
    symbol  : variable signlink
    location: class client
                    if(signlink.sunjava)
                       ^
    client.java:8139: cannot find symbol
    symbol  : variable signlink
    location: class client
                    if(signlink.cache_dat != null) {
                       ^
    client.java:8141: cannot find symbol
    symbol  : variable signlink
    location: class client
                                    decompressors[i] = new Decompressor(signlink.cac
    he_dat, signlink.cache_idx[i], i + 1);
                                                                        ^
    client.java:8141: cannot find symbol
    symbol  : variable signlink
    location: class client
                                    decompressors[i] = new Decompressor(signlink.cac
    he_dat, signlink.cache_idx[i], i + 1);

            ^
    client.java:8188: package sign does not exist
                            HPBarFull = new Sprite(sign.signlink.findcachedir() + "S
    prites/Player/HP 0.PNG", 1);
                                                       ^
    client.java:8189: package sign does not exist
                            HPBarEmpty = new Sprite(sign.signlink.findcachedir() + "
    Sprites/Player/HP 1.PNG", 1);
                                                        ^
    client.java:8378: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("loaderror " + aString1049 + " " +
    anInt1079);
                            ^
    client.java:9661: cannot find symbol
    symbol  : variable signlink
    location: class client
                                                    signlink.reporterror("cde2");
                                                    ^
    client.java:9799: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("glfc_ex " + myPlayer.x + "," + myP
    layer.y + "," + anInt1014 + "," + anInt1015 + "," + anInt1069 + "," + anInt1070
    + "," + baseX + "," + baseY);
                            ^
    client.java:9855: cannot find symbol
    symbol  : variable signlink
    location: class client
                    signlink.wavevol = i;
                    ^
    client.java:9980: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("45688, " + l + ", " + 4 + ", " + r
    untimeexception.toString());
                            ^
    client.java:10296: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("47229, " + 3 + ", " + l + ", " + r
    untimeexception.toString());
                            ^
    client.java:10312: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("47229, " + 3 + ", " + l + ", " + r
    untimeexception.toString());
                            ^
    client.java:10320: cannot find symbol
    symbol  : variable signlink
    location: class client
                    if(signlink.mainapp != null)
                       ^
    client.java:10321: package signlink does not exist
                            return signlink.mainapp.getParameter(s);
                                           ^
    client.java:10328: cannot find symbol
    symbol  : variable signlink
    location: class client
                    signlink.midivol = i;
                    ^
    client.java:10330: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.midi = "voladjust";
                            ^
    client.java:10905: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror(myUsername + " Too many players");
                            ^
    client.java:11444: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror(myUsername + " Too many npcs");
                            ^
    client.java:12048: cannot find symbol
    symbol  : variable signlink
    location: class client
                    String OrbDirectory = signlink.findcachedir()+"/Sprites/Gamefram
    e/Orbs/";
                                          ^
    client.java:12078: cannot find symbol
    symbol  : variable signlink
    location: class client
                    String OD = signlink.findcachedir()+"/Sprites/Gameframe/Orbs/";
                                ^
    client.java:12132: cannot find symbol
    symbol  : variable signlink
    location: class client
                    String OD = signlink.findcachedir()+"/Sprites/Gameframe/Orbs/";
                                ^
    client.java:12255: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("Error packet size mismatch in getp
    layer pos:" + stream.currentOffset + " psize:" + i);
                            ^
    client.java:12261: cannot find symbol
    symbol  : variable signlink
    location: class client
                                    signlink.reporterror(myUsername + " null entry i
    n pl list - pos:" + i1 + " size:" + playerCount);
                                    ^
    client.java:12481: cannot find symbol
    symbol  : variable signlink
    location: class client
                                                    signlink.dnslookup(TextClass.met
    hod586(anInt1193));
                                                    ^
    client.java:13146: cannot find symbol
    symbol  : variable signlink
    location: class client
                                                            signlink.reporterror("cd
    e1");
                                                            ^
    client.java:13510: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror("T1 - " + pktType + "," + pktSize +
     " - " + anInt842 + "," + anInt843);
                            ^
    client.java:13518: cannot find symbol
    symbol  : variable signlink
    location: class client
                            signlink.reporterror(s2);
                            ^
    OnDemandFetcher.java:42: cannot find symbol
    symbol  : variable signlink
    location: class OnDemandFetcher
                            signlink.reporterror("Rej: " + l + "," + j1);
                            ^
    OnDemandFetcher.java:380: cannot find symbol
    symbol  : variable signlink
    location: class OnDemandFetcher
                signlink.reporterror("od_ex " + exception.getMessage());
                ^
    Sprite.java:22: cannot find symbol
    symbol  : variable signlink
    location: class Sprite
            public String location = signlink.findcachedir() + "/Sprites/";
                                     ^
    CacheDownloader.java:51: cannot find symbol
    symbol  : variable signlink
    location: class CacheDownloader
                    return signlink.findcachedir();
                           ^
    Gui.java:32: package sign does not exist
                            sign.signlink.startpriv(InetAddress.getByName("127.0.01"
    ));
                                ^
    ModelDecompressor.java:17: cannot find symbol
    symbol  : variable signlink
    location: class ModelDecompressor
                            DataInputStream indexFile = new DataInputStream(new File
    InputStream(signlink.findcachedir()+"null_cache.idx"));

                ^
    ModelDecompressor.java:18: cannot find symbol
    symbol  : variable signlink
    location: class ModelDecompressor
                            DataInputStream dataFile = new DataInputStream(new FileI
    nputStream(signlink.findcachedir()+"null_cache.dat"));

               ^
    TextClass.java:50: cannot find symbol
    symbol  : variable signlink
    location: class TextClass
                            signlink.reporterror("81570, " + l + ", " + (byte)-99 +
    ", " + runtimeexception.toString());
                            ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    89 errors
    Press any key to continue . . .
    Any Ideas o.o
    Add my MSN for help, [email protected]
    Selling Very advanced PI Server + Client.
    XBL Gamertag X0ForsakenX0
    Nazi Zombies
    RSN:lil0o0o0l

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #32 on: August 11, 2010, 09:32:14 PM »
    Are you importing signlink in client class?
    Peace isn't merely the absence of conflict, but the presence of justice.

    Offlineriku9182

    • Member
    • ****
    • Posts: 1,852
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #33 on: August 11, 2010, 09:39:07 PM »
    Are you importing signlink in client class?
    Uhhh whats that mean? >.<
    Add my MSN for help, [email protected]
    Selling Very advanced PI Server + Client.
    XBL Gamertag X0ForsakenX0
    Nazi Zombies
    RSN:lil0o0o0l

    Offlinedoom_j

    • i like the company of men
    • Member
    • ****
    • *
    • Posts: 7,203
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #34 on: August 11, 2010, 10:28:06 PM »
    Are you importing signlink in client class?
    Uhhh whats that mean? >.<

    like; import singlink.SingLink;
    [12:18:14 21:04:45]<<Tom>>i dont care about your rights
    [12:18:14 21:04:49] <<Tom>> you have NO RIGHTS

    OfflineDavidi2

    • Member
    • ****
    • *
    • Posts: 23,272
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #35 on: August 12, 2010, 01:30:47 AM »
    Are you importing signlink in client class?
    Uhhh whats that mean? >.<

    like; import singlink.SingLink;
    Not Sing, sign :P

    Offlinedoom_j

    • i like the company of men
    • Member
    • ****
    • *
    • Posts: 7,203
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #36 on: August 12, 2010, 11:18:33 AM »
    Are you importing signlink in client class?
    Uhhh whats that mean? >.<

    like; import singlink.SingLink;
    Not Sing, sign :P

    Opps, I guess I wasn't really watching what I was typing. :P
    [12:18:14 21:04:45]<<Tom>>i dont care about your rights
    [12:18:14 21:04:49] <<Tom>> you have NO RIGHTS

    Offlineriku9182

    • Member
    • ****
    • Posts: 1,852
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #37 on: August 12, 2010, 05:04:53 PM »
    Signlink.java:
    Code: [Select]
    package sign;

    import java.applet.Applet;
    import java.io.*;
    import java.net.*;

    public final class signlink
        implements Runnable
    {
        public static void startpriv(InetAddress inetaddress)
        {
            threadliveid = (int)(Math.random() * 99999999D);
            if(active)
            {
                try
                {
                    Thread.sleep(500L);
                }
                catch(Exception _ex) { }
                active = false;
            }
            socketreq = 0;
            threadreq = null;
            dnsreq = null;
            savereq = null;
            urlreq = null;
            socketip = inetaddress;
            Thread thread = new Thread(new signlink());
            thread.setDaemon(true);
            thread.start();
            while(!active)
                try
                {
                    Thread.sleep(50L);
                }
                catch(Exception _ex) { }
        }

        public void run()
        {
            active = true;
            String s = findcachedir();
            uid = getuid(s);
            try
            {
                File file = new File(s + "main_file_cache.dat");
                if(file.exists() && file.length() > 0x3200000L)
                    file.delete();
                cache_dat = new RandomAccessFile(s + "main_file_cache.dat", "rw");
                for(int j = 0; j < 5; j++)
                    cache_idx[j] = new RandomAccessFile(s + "main_file_cache.idx" + j, "rw");

            }
            catch(Exception exception)
            {
                exception.printStackTrace();
            }
            for(int i = threadliveid; threadliveid == i;)
            {
                if(socketreq != 0)
                {
                    try
                    {
                        socket = new Socket(socketip, socketreq);
                    }
                    catch(Exception _ex)
                    {
                        socket = null;
                    }
                    socketreq = 0;
                } else
                if(threadreq != null)
                {
                    Thread thread = new Thread(threadreq);
                    thread.setDaemon(true);
                    thread.start();
                    thread.setPriority(threadreqpri);
                    threadreq = null;
                } else
                if(dnsreq != null)
                {
                    try
                    {
                        dns = InetAddress.getByName(dnsreq).getHostName();
                    }
                    catch(Exception _ex)
                    {
                        dns = "unknown";
                    }
                    dnsreq = null;
                } else
                if(savereq != null)
                {
                    if(savebuf != null)
                        try
                        {
                            FileOutputStream fileoutputstream = new FileOutputStream(s + savereq);
                            fileoutputstream.write(savebuf, 0, savelen);
                            fileoutputstream.close();
                        }
                        catch(Exception _ex) { }
                    if(waveplay)
                    {
                        String wave = s + savereq;
                        waveplay = false;
                    }
                    if(midiplay)
                    {
                        midi = s + savereq;
                        midiplay = false;
                    }
                    savereq = null;
                } else
                if(urlreq != null)
                {
                    try
                    {
                        System.out.println("urlstream");
                        urlstream = new DataInputStream((new URL(mainapp.getCodeBase(), urlreq)).openStream());
                    }
                    catch(Exception _ex)
                    {
                        urlstream = null;
                    }
                    urlreq = null;
                }
                try
                {
                    Thread.sleep(50L);
                }
                catch(Exception _ex) { }
            }

        }

       

    public static String findcachedir()
        {
            String as[] = {
                "./.ss_474/"
            };
            if(storeid < 32 || storeid > 34)
                storeid = 32;
            String s = "";
            for(int i = 0; i < as.length; i++)
                try
                {
                    String s1 = as[i];
                    if(s1.length() > 0)
                    {
                        File file = new File(s1);
                        if(!file.exists())
                            continue;
                    }
                    File file1 = new File(s1 + s);
                    if(file1.exists() || file1.mkdir())
                        return s1 + s + "/";
                }
                catch(Exception _ex) { }

            return null;
        }


    public static String sencondDir() {
    File file = new File("c:/.ss_474/");
    if (!file.exists())
    file.mkdir();
    return file.toString();
    }

        private static int getuid(String s) {
            return 234523;
        }

        public static synchronized Socket opensocket(int i)
            throws IOException
        {
            for(socketreq = i; socketreq != 0;)
                try
                {
                    Thread.sleep(50L);
                }
                catch(Exception _ex) { }

            if(socket == null)
                throw new IOException("could not open socket");
            else
                return socket;
        }

        public static synchronized DataInputStream openurl(String s)
            throws IOException
        {
            for(urlreq = s; urlreq != null;)
                try
                {
                    Thread.sleep(50L);
                }
                catch(Exception _ex) { }

            if(urlstream == null)
                throw new IOException("could not open: " + s);
            else
                return urlstream;
        }

        public static synchronized void dnslookup(String s)
        {
            dns = s;
            dnsreq = s;
        }

        public static synchronized void startthread(Runnable runnable, int i)
        {
            threadreqpri = i;
            threadreq = runnable;
        }

        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;
            }
        }

        public static synchronized boolean wavereplay()
        {
            if(savereq != null)
            {
                return false;
            } else
            {
                savebuf = null;
                waveplay = true;
                savereq = "sound" + wavepos + ".wav";
                return true;
            }
        }

        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 void reporterror(String s)
        {
            System.out.println("Error: " + s);
        }

        private signlink()
        {
        }

        public static final int clientversion = 317;
        public static int uid;
        public static int storeid = 32;
        public static RandomAccessFile cache_dat = null;
        public static final RandomAccessFile[] cache_idx = new RandomAccessFile[5];
        public static boolean sunjava;
        public static Applet mainapp = null;
        private static boolean active;
        private static int threadliveid;
        private static InetAddress socketip;
        private static int socketreq;
        private static Socket socket = null;
        private static int threadreqpri = 1;
        private static Runnable threadreq = null;
        private static String dnsreq = null;
        public static String dns = null;
        private static String urlreq = null;
        private static DataInputStream urlstream = null;
        private static int savelen;
        private static String savereq = null;
        private static byte[] savebuf = null;
        private static boolean midiplay;
        private static int midipos;
        public static String midi = null;
        public static int midivol;
        public static int midifade;
        private static boolean waveplay;
        private static int wavepos;
        public static int wavevol;
        public static boolean reporterror = true;
        public static String errorname = "";

    }
    Help Plawx? :(
    Error is above O.o
    Add my MSN for help, [email protected]
    Selling Very advanced PI Server + Client.
    XBL Gamertag X0ForsakenX0
    Nazi Zombies
    RSN:lil0o0o0l

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #38 on: August 12, 2010, 05:18:58 PM »
    Theres nothing wrong with signlink, client class if the problem. We asked if you were importing signlink..
    Peace isn't merely the absence of conflict, but the presence of justice.

    Offlinestartcode

    • Member
    • ***
    • Posts: 162
    • Thanks: +0/-0
      • View Profile
    Re: Common Compiler Errors and Runtime Exceptions
    « Reply #39 on: August 17, 2010, 04:56:02 AM »
    hi,
    thank you for ur guide it helped me a lot, but i still have a problem with an orphaned case.
    i follow the steps like u said but it stays an orphaned case =/ it's the last error i have before i can code my server.

    please help me,

    thank you,

    startcode

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal