🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 [[KIuW~ot PB!*&T'! maplecharacter.java P*kC>lvSv 查找: HQ^:5XH getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); z}2 替换为: )`}4rD^b getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); D>K=D" ========================== td|O #R maplemap.java ^Kn:T`vB 查找: @<B$LJ|jdG /** w s7LDY&( * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone W+#Zmvo * jWh}cM= * @param source #A^(1 * @param packet 3'[ g2JR 在前面加上 WR}<^ax public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { sF1j4 NC synchronized (characters) { pR3K~bx^ for (MapleCharacter chr : characters) { |4F'Zu}g> if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); U9h@1: } %^bN^Sq - } "PC9[i }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)