🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 R8axdV9( OLv( maplecharacter.java edch'H^2+P 查找: E~24b0<7 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); 15870xS 替换为: St?vd+(> getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); Z)HQlm ========================== 6oC(09 maplemap.java aJ2-BRn 查找: UJQ!~g.y] /** #3.\}d) * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone TJCoID7a8 * w>#~_x,` * @param source z E{.oi * @param packet |_-FQ~Hf F 在前面加上 ]wP)!UZ public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { UO</4WJ synchronized (characters) { ,Ti#g8j for (MapleCharacter chr : characters) { U*zjEY:A if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); D[<8(~VP } V&gUxS]* } 1=s%.0 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)