🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 n`T 4aDm (u-i{< maplecharacter.java +d6/*}ht 查找: m&DDz+g getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); nJF"[w, ? 替换为: Pq~"`-h7: getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); `?PZvGi ========================== inavi5. maplemap.java .}6 YKKqS 查找: >A|6kzC /** `!HGM> * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 8@|_];9#. * 1sZwW P * @param source 12aAO|]/~ * @param packet W?!(/`J] 在前面加上 +I#5? public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { VY$hg synchronized (characters) { e =Vu; for (MapleCharacter chr : characters) { 2 As 4} if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); G6xdGUM } ]`&EB~K&NY } J4h7] qt }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)