🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 r~['VhI!;E ~P-mC@C maplecharacter.java >m\(6x8RE 查找: RViAwTvY getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); p!%pP}I 替换为: v]UwJz3< getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); h<QY5=SF ========================== CqC`8fD1 maplemap.java xAm6BB c 查找: ]`WJOx4 /** Q3?F(ER@ * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone $F.a><1rY * Nh+ H 9 * @param source Q"#J6@ * @param packet #RLt^$!H 在前面加上 &rR2,3r= public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { X:{!n({r= synchronized (characters) { JBZ@'8eqi] for (MapleCharacter chr : characters) { %?/X=}sE if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); seJ^s@H5l } @=u3ZVD } m1A J{cs }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)