🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 & ;5f/ 9HN&M*} maplecharacter.java rC|nE=i 查找: a>4q"IT6 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); -}T7F+ 替换为: rusM]Z getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); 1S(oi ========================== -,/6 Wn'j maplemap.java n7ZJ< ~wl 查找: J_&cI%. /** @(=?x:j * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone ts[8;<YD * w-)JCdS6Tb * @param source emJZ+:% * @param packet lgVT~v{U`n 在前面加上 `R (N3 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { *$VeR(QN synchronized (characters) { In%FOPO for (MapleCharacter chr : characters) { Tg@G-6u0c if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); [?<v|k } #+6j-^<_6 } YSB> WBS-< }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)