17.2 HEllo packet changes ?
hi
I got it hanging now on the writeUTF(guid) ...
anyone find what changed on the hello ?
public void writeToDataOutput(DataOutput write)
throws IOException
{
write.writeUTF(buildVersion);
write.writeInt(gameId);
write.writeUTF(guid);
write.writeUTF(password);
write.writeUTF(secret);
write.writeInt(keyTime);
if(key != null)
{
write.writeShort(key.length);
write.write(key);
} else
{
write.writeShort(0);
}
if(unkStr != null)
{
byte buf[] = unkStr.getBytes("UTF-8");
write.writeInt(buf.length);
write.write(buf);
} else
{
write.writeInt(0);
}
write.writeUTF(pk);
write.writeUTF(Tq);
write.writeUTF(H);
write.writeUTF(playPlatform);
if(idkey != null)
{
write.writeShort(idkey.length);
write.write(idkey);
} else
{
write.writeShort(0);
}
}