🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 5vso%}c 9#;UQ.qA maplecharacter.java Pyx$$cj 查找: ^{W#ut>IN getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ^:RDu q 替换为: /j1p^=ARV getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); '0xJp|[xVP ========================== [}OL@num maplemap.java Y%V|M0 0` 查找: ;#$zHR /** \O7?!i * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone D?w-uR%Y * drQioH- * @param source {:3XP<hqN * @param packet `f2m5qTP% 在前面加上 U "qO&;m public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { o\luE{H .? synchronized (characters) { 0CD2o\`8 for (MapleCharacter chr : characters) { ^gdg0y!5~ if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); JqdNO:8 } (pjmE7`"P } d%istFL) }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)