🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 L!8?2 \5 [\M?8R$) maplecharacter.java OFAqP1o{$ 查找: A[,"jh getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); O>):^$-K% 替换为: <!HDtN getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); uu/7Ie ========================== 90if:mYA maplemap.java ;eEtdoy 查找: m&z%kVsg] /** bg3jo1J * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Zz*mf+ * xg5@;p * @param source ORPl^n- * @param packet #&8pp8wd,} 在前面加上 |`D5XRVbi public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ]A<u eM synchronized (characters) { ToXFMkwY for (MapleCharacter chr : characters) { czsoD)N if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); y2% ^teXk } yURh4@ } ghO//?m }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)