🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 XqxmvN J =j6rD maplecharacter.java []#>r k~ 查找: 5p]Cwj<u getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ']'V?@H]4 替换为: y<0RgG1qp getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); DX\|*:, ========================== 9cMQ51k)E maplemap.java !\(j[d# 查找: \])-Bp, /** Zk .V * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone f?[0I\V[$ * +jifbf- * @param source +yO^,{8SE * @param packet 'ai3f 在前面加上 'G>gNq public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { W81dLeTZg synchronized (characters) { o)}M$}4 for (MapleCharacter chr : characters) { Z H1UAf if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); w /l\p3n } f?P>P23 } 9=FqI50{ }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)