🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 !v^D j'] W>"i0p maplecharacter.java lU@ni(69d 查找: 9TF[uC)-2 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); Nk7Q 替换为: ^xq%P2s0 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); a`T{5*@ ========================== k8h$#@^ maplemap.java tDi<n} 查找: ,xGlWH wrY /** 39OZZaWL * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone DzYno-]A] * .G^.kg , * @param source -X |G * @param packet s~GO-v7 在前面加上 '?-GZ0oM public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { f[.]JC+, synchronized (characters) { Dr;@) for (MapleCharacter chr : characters) { 6gp3n;D if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); xT@\FwPr } MPT[f } 4Q$\hO3b }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)