🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 hA"z0Fszh jin?;v maplecharacter.java _Nbh Wv 查找: MP 8s} getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); E|B1h!!\c 替换为: L w/ZKXDU2 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); U3c !*i ========================== !{oP'8Ax$ maplemap.java NsSl|m 查找: SY2((!n._ /** !P _'n * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone l{\@+m * sE(mK<{pk * @param source N%?8Bm~dP * @param packet FCYZ9L5uF 在前面加上 j%*<W> O public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { hN:2(x synchronized (characters) { t4iV[xl3F for (MapleCharacter chr : characters) { P$;_YLr if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); v|>'m#Ln2 } lGX_5R } 'cbD;+YH }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)