🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 K;p<f{PE :KSor}t maplecharacter.java 6@q[tN7_^ 查找: f&}A!uLe4x getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); N4mJU'_{ 替换为: neh;`7~5@K getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); d-;9L56{P ========================== ~59`S#ax/l maplemap.java x$GsDV 查找: d:hL )x /** 12sD|j * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 8i;)|z7 * `%M-7n9Y * @param source ] 5v4^mk * @param packet IT`=\K/[4 在前面加上 VS|("** public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { eQFb$C]R}y synchronized (characters) { 8A^jD(| for (MapleCharacter chr : characters) { UIOEkQ\Wl if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); ^mueFw}\ } 8ts+'65|F } BwJ^_:(p~ }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)