🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 "u<jbD Gg}5$||^C maplecharacter.java QJ a4R 查找: V;iL[ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); p*pn@z 替换为: B:O+*3j getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); 0 OAqA?Z ========================== 66~e~F}z maplemap.java |"CJ 查找: ZI58XS+ /** GB<R7J * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 0{0;1.ZP * 1 [fo'M * @param source e{fZ}`=7y * @param packet #)_J)/h 在前面加上 *MYt:ms public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { h4XcKv+ synchronized (characters) { y _'e yR@) for (MapleCharacter chr : characters) { ;23=p=/h if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); ezcS[r } X)Dqeb6 } t7|MkX1 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)