🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 ,Q>RtV z&x3":@u< maplecharacter.java $T%~t@Cv1 查找: \n}@}E L getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); b!hs|emo; 替换为: &Bfgvws; getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); R3,O;9i ========================== Aq~}<qkIF+ maplemap.java .W/#$s|X\ 查找: `N.^+Mvx- /** (s?Rbd * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone M,V~oc5 * c"H59 jE * @param source =k+nC)e * @param packet 7%g8&d 在前面加上 !da[#zK public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { xLp<G(; synchronized (characters) { x;; = +)Gg for (MapleCharacter chr : characters) { )!tqock*v if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); ZQV,gIFys } KDQqN]rg } 52H'aHO1 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)