🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 vz1I/IdTd uK1VFW maplecharacter.java !T8sWMY 查找: 3a=\$x@ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); |B64%w>Y 替换为: #YK3Ogb, getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); o=xMaA ========================== mQ:YHtHE.F maplemap.java {SRD\&J[ 查找: BlcsDB =ka /** ,]das * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone +>$Kmy[3 * s'IB{lJ9 * @param source uss!E!_%, * @param packet T1x67 b u 在前面加上 NX:\iJD)1U public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { xj3{Ke`6 synchronized (characters) { f;Ijl 0d@ for (MapleCharacter chr : characters) { t -fmA?\ if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); (XFF}~>B. } >RpMw!NT } AI9922}* }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)