🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 RD,`D! ve'h z{W maplecharacter.java 6$`8y,TMSt 查找: WG1x:,- getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); !WAbO(l 替换为: 3rOv j&2 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); Pq !\6s@ ========================== i]YH"t8GY maplemap.java z!?xz 查找: \iO ,y: /** rfoLg * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone @#;~_?$?C * 8BBuYY{ * @param source l8jm7@.E * @param packet y1@{(CDp" 在前面加上 &@nI(PXv public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { [&"`2n synchronized (characters) { j#.Aiy:, for (MapleCharacter chr : characters) { lP0'Zg( if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); 3-z57f,}6~ } dd_n|x1 } /2WGo- }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)