🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 em}Qv3*# ^^l"brPa maplecharacter.java |81N/]EER 查找: I;H9<o5 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); GTl (i* 替换为: Els= :4 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); |"w<CKlQ ========================== %)Dd{|c maplemap.java GuvF 查找: a|uZJ* /** f"N3;,Oc * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone {PtTPz * r$Y!Y#hwQ * @param source MPN=K|* * @param packet z 5+]Z a~ 在前面加上 @!3^/D3 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { 4CT9-2UC synchronized (characters) { z,YUguc| for (MapleCharacter chr : characters) { .6o y>4 if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); a&Du5(r;! } 5O ;^Mk| } $ n[7 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)