🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 xIc||o$ MowAM+?^} maplecharacter.java US's`Ehx 查找: C_;nlG6 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); <7T}b95 替换为: X%99@ qv getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); tpzh ========================== O.Te"=^"F maplemap.java lV3k4i RH 查找: s 7%iuP /** P1L+Vnfu * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 9;n*u9< * bFG?mG: * @param source w|I5x}ZFG * @param packet ZLVgK@l 在前面加上 J7dHD(R8 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { 1H%p|'FKA synchronized (characters) { 3KeY4b!h for (MapleCharacter chr : characters) { S+Ia2O)BA if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); qfAnMBM1@ } '8R5Tl } Pdh`Gu1:3 }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)