🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 2^T`> ?{X U+'h~P'4 maplecharacter.java GN@(!V#/4 查找: pTIE.:g( getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ~t.M!vk 替换为: U8icP+Y getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); ahqsbNu1 ========================== i9quP"<9 maplemap.java $C~OV@I 查找: %Astfn(U{4 /** <hM`]/J55 * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone o%$'-N * XonI * @param source rT{+ h}vO * @param packet K9+%rqC.|` 在前面加上 Tq`rc"&7u public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { R[{s\ synchronized (characters) { P xiJ R[a for (MapleCharacter chr : characters) { (| X? if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); I,wgu:}P# } v{*# } >Mc,c(CvU }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)