🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 c"%_]7 |h^G $guw maplecharacter.java =B/s HN 查找: 1eE]4Z4Q getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); Pq{YZMr 替换为: Y-neD?V N getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); 9AVK_ ========================== evndw> maplemap.java DiGUxnP 查找: 5H'b4Cyi` /** HonAK * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone $ sA~p_] * 6S! lD= * @param source eSvc/ CU * @param packet +e\:C~2f28 在前面加上 2kp|zX( public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { :rvO8.\ synchronized (characters) { }Yo15BN+ for (MapleCharacter chr : characters) { WRLu3nBx if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); A_6/umF[ZA } '$kS]U } |04}zU%N }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)