🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 X1&c?T1 %[ oox;8d4}y maplecharacter.java wkD"EuW( 查找: p$$0**p!` getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); 9y;zk$O8 替换为: -g4 {:!*D getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); >oyZD^gj ========================== r@G34QC+ maplemap.java @KU^B_{i 查找: jB\Knxm v /** :?\Je+iA * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone s<8|_Dt * X7)B)r}AG * @param source ['aiNhlbt * @param packet @.h;k4TD 在前面加上 S\6.vw!' public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { h?vt6t9 synchronized (characters) { GO6uQ}; for (MapleCharacter chr : characters) { 9Hs5uBe if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); W;.LN<bx } LC0g"{M } F2',3 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)