🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 TvRm 7 u`!Dp$P maplecharacter.java a^O>i#i 查找: bV#j@MJ~0 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); U2Ky4UFm 替换为: lx?v .:zl\ getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); @XcrHnH9 ========================== i.-2 w6 maplemap.java dWhqu68_ 查找: Hbu :HFJ! /** O%&N6U * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 2G3Hi;q18 * aouYPxA` * @param source 1$m{)Io2( * @param packet !l6ht{ 在前面加上 Rdj^k^V+a1 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ps/|^8aGZ synchronized (characters) { @bnw$U`+ for (MapleCharacter chr : characters) { }ZiJHj'< if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); yy3`E}vX7 } 6IJ;od.\b$ } e\*(F3r }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)