🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 ODGOWw0 mSWh'1]b.~ maplecharacter.java EZm6WvlxSI 查找: &{s`=IeN getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); '`$US;5 替换为: 0n<t/74 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); GC{)3)_ t ========================== oQrkd: maplemap.java 5"f')MKUV9 查找: F5CV<-jB /** ,j4 ;:F * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone htn "rY( * py,B6UB5 * @param source G/F0)M * @param packet uT5sLpA|6 在前面加上 6%mFiX public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { BF*]l8p synchronized (characters) { t~xp&LQiY for (MapleCharacter chr : characters) { !l7eB@O if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); -{ Ng6ntS } xh7#\m_U8 } _T\~AwVc< }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)