🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 2,Aw6h; h<Ct[46,S maplecharacter.java nQOzKw<j% 查找: Q:j~ kutS| getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); !F:mDZeY 替换为: dVPY07P getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); .VR~[aD ========================== Bq;GO maplemap.java a/v]E]=qI 查找: +1a3^A\ /** +I\54PBws * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone QH,Fw$1 * ]h#QA; * @param source 1:iB1TclP * @param packet .l hS 在前面加上 <-mhz`^ public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { id588Y78 synchronized (characters) { ?@z/#3b for (MapleCharacter chr : characters) { it-]-=mqb if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); !PA ><F } V.9p4k` } !>"fDz<w` }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)