🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 fW$1f5g" j9R+;u/! maplecharacter.java S;tvt/\!Z 查找: -ZoAbp$ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); |Es,$ 替换为: $ncP#6 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); y;fnC5Q ========================== rQ(u@u; maplemap.java 2>g!+p Ox 查找: q}C;~nMD /** s=Xg6 D * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone d wku6lCk * %zN~%mJG * @param source @+sYwlA~ * @param packet Q"K`~QF" 在前面加上 M4e8PRlI public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ;P^}2i[q>[ synchronized (characters) { C3KAQU for (MapleCharacter chr : characters) { z8j7K'vV1 if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); 7w}]9wCN? } }"STc&1 } [*g'Y;W }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)