🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 <<d # K@1gK<,a maplecharacter.java G>vK$W$f N 查找: fU$Jh/#": getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); s 7 nl 替换为: G]aey>) getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); m=9b/Nr4 ========================== RM_%u=jC maplemap.java _@B? 查找: yy{YduI /** q("XS * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Gn 9oInY1 * KU$,{Sn6@ * @param source j%'2^C8 * @param packet 4Px|:7~wT8 在前面加上 QY)p![6Fj public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { G;cC!x< synchronized (characters) { =a,qRO for (MapleCharacter chr : characters) { fu\j if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); u|IS7>Sm } x*z[(0g! } +C!GV.q[ }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)