🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 6qA{l_V 5Np. & maplecharacter.java vA{[F7 查找: +1623E getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ( jyJ-qe 替换为: [E /3&3 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); dCyQC A[ ========================== U)o8Tr maplemap.java ffhD+-gTU 查找: }w@nZG ^& /** jH G(d$h * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Yr,1##u * tE>:kx0*3 * @param source |ZKchd8Yq * @param packet 5astv:p,P 在前面加上 5LK>n- public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { Bms?`7}N synchronized (characters) { ~5#7i_%@E} for (MapleCharacter chr : characters) { \%VoX`B if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); sR0nY8@F } y@z#Jw< } MdfkC6P }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)