🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 iKs @oHW A{3VTe4TV maplecharacter.java 2Fwp\I; 查找: %#5yC|o9Pn getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); =QG@{?JTl 替换为: |ipL.<v7 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); SvE3E$* ========================== jhU'UAn maplemap.java <0R$yB 查找: &d1|B`gL| /** xw[KP [( * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone >/W * y; oPg4 * @param source U tb"6_ * @param packet M.b1=Y 在前面加上 ~MuD`a7#G public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { X9ua&T2(l synchronized (characters) { }.+{M.[} for (MapleCharacter chr : characters) { $Sz@u"ig% if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); v D"4aw } la37cG } ~cC=DeX }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)