🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 C@Wm+E~;8 MR+ndB< maplecharacter.java I S!B$ 查找: RqcX_x(p getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); vQIoj31 替换为: KZDB \T getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); :5CwRg ========================== #Va@4<4r maplemap.java "&C'K 查找: 2I>C A[qp /** {kZhje^$vi * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone i[jAAr$ * 6Ajiz_~U * @param source 5RlJybN"o * @param packet %A W 在前面加上 NO9Jre public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { Q) FL| synchronized (characters) { [#2= w for (MapleCharacter chr : characters) { vx-u+/\ if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); P5aHLNit } <ygkK5#q } k87B+0QEL }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)