🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 .%IslLZ >OK#n)U` maplecharacter.java t!jYu<P 查找: Kk=LXmL2 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ~g7m3 替换为: QXs8:;T getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); J#''q"rZ ========================== KzNm^^#/$A maplemap.java B)M&\: _ 查找: _lX8K:C( /** Z|I-BPyn * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone l[oe*aYN7 * zW5C1:.3K * @param source ^^U%cu Kg * @param packet s9i|mVtm8 在前面加上 b!^@PIX public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ;}K62LSR synchronized (characters) { >g]ON9CGH for (MapleCharacter chr : characters) { a ~opE!|m if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); >La><.z~ } N'QqJe7Z } &<Zdyf?[Ou }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)