🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 "|%'/p 07qL@![! maplecharacter.java $S{]` + 查找: <|c[ #f getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); V0a)9\x(\ 替换为: -?PXj)< getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); $ZfoJR]% ========================== d ~3GEK maplemap.java '(&,i/O 查找: c(!8L\69V} /** 0OPpA Ll * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone }q<%![% * 2` j#eB1 * @param source @Sd l~'" * @param packet (Gpk;DD 在前面加上 N cnL -k. public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { K!onV3mR synchronized (characters) { rhvTV(Bz for (MapleCharacter chr : characters) { =~F.7wq*^ if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); BZ-)XF'4 } d}_%xkC } )\|Bghui }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)