🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 ~=!d>f~U /z0X maplecharacter.java gG 9e.++: 查找: =)2sehU/ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); pZYcCc>6& 替换为: 5Oa`1?C1 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); tiTJ.uz6 ========================== 9(\eL9^ maplemap.java M<A jtDF% 查找: ~)ZMGx /** 'T '&OA * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone |>Q]q * }k`-n32)| * @param source ]d}h`!: * @param packet $s*nh>@7 在前面加上 6 aE:vR2 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { o|tq&&! < synchronized (characters) { QM"\;l?? for (MapleCharacter chr : characters) { j[^(<R8 if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); Mdj?;'Yv } D.Q9fa&P } ']bpsn }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)