public static byte[] cancelHoming() {
            MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();

            mplew.writeShort(SendPacketOpcode.CANCEL_BUFF.getValue());

            PacketHelper.writeSingleMask(mplew, MapleBuffStat.HOMING_BEACON);
            mplew.write(0);//v112


            return mplew.getPacket();
        }

//public static byte[] giveForeignBuff(int cid, Map<MapleBuffStat, Integer> statups, MapleStatEffect effect) {
        //MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
// mplew.writeShort(SendPacketOpcode.GIVE_FOREIGN_BUFF.getValue());
        //mplew.writeInt(cid);
// PacketHelper.writeBuffMask(mplew, statups);
        //for (Map.Entry statup : statups.entrySet()) {
// if ((statup.getKey() == MapleBuffStat.SHADOWPARTNER) || (statup.getKey() == MapleBuffStat.MECH_CHANGE) || (statup.getKey() == MapleBuffStat.DARK_AURA) || (statup.getKey() == MapleBuffStat.YELLOW_AURA) || (statup.getKey() == MapleBuffStat.BLUE_AURA) || (statup.getKey() == MapleBuffStat.GIANT_POTION) || (statup.getKey() == MapleBuffStat.SPIRIT_LINK) || (statup.getKey() == MapleBuffStat.PYRAMID_PQ) || (statup.getKey() == MapleBuffStat.WK_CHARGE) || (statup.getKey() == MapleBuffStat.SPIRIT_SURGE) || (statup.getKey() == MapleBuffStat.MORPH) || (statup.getKey() == MapleBuffStat.DARK_METAMORPHOSIS)) {
        //mplew.writeShort(((Integer)statup.getValue()).shortValue());
        //mplew.writeInt(effect.isSkill() ? effect.getSourceId() : -effect.getSourceId());
// } else if (statup.getKey() == MapleBuffStat.FAMILIAR_SHADOW) {
// mplew.writeInt(((Integer)statup.getValue()).intValue());
/// mplew.writeInt(effect.getCharColor());
// } else {
        //mplew.writeShort(((Integer)statup.getValue()).shortValue());
// }
// /}
// mplew.writeShort(0);
        //mplew.writeShort(0);
        //mplew.write(1);
        //mplew.write(1);
        //return mplew.getPacket();
// }