🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 gkdd#Nrk |A_yr/f maplecharacter.java =;.#Bds 查找: Q ^%+r"h getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); 9/OB!<*V| 替换为: X4emhB getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); U[\aj;g) ========================== c?i=6CdD' maplemap.java _ukKzY 查找: J]8nbl /** i7:R4G(/# * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone }-H<wQ&x * g>h5NrDN * @param source |I7-7d-;/ * @param packet `A5^D 在前面加上 e[fzy0 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { "j5b$T0P> synchronized (characters) { c yq]-B for (MapleCharacter chr : characters) { vmI]N if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); .YquOCc( } .W{\wkn } } FcWzi }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)