🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 Bvj-LT=) (\}>+qS[ maplecharacter.java ^|M\vO 查找: TO7%TW{L getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); !*_5 B' 替换为: J*?BwmD'8 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); .]}kOw:(# ========================== Bt[OGa(q maplemap.java # Y/.%ch. 查找: m{4e+&S| /** P~$FgAV * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone &rj3UF@hb * MQ>.^]B]o * @param source u4*7n-( * @param packet =X6WK7^0 在前面加上 *u^N_y public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { t2d_XQOK synchronized (characters) { u;rK.3o for (MapleCharacter chr : characters) { #-?pY"N, if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); )xYv$6= } m22M[L(q } R{uq8NA- W }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)