My HelloPacket is correct, i can log in and enter realms but when i enter vault or dungeons RR say
Code:
HELLO byte length is 400 after parsing, but was 432 before parsing. Try updating your packets.xml
Code:
package realmrelay.packets.client;
import java****.DataInput;
import java****.DataOutput;
import java********Exception;
import realmrelay.packets.Packet;
public class HelloPacket extends Packet {
public String buildVersion;
public int gameId;
public String guid;
public String password;
public String secret;
public int randomInt1;
public int randomInt2;
public int keyTime;
public byte[] key = new byte[0];
public byte[] obf0 = new byte[0];
public byte[] string = new byte[0];
public String obf1;
public String obf2;
public String obf3;
public String obf4;
public String obf5;
@
Override
public void parseFromInput(DataInput in ) throws IOException {
this.buildVersion = in.readUTF();
this.gameId = in.readInt();
this.guid = in.readUTF();
this.randomInt1 = in.readInt();
this.password = in.readUTF();
this.randomInt2 = in.readInt();
this.secret = in.readUTF();
this.keyTime = in.readInt();
this.key = new byte[in.readShort()];
in.readFully(this.key);
this.obf0 = new byte[in.readInt()];
in.readFully(this.obf0);
this.obf1 = in .readUTF();
this.obf2 = in .readUTF();
this.obf3 = in .readUTF();
this.obf4 = in .readUTF();
this.obf5 = in .readUTF();
}
@
Override
public void writeToOutput(DataOutput out) throws IOException {
out.writeUTF(this.buildVersion);
out.writeInt(this.gameId);
out.writeUTF(this.guid);
out.writeInt(this.randomInt1);
out.writeUTF(this.password);
out.writeInt(this.randomInt2);
out.writeUTF(this.secret);
out.writeInt(this.keyTime);
out.writeShort(this.key.length);
out.write(this.string);
out.writeInt(this.obf0.length);
out.write(this.obf0);
out.writeUTF(this.obf1);
out.writeUTF(this.obf2);
out.writeUTF(this.obf3);
out.writeUTF(this.obf4);
out.writeUTF(this.obf5);
}
}
Is anyone got the same issue ? Why the Hello packet change ?
@DeVoidCoder