🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 g LpWfT29V /%xK-z,V maplecharacter.java ;F5B)&/B 查找: t9K.Jc0 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); *D<sk7 替换为: 1>1|>% getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); 2tWUBt\,g ========================== Ccc6 ko_ maplemap.java L~mL9[( , 查找: N_gjOE`x5 /** w-\fCp ) * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone ~MhPzu&B * -\NB*|9m| * @param source 3ZZJYf= * @param packet dk(-yv' 在前面加上 x<ENN>mW1 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { uxh4nyE synchronized (characters) { c,D'Hl6(% for (MapleCharacter chr : characters) { DdSUB if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); `Z@wWs } p{-1%jQ}] } |LNXu }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)