🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 3mT6HGSKR W.?EjEx maplecharacter.java \8/$ZEom 查找: #f }ORA getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); GyGF<%nq 替换为: t?h\Af4Tf getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); a4Y43 n ========================== L^??*XEUJ maplemap.java j Kp79]. 查找: :nxBM#:xu /** -x+K#T0Z * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone )uy2,`z * yXCJ? * @param source 4Vv$bbu+ * @param packet W4]jx] 在前面加上 g.COKA public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { b21@iW synchronized (characters) { B0m2SUC,H for (MapleCharacter chr : characters) { 5KL??ao- if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); /v7o!D1G } `bjPOA(g } .r \g] }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)