public static MaplePacket showAllianceMembers(MapleCharacter chr) {
	MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
	mplew.writeShort(SendPacketOpcode.ALLIANCE_OPERATION);
	mplew.write(0x0D);
	MapleAlliance az = chr.getGuild().getAlliance(chr.getClient());
	int e = 0;
	for (int u = 0; u < 5; u++) {
	    if (az.getGuilds().get(u) != null) {
		e++;
	    }
	}
	mplew.writeInt(e);//ammount of guilds joined
	chr.setGuildRank(chr.getGuild().getMGC(chr.getId()).getGuildRank());
	for (int i = 0; i < 5; i++) {
	    MapleGuild g = az.getGuilds().get(i);
	    if (g != null) {
		mplew.writeInt(g.getId());
		mplew.writeMapleAsciiString(g.getName());
		for (int a = 1; a <= 5; a++) {
		    mplew.writeMapleAsciiString(g.getRankTitle(a));
		}
		g.addMemberData(mplew);

		mplew.writeInt(g.getCapacity());
		mplew.writeShort(g.getLogoBG());
		mplew.write(g.getLogoBGColor());
		mplew.writeShort(g.getLogo());
		mplew.write(g.getLogoColor());
		mplew.writeMapleAsciiString(g.getNotice());
		mplew.writeInt(g.getGP());
		mplew.write(HexTool.getByteArrayFromHexString("0F 03 00 00"));
	    }
	}
	return mplew.getPacket();
    }