🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 |>>^Mol ,I,Zl.5 maplecharacter.java A$;*O) 查找: )]m4FC: getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); h_g"F@ 替换为: #ZHKq7 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); ?3v-ppw% ========================== 7&L8zl|K maplemap.java ``kesz 查找: ?;w\CS^Qu /** `;m0GU68 * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone UM0#S} * j2 >WHh * @param source \D#+0 * @param packet -:b<~S[ 在前面加上 UyF;sw public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { N;=J)b|9 synchronized (characters) { ?4R q + for (MapleCharacter chr : characters) { l9H-N*Wx if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); 8Kn}o@Yd } jX t5.9 t } X3ZKN; }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)