	public boolean writeMoP(){
		BitPack bitPack = new BitPack(this);
		bitPack.write(0);
		bitPack.writeGuidMask(new byte[] {1, 3, 2});
		bitPack.write(character.getName().length(), 6);
		bitPack.writeGuidMask(new byte[] {6, 4, 0});
		bitPack.write(0);
		bitPack.writeGuidMask(new byte[] {5, 7});	
		bitPack.flush();
		bitPack.writeGuidBytes(new byte[] {1});
		this.putString(character.getName());
		bitPack.writeGuidBytes(new byte[] {0, 7});
		this.putInt(character.getCharRace());
		this.putInt(0); 
		this.putInt(1); 
		this.putInt(character.getCharClass());
		bitPack.writeGuidBytes(new byte[] {4, 6, 5});
		this.putInt(1);
		bitPack.writeGuidBytes(new byte[] {3, 2});
		Log.log("realm id: " + realm.id);
		this.wrap();
		return true;
	}

	public boolean writeMoP(){
		BitPack bitPack = new BitPack(this);
		bitPack.write(0);
		bitPack.writeGuidMask(new byte[] {1, 3, 2});
		bitPack.write(character.getName().length(), 6);
		bitPack.writeGuidMask(new byte[] {6, 4, 0});
		bitPack.write(0);
		bitPack.writeGuidMask(new byte[] {5, 7});	
		bitPack.flush();
		bitPack.writeGuidBytes(new byte[] {1});
		this.putString(character.getName());
		bitPack.writeGuidBytes(new byte[] {0, 7});
		this.put((byte) character.getCharRace());
		this.put((byte) 0); 
		this.put((byte) 1); 
		this.put((byte) character.getCharClass());
		bitPack.writeGuidBytes(new byte[] {4, 6, 5});
		this.putInt(1);
		bitPack.writeGuidBytes(new byte[] {3, 2});
		Log.log("realm id: " + realm.id);
		this.wrap();
		return true;
	}
