🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 R&Ss ET. Js^(mRv= maplecharacter.java .yHi"ss3 查找: Kw(S<~9-@ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); vy-q<6T}:p 替换为: GK[Hs1/ getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); rdsZ[ii ========================== T.W^L'L` maplemap.java 'EN80+xYX 查找: ~=9S AJr] /** tT+W>oA/M * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone `6(Zc"/ \m * Z29LtKr * @param source *JAC+<~d * @param packet Y$9x!kV 在前面加上 '(-H#D.oy' public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { .>S1do+ synchronized (characters) { R ^ZOcONd- for (MapleCharacter chr : characters) { 53>(2 _/[r if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); @"H7Q1Hg!* } YF>15{H } 1jE {]/Y7& }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)