🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 y9<Fv|Ric [X]o` maplecharacter.java gQwmYe 查找: UkKpSL}Q2 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); qo|iw+0Y 替换为: n4,J#h/ getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); H_]kR&F8 ========================== .m51/X&*n maplemap.java x$I>e 查找: H0 t1& : /** M?lr#}d * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone voE c'JET * mD3#$E!A1 * @param source nX'.'3 * @param packet 6 [E" 在前面加上 3\ed4D public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { _aYQ(FO synchronized (characters) { 4Rq"xYGXh for (MapleCharacter chr : characters) { y 6<tV. if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); {\I\4P } ;<H2N0qJ( } K6oLSr+EAK }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)