🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 oKZ[0(4< _q2`m maplecharacter.java 3Bu D/bs 查找: 1/F<T getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); kvY} yw7 替换为: HE4`9$kVLr getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); nau~i1 ========================== }"!6Xm maplemap.java N2 M?5fF 查找: 8yNRxiW: /** YeR7*[l * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 4"rb&$E * 3ytx"=B% * @param source V/+H_=| * @param packet 4"`=hu Q 在前面加上 Sf#\6X<B public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ]M02>=1 synchronized (characters) { yKel|vM# for (MapleCharacter chr : characters) { )[F46?$vrk if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); /6?tgr } +<vqkc } %l0_PhAB }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)