🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 -1Jg?cPzk ?M$.+V{a maplecharacter.java +U:$(UV'A 查找: TH)"wNa getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); -_ I_W& 替换为: $JS L-NkE getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); .=U#eHBdAQ ========================== d; [C6d maplemap.java Gk967pC 查找: zh4#A <e /** %/EVUN9= * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone D>|H 2 * _t:$XJ`bTk * @param source K7$x<5 +) * @param packet 9K/HO!z 在前面加上 r)qnl9?;`] public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { zFfoqb#*g synchronized (characters) { J2d.f}- for (MapleCharacter chr : characters) { k[0-CB if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); R|JC1f8P5 } `id9j } QU#w%| }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)