🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 y>JSo9[@ \2 `|eo maplecharacter.java KA9v?_@{ F 查找: Dgz^s^fxU getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); " ,45p@ 替换为: 14 hE<u getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); ]M&KUgz ========================== ;c# jO:A5 maplemap.java 5k<0>6;XH 查找: vq5o?$:- /** IKeO&]k * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Cl!qdh6 * (5=B^9{R * @param source &>Nw>V * @param packet U!524"@%U` 在前面加上 V.kf@ public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { Uj)`(}r synchronized (characters) { Z2I2 [pA for (MapleCharacter chr : characters) { mA\}zLw+r9 if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); ,D{D QJ(B } ?Lquf&`vP } ggzcANCD< }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)