///////////////////////////////////////////////////////////
mw!F{pw
// DeJaved by mDeJava v1.0. Copyright 1999 MoleSoftware. //
mw!F{pw
// To download last version of this software: //
mw!F{pw
// http://molesoftware.hypermatr.net //
mw!F{pw
// e-mail:[email protected] //
mw!F{pw
///////////////////////////////////////////////////////////
package net.sf.l2j.gameserver.clientpackets;
import java.io.IOException;
mw!F{pw
import java.io.PrintStream;
mw!F{pw
import net.sf.l2j.gameserver.ClientThread;
mw!F{pw
import net.sf.l2j.gameserver.Connection;
mw!F{pw
import net.sf.l2j.gameserver.serverpackets.KeyPacket;
// Referenced classes of package net.sf.l2j.gameserver.clientpackets:
mw!F{pw
// ClientBasePacket
public class ProtocolVersion extends ClientBasePacket
mw!F{pw
{
public ProtocolVersion(byte rawPacket[], ClientThread client)
mw!F{pw
throws IOException
mw!F{pw
{
mw!F{pw
super(rawPacket);
mw!F{pw
long version = readD();
mw!F{pw
System.out.println("ProtocolVersion");
mw!F{pw
System.out.println("Revision:" + version);
mw!F{pw
if(version == 377L);
mw!F{pw
Connection con = client.getConnection();
mw!F{pw
KeyPacket pk = new KeyPacket();
mw!F{pw
pk.setKey(con.getCryptKey());
mw!F{pw
con.sendPacket(pk);
mw!F{pw
con.activateCryptKey();
mw!F{pw
}
mw!F{pw
}
mw!F{pw
0.1