🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 z7fp#>uw 0x@6^%^\ maplecharacter.java Pd_U7&w,5 查找: *nkoPVpC getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); i9,geQ7d 替换为: ivJ@=pd)B getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); <Zmg# ========================== SE1=>S%p maplemap.java 'a@/vx&J 查找: qm/22:&v5 /** ek*rp`y] * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone -&zZtDd F * ) vE~'W * @param source Sw ig;` * @param packet Rl?_^dPx 在前面加上 ;DfY#- public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { G3Hx!YW synchronized (characters) { YJT&{jYi for (MapleCharacter chr : characters) { 286jI7 T if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); j8^I z } vApIHI?- } L>Fa^jq5 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)