🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 lN-[2vT< HAi'0%" maplecharacter.java aybfBC 查找: ]1XJQW@gF getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); l"-F<^ U 替换为: =H\ig%%E@ getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); IO4 8sV } ========================== ]_ON\v1 maplemap.java ct3^V M&/ 查找: CAPPOh /** zU7/P|Dw+ * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone X!w&ib- * ;1&7v * @param source z^q ~|7 * @param packet du:%{4 在前面加上 [MkXQwY public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { l]GUQcN= synchronized (characters) { \D]H>i$ for (MapleCharacter chr : characters) { qL03iV#h*V if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); 8@f=GJf } e{dYLQd } {U,q!<@mq }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)