🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 \ j.x0/; 1 ^g t1o maplecharacter.java |+U<S~ 查找: HP.E3yYK getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); l/y]nw 替换为: [~\PQYm' getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); )s9',4$eK< ========================== m uW!xY maplemap.java :y2p@#l# 查找: dJ:MjQG`W /** \#'TNmS * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone D^U: ih * \tyg(srw0 * @param source z^nvMTC * @param packet #&8}<8V 在前面加上 O8U<{jgAG public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { 0lM{l? synchronized (characters) { 39 Y(!q for (MapleCharacter chr : characters) { B$?qQ|0:= if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); 8wH.et25k } mfny4R1_ } Zs2-u^3& }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)