🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 4P jC[A* {ppzg`G\ maplecharacter.java ,.9k)\/V 查找: }C4wED. getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); u}3D'h 替换为: GXC,p(vbE getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); txE=AOY5 ========================== 4Hy/K^Ci maplemap.java DK)T2{: 查找: <yl%q*gls /** 17$'r^t,S * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Rjp7H * ,2YZB*6h{ * @param source M8nfbc^ * @param packet 76H>ST@G| 在前面加上 `6$|d,m5 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ja^_Lh9 synchronized (characters) { V56WgOBxz for (MapleCharacter chr : characters) { 5EU~T.4C< if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); !]5}N^X } JTIt!E}P } p<1y$=zS }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)