🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 xL}~R7 N)o/}@]6 maplecharacter.java 4NRG{FZ9 查找: %TS8 9/ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); /r Z`e'} 替换为: 31`Eq*Y)4 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); Erq%Ck( ========================== b";D*\=x maplemap.java I9g!#lbl 查找: V8+8?5'l /** ~v^I*/uY * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone dc%0~Nz * "t:9jU * @param source QRAw# * @param packet G ,?l o=m 在前面加上 A v[|G4n public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { 7f#r&~= synchronized (characters) { zjUT:#(k for (MapleCharacter chr : characters) { al{}p if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); Wv-nRDNG } UwVc!Lys } =` KV),\ }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)