🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 zI.:1(, @%rj1Gn maplecharacter.java F tay8m@f 查找: 6(V"xjK getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); !X+}W[Ic^ 替换为: -5<G^AS getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); ivJTE ========================== i#(+Kxr]> maplemap.java +"JQ5~7 查找: `2@f=$B /** RW^e#z>m"E * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone aHBM9 %gV * |!*abc\`(` * @param source 5 IFc" * @param packet R|R3Ob.e 在前面加上 &f<Ltdw public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { $c7Utms synchronized (characters) { osI0m7ws: for (MapleCharacter chr : characters) { >W^)1E,Qh if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); X oh@ (% } QUz_2rN^ } ]vZ}4Xno }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)