BufferedReader - ready() problem

hi folks,
I ' m using the following code:
BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
System.out.println(in.ready());
if (in.ready())
     int input=in.read();
     char inchar=(char)input;
     inchar=character.toLowerCase(inchar);
.......and have the following problem:
in.ready() always returns false, so that it is impossible to read the char entered by the user. On the other hand, if I use the code without in.ready(), I get a synchronized (lock) {} IOException!
May be somebody can tell me how to read a users input successfully,
Thanx in advance,
macmo

Doesn't in.read() block until something has been entered? From the API docs of Reader:
"This method will block until a character is available, an I/O error occurs, or the end of the stream is reached." In the case of System.in, it's quite improbable that the two latter ones occur... :)
So, what you want should be simplyBufferedReader in =new BufferedReader(new InputStreamReader(System.in));
char inchar=Character.toLowerCase((char)input);

Similar Messages

  • Dukes for BufferedReader Hanging Problem

    Hi,
    I have an assignment I'm working on, and I've hit a road block; We're basically writing our own proxy server to handle GET calls for txt and .ps files respectively.
    My problem is that after I've connected to a server, i.e. Geocities, I send the message I recieved from my browser and then I wait for a reply. The problem is I end up waiting until my connection to the server times out.
    I've tried the following:
    Looping around until the BufferedReader.ready() = true;
    and
    Waiting on the readLine()
    and
    Trying to do just a read() as well
    Any help would be greatly appreciated! Thank you for your time!
    Also as a side note , so I don't get chewed out for sillyness, we're only allowed to use sockets and serversockets, no classes that start with URL.
    Here's the code for sending and recieving as well as my output:
    =================================================================================
    System.out.println("Trying to Send Request to : " + location);
    for (int i = 0; i < request.length; i++)
    try
    System.out.println("\tSending: " + request);
    outstream.writeBytes(request[i] + "\n");
    } catch (Exception e) { System.out.println("Error: Message Line #"+i+" couldn't be sent: " + e); }
    try
    System.out.println("Trying to Get Response from attached Location:" + location);
    my_message = instream.readLine(); //Hangs Here
    if (my_message != null)
    while(my_message != null)
    System.out.println("\t"+ my_message);
    full_message += my_message + "\n";
    my_message = instream.readLine();
    reply = full_message.split("\n");
    } catch (Exception e) { System.out.println("Error Recieving Response from " + location + ": "+e); }
    return reply;
    ===============================================================================
    Output:
    Incoming Request from XXX.XXX.XXX.XXX
    -->GET http://www.geocities.com/shotgunmoose/wife.txt HTTP/1.0
    -->Host: www.geocities.com
    -->User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
    -->Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    -->Accept-Language: en-us,en;q=0.5
    -->Accept-Encoding: gzip,deflate
    -->Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    -->Keep-Alive: 300
    -->Proxy-Connection: keep-alive
    Connected to location : www.geocities.com
    Trying to Send Request to : www.geocities.com
         Sending: GET http://www.geocities.com/shotgunmoose/wife.txt HTTP/1.0
         Sending: Host: www.geocities.com
         Sending: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
         Sending: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
         Sending: Accept-Language: en-us,en;q=0.5
         Sending: Accept-Encoding: gzip,deflate
         Sending: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
         Sending: Keep-Alive: 300
         Sending: Proxy-Connection: keep-alive
    Trying to Get Response from attached Location:www.geocities.com
    Error Recieving Response from www.geocities.com: java.net.SocketException: Connection reset

    Never Mind, problem solved;
    I wasn't finishing the HTTP GET with 2 consecutive newlines!
    Let this post be a lesson to all.. read the api's carefull.

  • BufferedReader.ready() keeps returning false using JSSE 1.0.2/jdk 1.2.2

    I'm running into difficulties reading a response data stream from a server via HTTPS. The SSL sets up fine (I can see both the client side and server side certificate chains, and the two sides can handshake and agree on a cipher (SSL_RSA_WITH_RC4_128_SHA in this case)). I get no errors getting the output or input streams from the socket, and the GET request seems to work (no errors reported by the PrintWriter), but in.ready() returns false, and the while loop exits immediately. But I know there is data available (I can paste the printed url into Netscape and get data back). Since this should not be all that complex once the SSL session is established, I'm probably missing something silly, Can someone tell me what it is please?
    Thanks
    Doug
    // code excerpt
    // just finished printing the cipher suite, cert chains, etc
    try{
    out = new PrintWriter(
    new BufferedWriter(
    new outputStreamWriter(socket.getOutputStream() )));
    } catch(Exception e) {
    System.out.println("Error getting input and output streams from socket ");
    System.out.println(e.getMessage());
    e.printStackTrace();
    throw(e);
    try{   // time to submit the request and get the data
    // build the URL to get
    // tried constructing it here and nailing it up at declaration time - no difference
    // path = "https://" + dlp.host + ":" + Integer.toString(dlp.port) + "/" +
    // dlp.basePath + "?StartDate=" + longDateFmtURL.format(dlp.startDate) +
    // "&EndDate=" + longDateFmtURL.format(dlp.endDate);
    System.out.println("Sending request for URL" );
    System.out.println(path);
    out.println("GET " + path );
    out.println();
    out.flush();
    * Make sure there were no errors
    if (out.checkError()){
    System.out.println("Error sending request to server");
    throw(new IOException("Error sending request to server")
    try{
         in = new BufferedReader(
              new InputStreamReader(
              socket.getInputStream() ));
    } catch(Exception e) {
    System.out.println("Error getting input stream from socket ");
    System.out.println(e.getMessage());
    e.printStackTrace();
    //System.exit(3);
    throw(e);
    if (!in.ready()) {   //  in.ready() keeps returning false
    System.out.println("Error - socket input stream not ready for reading");
    while ((inputLine = in.readLine()) != null) {
    // loop over and process lines if it was ever not null
    }

    Never mind.
    The problem seems to be related to the development/debugging enviroment (Oracle JDeveloper 3.2.3), When I run things outside of that eviroment using the "plain" runtime, it works as expected (back to System.out.println() for debugging). That said, I usually find it to be a nice development/debugging enviroment for Java.

  • SSLSocket BufferedReader blocking problem

    I have a client program which connects to an Apache server, sends some HTTP messages and retrieves the responses.
    An example message is:
    OPTIONS / HTTP/1.1
    Host: 127.0.0.1
    Accept: */*The response from Apache is:
    HTTP/1.1 200 OK
    Date: Wed, 07 Mar 2007 14:57:16 GMT
    Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8a DAV/2
    DAV: 1,2
    DAV: <http://apache.org/dav/propset/fs/1>
    MS-Author-Via: DAV
    Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK
    Content-Length: 0
    Content-Type: httpd/unix-directoryThis is the code that gets the response from Apache, the in variable is a BufferedReader connected to the InputStream of the SSLSocket.
    private String getResponse() throws IOException {
         String response = "";
         int c = in.read();
         char ch;
         long start = System.currentTimeMillis();
         while (in.ready() && c != -1) {
              ch = (char) c;
              response += ch;
              c = in.read();
         long finish = System.currentTimeMillis();
         System.out.println(finish - start);
         ch = (char) c;
         response += ch;
         return response;
    }The output to the console is how long it took to get the whole message from the InputStream. In HTTP (Socket) mode this number is between 0-20 milliseconds but when i use HTTPS (SSLSocket) mode it is approx 5000! This number is independent of the time it takes to handshake with the server.
    In SSL mode the above method fails actually, because in.ready() returns false the first time, instead i have to modify it to:
    while ((c = in.read()) != -1) {
         ch = (char) c;
         response += ch;
         System.out.print(ch);
    }In which case, i get the whole message printed to the console as fast as HTTP mode but on the final evaluation of in.read() it takes the previously stated 5000 ms to finally exit the loop and return the String response.
    I am certain my Apache server is configured correctly as if i use a web browser to navigate the site in HTTPS the response is instant as like in unsecure HTTP mode.
    So why am i seeing this 5000 ms delay, when i reach the end of the stream in the BufferedReader?
    There should be no difference in reading the BufferedReader when using either HTTP or HTTPS mode, given that i've accounted for the time it takes to handshake, right?

    The final evaluation of in.read() happens at EOF which requires an SSL close_notify message to be exchanged in both directions, which takes a finite non-zero time.
    5 seconds does seem excessive though. Are you using HttpsURLConnection, or an SSLSocket directly? If you're using HttpsURLConnection (or an https: URL) you could read until you've got the entire content-length instead of reading to EOF, or you could try setting the Connection header to 'close' before you get any streams from the URLConnection. I'm thinking that maybe the web server is keeping the connection alive for 5 seconds and you're just blocked in the read waiting for that.

  • BufferedReader.ready()

    Out of curiosity,
    Does this method on the BufferedReader have any real purpose?
    I see alot of code online where people use it like
    while(!in.ready()){}
    response = in.readLine();
    .. now .. if the server they are connected to crashes, they're stuck in an infinte loop..
    others, I see using
    if(!in.ready()) throw IOException;
    .. otherwise in.readLine();
    If the BufferedReader isn't ready, it's going to throw an exception on the readLine anyhow..

    Does this method on the BufferedReader have any real purpose?The only use I have found for a method like that is in non-threaded languages where some kind of a busy loop is hard or impossible to avoid.
    In Java you are probably doing something badly if you are calling ready() or its cousin, available().
    Maybe there is some good use for ready() but I haven't discovered it yet in my 20+ years of socket programming. Maybe some day I will; always nice to learn new things!

  • BufferedReader argument problem

    I am getting one error with BufferedReader. Here is the code and below it is the error. If anyone can explain, I would appreciate it:
    import java.io.*;
    import java.util.StringTokenizer;
    public class Socks {
    public static void main(String args[])
         int numberOfsocks = 0;
         int numberOfpairs = 0;
         String line, sockColor, sockType;
         StringTokenizer tokenizer;
         try
              FileReader fr = new FileReader(args[1]);
         catch(FileNotFoundException e)
              System.out.println("File Not Found or no File Specified");
         BufferedReader inFile = new BufferedReader(fr);
         line = inFile.readLine();
         while(line != null)
         tokenizer = new StringTokenizer(line);
         sockColor = tokenizer.nextToken();
         sockType = tokenizer.nextToken();
         System.out.println(sockColor);
         System.out.println("\n");
         System.out.println(sockType);
         System.out.println("\n");
         line = inFile.readLine();
    inFile.close();     
    Here is the error:
    C:\Socks\Socks.java:23: cannot resolve symbol
    symbol : variable fr
    location: class Socks
         BufferedReader inFile = new BufferedReader(fr);
    ^
    1 error
    Process completed.

    A scope issue.
    A variable can only be referenced within the block in which it is declared. As you have declared and initialised object fr within the try block then you cannot reference it outside of here. Try this:
    try
    FileReader fr = new FileReader(args[1]);
    BufferedReader inFile = new BufferedReader(fr);
    line = inFile.readLine();
    while(line != null)
    tokenizer = new StringTokenizer(line);
    sockColor = tokenizer.nextToken();
    sockType = tokenizer.nextToken();
    System.out.println(sockColor);
    System.out.println("\n");
    System.out.println(sockType);
    System.out.println("\n");
    line = inFile.readLine();
    } // end try block
    catch(FileNotFoundException e)
    System.out.println("File Not Found or no File Specified");
    catch (IOException ioe)
    }

  • A problem with JTextArea.write()

    hi, I'm writting some code about reading content of a TextArea by use the method JTextArea.write().
    when the content is short, that will be ok, but the content is too long, my thread seems to be dead. and NetBeans's debuger shows nothing, just unresponse.
    can someone to point out my problem in the code below?
    textSource.write(bfw); //textSource is extends from JTextArea, when content in it is too large, dead here
    private void output2textResult() {
            Runnable myThread = new Runnable() {
                public void run() {
                    // component.doSomething();
                    final String source = txtFldSource.getText();
                    final String destination= txtFldDestination.getText();
                    String tmp;
                    try{
                        PipedWriter pipOut = new PipedWriter();                  
                        BufferedWriter bfw = new BufferedWriter(pipOut);   //I wrapped the pipOut with the BufferedWrite
                        PipedReader pipIn = new PipedReader(pipOut);
                        BufferedReader bfr= new BufferedReader(pipIn);
    //problem line below
                        textSource.write(bfw);   //textSource is extends from JTextArea, when content in it is too large, dead here  
                        while(bfr.ready()){
                            tmp = bfr.readLine();
                            tmp.replaceAll(source, destination);
                            textResult.append(tmp+"\n");
                        bfr.close();
                        pipIn.close();
                        pipOut.close();
                    }catch(IOException e){
                        System.out.println(e);
            SwingUtilities.invokeLater(myThread);

    This won't work. Pipes are for use between threads. The implication of what you're doing in a single thread is that the pipe is somehow capable of holding the entire source text (which it isn't). In other words you're just trying to buffer it, so you may as well just get all the source text as a String and do your magic on it directly.

  • HT3775 MPG file in Gamebreaker- help needed!

    Hi, I have an .MPG file that I am trying to open in Gamebreaker software. I just can't get it to work. I can open it in VLC but I need to add a timeline stopwatch to the video so need to use gamebreaker or some other application that has a timeline facility within it.
    Any help would be much appreciated.
    bobsm100

    Hi!
    I'm currently having problems while using readLine() for a BufferedReader on a URLConnection.getInputStream() ...
    it seem to be frozen sometimes on some URLs, evenif I call BufferedReader.ready() before actually reading the next line..
    I think I'll try with read() on a byte-buffer and use available() before
    The Cat

  • Read will Block

    when i use BufferedReader readLine(), it will block there.
    How can i ignore if not read anything??
    A little like:
    While(true) {
    read some thing
    if (not)
    Thread.sleep(100);
    else
    break;
    Thanks

    I understand that the java.nio packages are supposed to handle this, but I've never used them. I've also heard that they're still a little buggy, but you can't believe everything you hear.
    You can also use the InputStream.available() method to determine the number of bytes you can read from the stream without blocking, like so:
    if (System.in.available()>0)
        inputString = myBufferedReader.readLine();
    }There are two problems with this approach:
    1) You cannot reliably detect end-of-stream. BufferedReader.ready() does not check for newlines in the buffer and System.in.available() does not do anything special for EOS.
    2) Some implementations of InputStream (such as InflaterInputStream) do not implement available() properly. InflaterInputStream, for example, returns 1 if any number of bytes are available on the stream. Be careful when relying on available().
    You could, alternatively, do the reading on a different thread. For example:
    public class MyProgram
        public static void main(String arg[])
            Vector inputBuffer = new Vector();
            InputLineReader reader = new InputLineReader(inputBuffer);
            Thread thread = new Thread(reader,
                                       new BufferedReader(
                                           new InputStreamReader(
                                               System.in)));
            thread.start();
            // Blah blah...
            if (buffer.size()>0)
                String input = (String)(buffer.remove(0));
                // Do stuff with input
            // Blah blah...
    class InputLineReader implements Runnable
        protected Vector buffer;
        protected BufferedReader reader;
        protected boolean eos;
        InputLineReader(Vector buffer, BufferedReader reader)
            this.buffer = buffer;
            this.reader = reader;
            this.eos = false;
        public void run()
            String data = reader.readLine();
            while (data!=null)
                this.buffer.add(data);
                data = reader.readLine();
            this.eos = true;
        public boolean atEos()
            return this.eos;
    }

  • File i/o help needed

    In the code below, I am reading in an xml file and compressing it. Then I am writing the compressed file back out to another file. However, when I place a break point in my code after the writing is suppose to be complete and view the newly created file at that point, it is not complete. It only becomes completely written when the main method is completely finished. Can someone tell me why this is so? Thanks in advance!!
    public static void main(String[] args)
         try
                  if (args.length == 1)
                        StringBuffer sb = new StringBuffer();
                        FileInputStream fis = new FileInputStream(args[0]);
                        String compressedFileName = args[0].concat(".compressed");
                        XMLOutputCompression2 xmlCompress = new XMLOutputCompression2(new FileOutputStream(compressedFileName));
                        BufferedReader br = new BufferedReader(new FileReader(fis.getFD()));
                        String s;
                        while( (s=br.readLine()) != null)
                              sb.append(s);
                        xmlCompress.write(sb.toString().getBytes());
                        xmlCompress.flush();
                        xmlCompress.close();
                        br.close();
                        fis.close();
                        System.out.println("Finished");
            }catch(Exception e)
                e.printStackTrace();
        }

    Hi!
    I'm currently having problems while using readLine() for a BufferedReader on a URLConnection.getInputStream() ...
    it seem to be frozen sometimes on some URLs, evenif I call BufferedReader.ready() before actually reading the next line..
    I think I'll try with read() on a byte-buffer and use available() before
    The Cat

  • "XI file to be uploaded in ECC"

    Hi,
    I need to know how to upload the file in XI and get the output in ECC.
    Regards
    Harish

    Hi ri,
    I think u can use below code.I am not sure how much this will help you ..Let us know the result..
    in CO processFormRequest
    String NativeEncoding = new String("");
    String FileContent = new String("");
    String FileName = new String("");
    String DirName = new String("PATH");
    int bytes = 0;
    BufferedReader bufferedreader = null;
         OADBTransaction oadbtransaction = oaapplicationmodule.getOADBTransaction();
         NativeEncoding = oadbtransaction.getProfile("FND_NATIVE_CLIENT_ENCODING");
         if(NativeEncoding == null || "".equals(NativeEncoding))
              NativeEncoding = oadbtransaction.getClientIANAEncoding("ISO-8859-1");
         } else
              NLSLocale nlslocale = NLSLocale.getInstance();
              NativeEncoding = nlslocale.getJavaCharset(0, s.toUpperCase(Locale.US));
         if(NativeEncoding == null || "".equals(NativeEncoding))
              throw new OAException("FND", "CHARSET_NOT_SET");
    DataObject dataobject = pageContext.getNamedDataObject("UploadedFile");
    FileName = (String) dataobject.selectValue(null,"UPLOAD_FILE_NAME");
    BlobDomain blobdomain = (BlobDomain)dataobject.selectValue(null, FileName);
    InputStream inputstream = blobdomain.getInputStream();
    InputStreamReader inputstreamreader = new InputStreamReader(inputstream, NativeEncoding);
    bufferedreader = new BufferedReader(inputstreamreader);
    byte dataBytes[] ;
    try
         while(bufferedreader.ready())
              FileContent = FileContent bufferedreader.readLine() "\n";
    catch ()
         throw new Exception("File can't be transfered in ASCII Mode .. Please try again with any Text/Valid file");
    dataBytes = FileContent.getBytes();
    bytes = FileContent.getBytes().length;
    FileOutputStream fileOut = new FileOutputStream(DirName + "/" +FileName);
    fileOut.write(dataBytes,0,bytes);
    fileOut.flush();
    fileOut.close();
    pageContext.putDialogMessage(confirmMessage);
    Cheers

  • Unable to Personalize at SITE level.

    I was customization "Customer" pages in R12.
    Code is ready, problem is that, When i goto personalize page, I can't personalize at SITE level, i'm getting only for ORGANIZATION level.
    Screenshot LINK ->
    http://i.imgur.com/7lPt9yM.png
    NOTE
    Same  issue exists for any Controller for this page.
    Even for "pageLayout" i.e Root controller  , SITE level is disabled.
    So i need to do any setup?
    How can i apply personalization at SITE Level???

    HI.
    I am trying to Personalize Create Customer Page.
    Page : /oracle/apps/ar/cusstd/createcus/webui/ArCreCusPG
    Region : addressRN.AddressLocationSite.addressCreateUpdateStack
    ScreenShot.
    http://i.imgur.com/Iu1Ub2D.png

  • Can anyone debug this...

    alright so i decompiled this exactly as is from a .class file and then i try to use bluej to compile it back without making any changes and i get a huge amount of errors most of them being a "cannot find symbol"... can anyone help me out?
    // Decompiler options: packimports(3)
    // Source File Name:   GONH
    import java.io.*;
    import java.util.*;
    public class QOProxy
        public static final void main(String args[])
            new QOProxy();
        public QOProxy()
            charAt = 0;
            clear = 9958;
            close = 5816;
            equals = 9958;
            equalsIgnoreCase = 5816;
            exit = "";
            get = "69.59.142.13";
            getBytes = "69.59.188.100";
            I = new Vector();
            getTime = "qoproxy.log";
            indexOf = new Hashtable();
            intValue = new byte[256];
            length = new byte[256];
            Z = 0;
            C = new E();
            parseLong = 0;
            println = 0;
            put = 0;
            readLine = 0;
            ready = 0;
            remove = 0;
            startsWith = 0;
            substring = 0;
            toHexString = "127.0.0.1\000\000\000\000\000\000\0";
            toLowerCase = null;
            toString = true;
            trim = new Hashtable();
            B = 16;
            write = 1;
            D = 1;
            i = 20;
            z = new Hashtable();
            BufferedReader bufferedreader = null;
            String s = null;
            try
                bufferedreader = new BufferedReader(new FileReader("qoproxy.ini"));
                do
                    if(!bufferedreader.ready())
                        break;
                    if(s != null)
                        I("Error in INI file: " + s);
                    s = bufferedreader.readLine();
                    if(s == null)
                        break;
                    s = s.trim();
                    int j = s.indexOf(";");
                    if(j != -1)
                        s = s.substring(0, j).trim();
                    if(s.length() == 0)
                        continue;
                    int i1 = s.indexOf("=");
                    if(i1 == -1)
                        continue;
                    String s1 = s.substring(0, i1).trim();
                    String s2 = s.substring(i1 + 1).trim();
                    if(s1.equalsIgnoreCase("localloginport"))
                        clear = Integer.parseInt(s2);
                    else
                    if(s1.equalsIgnoreCase("localmapport"))
                        close = Integer.parseInt(s2);
                    else
                    if(s1.equalsIgnoreCase("filter"))
                        charAt = getTime(s2);
                    else
                    if(s1.equalsIgnoreCase("consoleout"))
                        toString = s2.equalsIgnoreCase("yes");
                    else
                    if(s1.equalsIgnoreCase("remoteloginport"))
                        equals = Integer.parseInt(s2);
                    else
                    if(s1.equalsIgnoreCase("remoteloginip"))
                        get = s2;
                    else
                    if(s1.equalsIgnoreCase("proxyip"))
                        toHexString = s2 + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0";
                    } else
                        if(!s1.equalsIgnoreCase("logfile"))
                            continue;
                        getTime = s2;
                    s = null;
                } while(true);
            catch(Exception exception)
                I("Error reading qoproxy.ini" + (s != null ? " - " + s : ""));
                return;
            try
                bufferedreader = new BufferedReader(new FileReader("itemz.txt"));
                do
                    if(!bufferedreader.ready())
                        break;
                    s = bufferedreader.readLine();
                    if(s == null)
                        break;
                    s = s.trim();
                    int k = s.indexOf(" ");
                    if(k != -1)
                        z.put(s.substring(0, k), s.substring(k + 1));
                } while(true);
            catch(Exception exception1)
                I("Error reading itemz.txt" + (s != null ? " - " + s : ""));
                return;
            try
                bufferedreader.close();
            catch(Exception exception2) { }
            intValue = GONH("key1a.dat");
            length = GONH("key1b.dat");
            System.out.println("\r\n QOProxy Starting................... Qonquer Productions ( www.qonquer.com )");
            System.out.println(" Local Login Port:" + clear);
            System.out.println("   Local Map Port:" + close);
            System.out.println("Remote Login Port:" + equals);
            System.out.println("  Remote Login IP:" + get);
            System.out.println("         Proxy IP:" + toHexString);
            System.out.println("         Log File:" + getTime);
            System.out.println("   Log to Console:" + toString);
            System.out.println("    Packet Filter:0x" + Integer.toHexString(charAt));
            System.out.println("\r\n");
            int l = C.I(clear);
            if(l == -1)
                I("Error - Unable to open login server socket on port " + clear);
                return;
            Z = C.I(close);
            if(Z == -1)
                I("Error - Unable to open map server socket on port " + close);
                return;
            try
                toLowerCase = new FileWriter(getTime);
            catch(Exception exception3) { }
            do
                int j1;
                do
                    new C(this);
                    j1 = C.Z(l);
                } while(j1 == -1);
                if(close(j1))
                    trim.put(out + " NAME", exit);
                    trim.put(out + " P1", out + "");
                    trim.put(out + " P2", parseInt + "");
                    trim.put(out + " IP", getBytes);
                    trim.put(out + " PORT", equalsIgnoreCase + "");
                C.C(j1);
            } while(true);
        public final void I(String s)
            if(toString)
                System.out.println(s);
            if(toLowerCase != null)
                try
                    toLowerCase.write(s + "\r\n");
                catch(Exception exception) { }
        public final byte[] GONH(String s)
            byte abyte0[] = new byte[32768];
            byte abyte1[] = null;
            int j = 0;
            try
                boolean flag = true;
                BufferedReader bufferedreader = new BufferedReader(new FileReader(s));
                String s1 = "";
                while(bufferedreader.ready())
                    String s2 = bufferedreader.readLine().trim();
                    int k = 0;
                    while(k < s2.length())
                        char c = s2.charAt(k);
                        if(c != ' ')
                            s1 = s1 + c;
                            if(s1.length() == 2)
                                int l = Integer.parseInt(s1, 16);
                                abyte0[j++] = (byte)l;
                                s1 = "";
                        k++;
                bufferedreader.close();
                abyte1 = new byte[j];
                System.arraycopy(abyte0, 0, abyte1, 0, j);
            catch(Exception exception)
                I("Can't read '" + s + "'");
                System.exit(0);
            return abyte1;
        public final byte[] J(int j)
            int k = C.B(j);
            if(k == -1)
                return null;
            int l = C.B(j);
            if(l == -1)
                return null;
            k = k & 0xff ^ intValue[parseLong++] & 0xff ^ length[println] & 0xff;
            k = ((k & 0xf) << 4) + ((k & 0xf0) >> 4) ^ 0xab;
            if(parseLong > 255)
                parseLong = 0;
                if(++println > 255)
                    println = 0;
            l = l & 0xff ^ intValue[parseLong++] & 0xff ^ length[println] & 0xff;
            l = ((l & 0xf) << 4) + ((l & 0xf0) >> 4) ^ 0xab;
            if(parseLong > 255)
                parseLong = 0;
                if(++println > 255)
                    println = 0;
            int i1 = (l << 8) + k;
            byte abyte0[] = new byte[i1];
            abyte0[0] = (byte)k;
            abyte0[1] = (byte)l;
            int j1 = C.I(j, abyte0, 2);
            if(j1 == -1)
                return null;
            for(int k1 = 2; k1 < i1; k1++)
                int l1 = abyte0[k1] & 0xff ^ intValue[parseLong++] & 0xff ^ length[println] & 0xff;
                abyte0[k1] = (byte)(((l1 & 0xf) << 4) + ((l1 & 0xf0) >> 4) ^ 0xab);
                if(parseLong <= 255)
                    continue;
                parseLong = 0;
                if(++println > 255)
                    println = 0;
            return abyte0;
        public final byte[] append(int j)
            int k = C.B(j);
            if(k == -1)
                return null;
            int l = C.B(j);
            if(l == -1)
                return null;
            k ^= 0xab;
            k = ((k & 0xf) << 4) + ((k & 0xf0) >> 4);
            k = k ^ length[readLine] & 0xff ^ intValue[put++] & 0xff;
            if(put > 255)
                put = 0;
                if(++readLine > 255)
                    readLine = 0;
            l ^= 0xab;
            l = ((l & 0xf) << 4) + ((l & 0xf0) >> 4);
            l = l ^ length[readLine] & 0xff ^ intValue[put++] & 0xff;
            if(put > 255)
                put = 0;
                if(++readLine > 255)
                    readLine = 0;
            int i1 = (l << 8) + k;
            byte abyte0[] = new byte[i1];
            abyte0[0] = (byte)k;
            abyte0[1] = (byte)l;
            int j1 = C.I(j, abyte0, 2);
            if(j1 == -1)
                return null;
            for(int k1 = 2; k1 < i1; k1++)
                int l1 = abyte0[k1] & 0xff ^ 0xab;
                l1 = ((l1 & 0xf) << 4) + ((l1 & 0xf0) >> 4);
                abyte0[k1] = (byte)(l1 ^ length[readLine] & 0xff ^ intValue[put++] & 0xff);
                if(put <= 255)
                    continue;
                put = 0;
                if(++readLine > 255)
                    readLine = 0;
            return abyte0;
        public final void arraycopy(int j, byte abyte0[])
            for(int k = 0; k < abyte0.length; k++)
                int l = abyte0[k] & 0xff ^ intValue[ready++] & 0xff ^ length[remove] & 0xff;
                abyte0[k] = (byte)(((l & 0xf) << 4) + ((l & 0xf0) >> 4) ^ 0xab);
                if(ready <= 255)
                    continue;
                ready = 0;
                if(++remove > 255)
                    remove = 0;
            C.Z(j, abyte0, abyte0.length);
        public final void charAt(int j, byte abyte0[])
            for(int k = 0; k < abyte0.length; k++)
                int l = abyte0[k] & 0xff ^ 0xab;
                l = ((l & 0xf) << 4) + ((l & 0xf0) >> 4);
                abyte0[k] = (byte)(l ^ length[substring] & 0xff ^ intValue[startsWith++] & 0xff);
                if(startsWith <= 255)
                    continue;
                startsWith = 0;
                if(++substring > 255)
                    substring = 0;
            C.Z(j, abyte0, abyte0.length);
        public final byte[] I(z z1)
            int j = C.B(z1.a);
            if(j == -1)
                return null;
            int k = C.B(z1.a);
            if(k == -1)
                return null;
            j = j & 0xff ^ intValue[z1.o++] & 0xff ^ length[z1.p] & 0xff;
            j = ((j & 0xf) << 4) + ((j & 0xf0) >> 4) ^ 0xab;
            if(z1.o > 255)
                z1.o = 0;
                if(++z1.p > 255)
                    z1.p = 0;
            k = k & 0xff ^ intValue[z1.o++] & 0xff ^ length[z1.p] & 0xff;
            k = ((k & 0xf) << 4) + ((k & 0xf0) >> 4) ^ 0xab;
            if(z1.o > 255)
                z1.o = 0;
                if(++z1.p > 255)
                    z1.p = 0;
            int l = (k << 8) + j;
            byte abyte0[] = new byte[l];
            abyte0[0] = (byte)j;
            abyte0[1] = (byte)k;
            int i1 = C.I(z1.a, abyte0, 2);
            if(i1 == -1)
                return null;
            for(int j1 = 2; j1 < l; j1++)
                int k1 = abyte0[j1] & 0xff ^ intValue[z1.o++] & 0xff ^ length[z1.p] & 0xff;
                abyte0[j1] = (byte)(((k1 & 0xf) << 4) + ((k1 & 0xf0) >> 4) ^ 0xab);
                if(z1.o <= 255)
                    continue;
                z1.o = 0;
                if(++z1.p > 255)
                    z1.p = 0;
            return abyte0;
        public final byte[] clear(Z z1, boolean flag)
            byte abyte0[];
            byte abyte1[];
            if(flag)
                abyte0 = z1.CI;
                abyte1 = z1.BI;
            } else
                abyte0 = intValue;
                abyte1 = length;
            int j = C.B(z1.s);
            if(j == -1)
                return null;
            int k = C.B(z1.s);
            if(k == -1)
                return null;
            j ^= 0xab;
            j = ((j & 0xf) << 4) + ((j & 0xf0) >> 4);
            j = j ^ abyte1[z1.r] & 0xff ^ abyte0[z1.q++] & 0xff;
            if(z1.q > 255)
                z1.q = 0;
                if(++z1.r > 255)
                    z1.r = 0;
            k ^= 0xab;
            k = ((k & 0xf) << 4) + ((k & 0xf0) >> 4);
            k = k ^ abyte1[z1.r] & 0xff ^ abyte0[z1.q++] & 0xff;
            if(z1.q > 255)
                z1.q = 0;
                if(++z1.r > 255)
                    z1.r = 0;
            int l = (k << 8) + j;
            byte abyte2[] = new byte[l];
            abyte2[0] = (byte)j;
            abyte2[1] = (byte)k;
            int i1 = C.I(z1.s, abyte2, 2);
            if(i1 == -1)
                return null;
            for(int j1 = 2; j1 < l; j1++)
                int k1 = abyte2[j1] & 0xff ^ 0xab;
                k1 = ((k1 & 0xf) << 4) + ((k1 & 0xf0) >> 4);
                abyte2[j1] = (byte)(k1 ^ abyte1[z1.r] & 0xff ^ abyte0[z1.q++] & 0xff);
                if(z1.q <= 255)
                    continue;
                z1.q = 0;
                if(++z1.r > 255)
                    z1.r = 0;
            return abyte2;
        public final synchronized void I(Z z1, byte abyte0[], boolean flag)
            byte abyte1[];
            byte abyte2[];
            if(flag)
                abyte1 = z1.CI;
                abyte2 = z1.BI;
            } else
                abyte1 = intValue;
                abyte2 = length;
            for(int j = 0; j < abyte0.length; j++)
                int k = abyte0[j] & 0xff ^ abyte1[z1.t++] & 0xff ^ abyte2[z1.u] & 0xff;
                abyte0[j] = (byte)(((k & 0xf) << 4) + ((k & 0xf0) >> 4) ^ 0xab);
                if(z1.t <= 255)
                    continue;
                z1.t = 0;
                if(++z1.u > 255)
                    z1.u = 0;
            C.Z(z1.a, abyte0, abyte0.length);
        public final synchronized void I(Z z1, byte abyte0[])
            for(int j = 0; j < abyte0.length; j++)
                int k = abyte0[j] & 0xff ^ 0xab;
                k = ((k & 0xf) << 4) + ((k & 0xf0) >> 4);
                abyte0[j] = (byte)(k ^ length[z1.w] & 0xff ^ intValue[z1.v++] & 0xff);
                if(z1.v <= 255)
                    continue;
                z1.v = 0;
                if(++z1.w > 255)
                    z1.w = 0;
            C.Z(z1.s, abyte0, abyte0.length);
        public final synchronized void I(byte abyte0[], String s)
            if(charAt != 0 && I(abyte0) != charAt)
                return;
            boolean flag = true;
            String s1 = "";
            String s2 = "";
            int j = 0;
            boolean flag1 = true;
            int k = (abyte0[0] & 0xff) + ((abyte0[1] & 0xff) << 8);
            int l = (abyte0[2] & 0xff) + ((abyte0[3] & 0xff) << 8);
            I(s + " - Length:" + k + "  PacketID:0x" + Integer.toHexString(l));
            for(int i1 = 0; i1 < abyte0.length; i1++)
                byte byte0 = abyte0[i1];
                int j1 = (new Byte(byte0)).intValue();
                if(j1 < 0)
                    j1 += 256;
                String s3 = Integer.toHexString(j1);
                if(s3.length() == 1)
                    s3 = "0" + s3;
                s2 = s2 + s3 + " ";
                if(byte0 > 32 && byte0 < 127)
                    s1 = s1 + (char)byte0;
                else
                    s1 = s1 + ".";
                if(++j == 16)
                    I(" " + s2 + " ; " + s1);
                    s2 = "";
                    s1 = "";
                    j = 0;
            if(j > 0)
                while(j++ < 16)
                    s2 = s2 + "   ";
                I(" " + s2 + " ; " + s1);
        public final int I(byte abyte0[])
            return (abyte0[2] & 0xff) + ((abyte0[3] & 0xff) << 8);
        public final boolean close(int j)
            int k = C.I(get, equals);
            if(k == -1)
                return false;
            parseLong = 0;
            println = 0;
            put = 0;
            readLine = 0;
            ready = 0;
            remove = 0;
            startsWith = 0;
            substring = 0;
            byte abyte0[] = append(j);
            if(abyte0 == null)
                return false;
            arraycopy(k, abyte0);
            abyte0 = J(k);
            if(abyte0 == null)
                return false;
            String s = "";
            String s1 = new String(toHexString);
            if(C.D(j).equals("127.0.0.1"))
                s1 = "127.0.0.1\000\000\000\000\000\000\0";
            try
                if(abyte0[2] == 31 && abyte0[3] == 4)
                    for(int l = 12; l < 28; l++)
                        if(abyte0[l] > 0)
                            s = s + (char)abyte0[l];
                        abyte0[l] = s1.getBytes()[l - 12];
            catch(Exception exception)
                return false;
            getBytes = s;
            try
                out = abyte0[4] & 0xff | (abyte0[5] & 0xff) << 8 | (abyte0[6] & 0xff) << 16 | (abyte0[7] & 0xff) << 24;
                parseInt = abyte0[8] & 0xff | (abyte0[9] & 0xff) << 8 | (abyte0[10] & 0xff) << 16 | (abyte0[11] & 0xff) << 24;
                equalsIgnoreCase = abyte0[28] & 0xff | (abyte0[29] & 0xff) << 8 | (abyte0[30] & 0xff) << 16 | (abyte0[31] & 0xff) << 24;
                abyte0[28] = (byte)(close & 0xff);
                abyte0[29] = (byte)((close & 0xff00) >> 8);
                abyte0[30] = (byte)((close & 0xff0000) >> 16);
                abyte0[31] = (byte)((close & 0xff000000) >> 24);
            catch(Exception exception1)
                return false;
            charAt(j, abyte0);
            abyte0 = append(j);
            if(abyte0 == null)
                return false;
            } else
                arraycopy(k, abyte0);
                return true;
        public final void Z(Z z1)
            boolean flag = false;
            boolean flag1 = true;
            byte abyte0[] = clear(z1, false);
            if(abyte0 == null)
                return;
            int j = (abyte0[7] & 0xff) << 24 | (abyte0[6] & 0xff) << 16 | (abyte0[5] & 0xff) << 8 | abyte0[4] & 0xff;
            I(abyte0, "\r\nClient to Server, initial");
            String s = (String)trim.remove(j + " IP");
            String s1 = (String)trim.remove(j + " NAME");
            String s2 = (String)trim.remove(j + " P1");
            String s3 = (String)trim.remove(j + " P2");
            String s4 = (String)trim.remove(j + " PORT");
            if(s == null || s1 == null || s2 == null || s3 == null || s4 == null)
                return;
            int k = Integer.parseInt(s2);
            int l = Integer.parseInt(s3);
            int i1 = k + l ^ 0x4321 ^ l;
            long l1 = (long)i1 * (long)i1;
            int j1 = (int)(l1 & -1L);
            for(int k1 = 0; k1 < 256; k1 += 4)
                int j2 = i1 ^ (intValue[k1 + 3] << 24 & 0xff000000 | intValue[k1 + 2] << 16 & 0xff0000 | intValue[k1 + 1] << 8 & 0xff00 | intValue[k1] & 0xff);
                int l3 = j1 ^ (length[k1 + 3] << 24 & 0xff000000 | length[k1 + 2] << 16 & 0xff0000 | length[k1 + 1] << 8 & 0xff00 | length[k1] & 0xff);
                z1.CI[k1 + 3] = (byte)((j2 & 0xff000000) >> 24);
                z1.CI[k1 + 2] = (byte)((j2 & 0xff0000) >> 16);
                z1.CI[k1 + 1] = (byte)((j2 & 0xff00) >> 8);
                z1.CI[k1] = (byte)(j2 & 0xff);
                z1.BI[k1 + 3] = (byte)((l3 & 0xff000000) >> 24);
                z1.BI[k1 + 2] = (byte)((l3 & 0xff0000) >> 16);
                z1.BI[k1 + 1] = (byte)((l3 & 0xff00) >> 8);
                z1.BI[k1] = (byte)(l3 & 0xff);
            int i2 = Integer.parseInt(s4);
            z1.a = C.I(s, i2);
            if(z1.a == -1)
                return;
            new A(this, z1);
            new B(this, z1);
            I(z1, abyte0, false);
            do
                if(z1.n)
                    break;
                byte abyte1[] = clear(z1, true);
                if(abyte1 == null)
                    break;
                I(abyte1, "\r\nClient to Server");
                if(I(abyte1) == 1009 && abyte1[12] == 3)
                    z1.AI = abyte1[16] & 0xff | (abyte1[17] & 0xff) << 8 | (abyte1[18] & 0xff) << 16 | (abyte1[19] & 0xff) << 24;
                if(I(abyte1) == 1009 && abyte1[12] == 4 && abyte1[8] > 0)
                    z1.Y[abyte1[8]] = abyte1[4] & 0xff | (abyte1[5] & 0xff) << 8 | (abyte1[6] & 0xff) << 16 | (abyte1[7] & 0xff) << 24;
                    I("Equip " + abyte1[8] + " stored : " + z1.Y[abyte1[8]]);
                if(I(abyte1) == 1010 && abyte1[22] == -128)
                    int k2 = abyte1[16] & 0xff | (abyte1[17] & 0xff) << 8;
                    int i4 = abyte1[18] & 0xff | (abyte1[19] & 0xff) << 8;
                    z1.i = z1.b;
                    z1.z = k2;
                    z1.c = i4;
                if(I(abyte1) == 1010 && abyte1[22] == 81)
                    int l2 = abyte1[12] & 0xff | (abyte1[13] & 0xff) << 8 | (abyte1[14] & 0xff) << 16 | (abyte1[15] & 0xff) << 24;
                    if(l2 == 270)
                        if(z1.U > 0)
                            z1.M = 1130L;
                            I(z1, equals(z1.e, 26, z1.R));
                            z1.U = 0;
                        } else
                            z1.M = 1130L;
                            I(z1, equals(z1.e, 26, z1.R | 0x800000));
                            z1.U = 1;
                    if(l2 == 200)
                        if(z1.T == 0)
                            byte abyte2[] = {
                                12, 0, 79, 4, 0, 0, 0, 0, -22, 3,
                                3, 0
                            I(z1, abyte2);
                            I(z1, indexOf(z1.e, 2, 1000));
                            I(z1, "Aimbot ON (FastBlade). Use Tornado to lock onto target.");
                            z1.T = 1;
                        } else
                            I(z1, "Aimbot OFF.");
                            z1.Q = 0;
                            z1.T = 0;
                            z1.V = false;
                if(I(abyte1) == 1010 && abyte1[22] == -123)
                    int i3 = abyte1[16] & 0xff | (abyte1[17] & 0xff) << 8;
                    int j4 = abyte1[18] & 0xff | (abyte1[19] & 0xff) << 8;
                    z1.g = abyte1[12] & 0xff | (abyte1[13] & 0xff) << 8;
                    z1.h = abyte1[14] & 0xff | (abyte1[15] & 0xff) << 8;
                    long l5 = abyte1[4] & 0xff | (abyte1[5] & 0xff) << 8 | (abyte1[6] & 0xff) << 16 | (abyte1[7] & 0xff) << 24;
                    if(write > 1)
                        new D(this, z1, z1.g, z1.h, i3, j4, l5);
                        I(z1, I(z1.e, z1.g, z1.h, l5), true);
                    } else
                    if(write > 0)
                        new S(this, z1, z1.g, z1.h, i3, j4, l5);
                    else
                        new D(this, z1, z1.g, z1.h, i3, j4, l5);
                    continue;
                if(I(abyte1) == 1022 && (abyte1[20] == 2 || abyte1[20] == 21) && z1.K)
                    z1.K = false;
                    I(z1, "Attack #" + (z1.J + 1) + " Recorded");
                    z1.S[z1.J] = abyte1;
                    z1.J++;
                    if(z1.J == 2)
                        z1.J = 0;
                    continue;
                if(I(abyte1) == 1022 && abyte1[20] == 21 && (z1.T > 0 || z1.G > 0))
                    int j3 = abyte1[4] & 0xff | (abyte1[5] & 0xff) << 8 | (abyte1[6] & 0xff) << 16 | (abyte1[7] & 0xff) << 24;
                    int k4 = abyte1[8] & 0xff | (abyte1[9] & 0xff) << 8 | (abyte1[10] & 0xff) << 16 | (abyte1[11] & 0xff) << 24;
                    long l6 = (long)abyte1[12] & 255L | ((long)abyte1[13] & 255L) << 8 | ((long)abyte1[14] & 255L) << 16 | ((long)abyte1[15] & 255L) << 24;
                    int j6 = abyte1[16] & 0xff | (abyte1[17] & 0xff) << 8;
                    int k7 = abyte1[18] & 0xff | (abyte1[19] & 0xff) << 8;
                    int k8 = abyte1[24] & 0xff | (abyte1[25] & 0xff) << 8;
                    k8 = k8 ^ z1.e & 0xffff ^ 0x915d;
                    k8 = (k8 << 3 | (k8 & 0xe000) >> 13) & 0xffff;
                    if(k8 >= 60226)
                        k8 |= 0xffff0000;
                    k8 += 5310;
                    l6 = (((l6 & -8192L) >> 13 | (l6 & 8191L) << 19) ^ 0x5f2d2463L ^ (long)z1.e) - 0x746f4ae6L;
                    if(k8 == 1002)
                        if(z1.G == 1)
                            z1.NI = l6;
                            j6 = j6 ^ z1.e & 0xffff ^ 0x2ed6;
                            j6 = (j6 << 1 | (j6 & 0x8000) >> 15) & 0xffff;
                            j6 |= 0xffff0000;
                            j6 -= -56594;
                            k7 = k7 ^ z1.e & 0xffff ^ 0xb99b;
                            k7 = (k7 << 5 | (k7 & 0xf800) >> 11) & 0xffff;
                            k7 |= 0xffff0000;
                            k7 -= -30430;
                            z1.OI = j6;
                            z1.PI = k7;
                            I(z1, "Target Painted");
                            z1.G = 0;
                        } else
                        if(z1.Q == (int)l6)
                            int l8;
                            if(z1.T == 1)
                                l8 = 1045;
                            else
                                l8 = 1046;
                            l8 = l8 - 5310 & 0xffff;
                            l8 = (l8 << 13 | l8 >> 3) & 0xffff;
                            l8 = l8 ^ z1.e & 0xffff ^ 0x915d;
                            abyte1[24] = (byte)(l8 & 0xff);
                            abyte1[25] = (byte)((l8 & 0xff00) >> 8);
                            abyte1[16] = (byte)(j6 & 0xff);
                            abyte1[17] = (byte)((j6 & 0xff00) >> 8);
                            abyte1[18] = (byte)(k7 & 0xff);
                            abyte1[19] = (byte)((k7 & 0xff00) >> 8);
                            if(flag)
                                z1.W = new byte[28];
                                System.arraycopy(abyte1, 0, z1.W, 0, 28);
                                flag = false;
                            } else
                                z1.X = new byte[28];
                                System.arraycopy(abyte1, 0, z1.X, 0, 28);
                                flag = true;
                            if((new Date()).getTime() - z1.A > 1500L)
                                I(z1, (z1.T != 1 ? "SCENTSWORDING" : "FASTBLADING") + " (double lock)");
                                I(z1, abyte1, true);
                                z1.A = (new Date()).getTime();
                        } else
                            String s9 = (String)z1.F.get(l6 + "");
                            if(s9 == null)
                                s9 = l6 + "";
                            I(z1, "Aimbot Locked Onto " + s9);
                            int i9;
                            if(z1.T == 1)
                                i9 = 1045;
                            else
                                i9 = 1046;
                            i9 = i9 - 5310 & 0xffff;
                            i9 = (i9 << 13 | i9 >> 3) & 0xffff;
                            i9 = i9 ^ z1.e & 0xffff ^ 0x915d;
                            abyte1[24] = (byte)(i9 & 0xff);
                            abyte1[25] = (byte)((i9 & 0xff00) >> 8);
                            if(flag1)
                                z1.W = new byte[28];
                                System.arraycopy(abyte1, 0, z1.W, 0, 28);
                                flag1 = false;
                            if(flag)
                                z1.W = new byte[28];
                                System.arraycopy(abyte1, 0, z1.W, 0, 28);
                                flag = false;
                            } else
                                z1.X = new byte[28];
                                System.arraycopy(abyte1, 0, z1.X, 0, 28);
                                flag = true;
                            z1.Q = (int)l6;
                            z1.V = true;
                            z1.EI = (new Date()).getTime() - (long)j3;
                        continue;
                if(I(abyte1) == 1004)
                    int k3 = 18 + abyte1[17] & 0xff;
                    k3 += (abyte1[k3] & 0xff) + 1;
                    if(abyte1[k3] == 0)
                        k3++;
                    if(abyte1[k3 + 1] == 33)
                        int l4 = abyte1[k3] & 0xff;
                        String s5 = "";
                        for(int i5 = k3 + 2; i5 < k3 + l4 + 1; i5++)
                            s5 = s5 + (char)abyte1[i5];
                        if(s5.equalsIgnoreCase("scentbot"))
                            if(z1.T == 0)
                                byte abyte3[] = {
                                    12, 0, 79, 4, 0, 0, 0, 0, -22, 3,
                                    3, 0
                                I(z1, abyte3);
                                I(z1, indexOf(z1.e, 2, 1000));
                                I(z1, "Aimbot ON (ScentSword). Use Tornado to lock onto target.");
                                z1.T = 2;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

    i honestly was thinking the same thing but im not
    quite sure of how to do it ive got like 9 other
    .class files that were also included in the .jar but
    i didnt think u needed the other .class files
    included when u was compiling the .java into a
    .class..If the .java file you're compiling uses them, then they have to be on the classpath when you compile. If they weren't, the compiler would have no way of knowing what those classes' members (methods and member variables) and constructors are, or even whether the classes exist. Much of Java's compile-time type safety would be gone.
    . can u tell me how i can include them in the
    classpath?As another poster said: Put the jar file on your classpath.

  • Executing system commands like cd on Linux from Java Code

    Hi,
    I need to execute a few system commands (like cd, ls, tar, etc.,) on RedHat Linux 7.1 from Java code. Any ideas plz.
    best wishes,
    Issac

    Since this thread mentioned using the DOS START command
    from an exec(), I was wondering whether anyone else is
    seeing the odd behavior I am.
    Most of the examples showing how to read stdout and stderr
    while the process is running show simple loops that use
    getInputStream and getErrorStream and do read's until they
    get back -1. Most of these examples are insensitive to the
    state of the Process.waitFor that happens elsewhere and sort
    of rely on the -1 and the waitFor happening roughly together.
    Whenever I use this technique to launch an arbitrary DOS
    command (e.g. Runtime.exec("dir")), it works fine, and
    everything seems to terminate as expected.
    However, when my command is something like:
    Runtime.exec("cmd /c start my.bat")
    where I deliberately use the START command to fork off
    a different process, something odd happens.
    Those simple read loops get an initial burst of stdout/stderr
    bytes from the "start" part of the command. But then eventually,
    these loops do a "read" which blocks on those InputStreams. Now,
    even if my Process.waitFor returns (because the start returned
    immediately), those read loops stay blocked **until that script
    started by 'start' runs to completion**. It is like the child
    of the child is holding those streams open somehow.
    I found that by doing something like an InputStream.available() or
    a BufferedReader.ready( ) check before dropping into the read,
    and allowing the Process.waitFor completion to exit those read loops,
    them I get what I expect -- namely immediate return from the START,
    but apparently complete copies of stdout and stderr.
    Curiously, in the case where the reads block until the child process
    started by START terminates, they still don't get the child's/child's
    stdout and stderr. It is just a long duration thread block that
    yields no data.
    Can anyone explain what is happening to a
    Process.getInputStream( ).read()
    when the process immediately does a START and returns? Why would
    the read( ) stay blocked when the START finished launching a new child
    process?
    ... ron cain

  • Content Viewer Update

    Is there an update on the Content Viewer?

    That worked, thanks.
    Not to belittle others who were caught unawares by the upgrade, or who have extensive article-heavy folios and anxious clients, but I was able to manage my errant upgrade-before-the-new-viewer-is-ready problem fairly quickly and painlessly.
    These instructions are just for MAC OS CS 5.5
    Quit InDesign.
    Run the uninstaller located in Applications > Utilities > Adobe Installers.
    Download and install the previous tools installer from here: http://www.adobe.com/support/downloads/collection.jsp?collID=4&platform=Macintosh
    Start up InDesign and update each article that you previously touched with the new (now un-installed) version of tools.
    Restart the content viewer on your tablet device, download your folio.
    Groove at how smart you feel.
    Thank Bob.

Maybe you are looking for

  • Why can't i change row and column height in tables?

    a mind-boggling problem to be sure. For some odd reason, I can't use the inspector to type in row/column heights for tables. I can use the up/down arrows, but those only work in increments of 1. I can manually adjust them one by one but as soon as I

  • Patch status in ad_patch

    Hi, I have 1 dbtier and 2 apps servers. One apps tier is using for CM and other serverices but node 2 has everythings else minus CM. When I applied patch on both node it returns 2 rows. Is that correct? BUG_NUMBER BUG_ID CREATION_ 8623536 373661 16-J

  • Reg : modification in sap script driver prog

    Hi folks, need some help regarding sap scripts i havecopied the standard layout medruck to my layout and made some changes. now i have to modify the driver program in the tnapr table the driver prog for medruck is given as sapfm06p but when i see the

  • Disply Popup Message in Dashboard Prompts...

    Hi, I Created Dashboard Prompt with 2column Like Year and Month.when User Select above year like 2013 Then showing msg or popup your select wrong value.At Same Time Month Also When select december(2012) Disply the message. Please Any Help....

  • Error in Export Excise Posting

    Dear All In Export Excise Invoice when i am click on Utilization (F6) (Calculate Tax Tab) the value showing 00. But in first stage all the values are showing properly. Please help me out. Regards kashi