🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 ]#x!mZ! pu3ly&T#a_ maplecharacter.java 9O1#% 查找: n o).70K getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); WCJ$S\# 替换为: HuzHXn) getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); LVt{` ========================== K)=<hL maplemap.java ( CDwl, 查找: T$)N2]FE /** VjsQy>5m * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone \qk+cK;+ * >,;, 6|S * @param source x=]PE}<E * @param packet m$6u K0 在前面加上 `_M*2(rt public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { +a7J;-| synchronized (characters) { AM?62 for (MapleCharacter chr : characters) { 2GkJ7cL if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); <Wqk5mR } 7S'3U}Y>VX } A"ApWJ3 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)