Did you just download the source?
|
I was just compiling my server to see if there was any errors and it comes up with this.
Some help would be nice.Thank you(: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 . . .
Did you just download the source?
No ive had it for 5 months now.
A team viewer?
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
Okay im installing right now.
Alright i have it. What now?
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)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |