Thread: Weird error.

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Weird error. 
    Registered Member enjoi pker's Avatar
    Join Date
    Jul 2008
    Posts
    31
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I was just compiling my server to see if there was any errors and it comes up with this.

    Code:
    Started!
    net\Dayz\Core\client.java:7299: 'try' without 'catch' or 'finally'
            try {
            ^
    net\Dayz\Core\client.java:7501: 'catch' without 'try'
            } catch (java.lang.Exception __ex) {
              ^
    net\Dayz\Core\client.java:7501: ')' expected
            } catch (java.lang.Exception __ex) {
                                        ^
    net\Dayz\Core\client.java:7501: not a statement
            } catch (java.lang.Exception __ex) {
                    ^
    net\Dayz\Core\client.java:7501: ';' expected
            } catch (java.lang.Exception __ex) {
                                             ^
    5 errors
    Finished!
    Press any key to continue . . .
    Some help would be nice.Thank you(:


    Crystalpk909:
    Working on being a great zerker pure!
    Lunar Diplomacy is my next objective.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2009
    Age
    28
    Posts
    1,579
    Thanks given
    4
    Thanks received
    23
    Rep Power
    0
    Did you just download the source?
    Reply With Quote  
     

  3. #3  
    Registered Member enjoi pker's Avatar
    Join Date
    Jul 2008
    Posts
    31
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    No ive had it for 5 months now.


    Crystalpk909:
    Working on being a great zerker pure!
    Lunar Diplomacy is my next objective.
    Reply With Quote  
     

  4. #4  
    Can I Be Vet Pls?

    Trytohaxme's Avatar
    Join Date
    May 2008
    Age
    31
    Posts
    2,401
    Thanks given
    1
    Thanks received
    21
    Rep Power
    1478
    Do you have team viewer, I may be able to help you.
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member enjoi pker's Avatar
    Join Date
    Jul 2008
    Posts
    31
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    A team viewer?


    Crystalpk909:
    Working on being a great zerker pure!
    Lunar Diplomacy is my next objective.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Oct 2009
    Age
    28
    Posts
    1,579
    Thanks given
    4
    Thanks received
    23
    Rep Power
    0
    Teamviewer is a program that can let someone else look at your computer from their computer, you have to download it, here is the download site: http://www.teamviewer.com/index.aspx
    Reply With Quote  
     

  7. #7  
    Registered Member enjoi pker's Avatar
    Join Date
    Jul 2008
    Posts
    31
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Okay im installing right now.


    Crystalpk909:
    Working on being a great zerker pure!
    Lunar Diplomacy is my next objective.
    Reply With Quote  
     

  8. #8  
    Registered Member enjoi pker's Avatar
    Join Date
    Jul 2008
    Posts
    31
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Alright i have it. What now?


    Crystalpk909:
    Working on being a great zerker pure!
    Lunar Diplomacy is my next objective.
    Reply With Quote  
     

  9. #9  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    4,419
    Thanks given
    1,184
    Thanks received
    757
    Rep Power
    3098
    Lol what a fail thread.
    Show the code on line 7299, the whole code.
    Reply With Quote  
     

  10. #10  
    Registered Member enjoi pker's Avatar
    Join Date
    Jul 2008
    Posts
    31
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I believe this is the whole code.

    Code:
        public void run() {
            // we just accepted a new connection - handle the login stuff
            isActive = false;
            long serverSessionKey = 0, clientSessionKey = 0;
    
            // randomize server part of the session key
            serverSessionKey = ((long) (java.lang.Math.random() * 99999999D) << 32)
                    + (long) (java.lang.Math.random() * 99999999D);
    
            try {
                fillInStream(1); // Anti-nuller by Slysoft
                // this is part of the usename. Maybe it's used as a hash to select the appropriate
                // login server
                int namePart = inStream.readUnsignedByte();
    
                for (int i = 0; i < 8; i++) {
                    out.write(0);
                }        // is being ignored by the client
    
                // login response - 0 means exchange session key to establish encryption
                // Note that we could use 2 right away to skip the cryption part, but i think this
                // won't work in one case when the cryptor class is not set and will throw a NullPointerException
                out.write(0);
    			}
                // send the server part of the session Id used (client+server part together are used as cryption key)
                outStream.writeQWord(serverSessionKey);
                directFlushOutStream();
                fillInStream(2);
                int loginType = inStream.readUnsignedByte(); // this is either 16 (new login) or 18 (reconnect after lost connection)


    Crystalpk909:
    Working on being a great zerker pure!
    Lunar Diplomacy is my next objective.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •