🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 eg<pa'Hw L(G92,. maplecharacter.java Elb aFbr 查找: =-#G8L%Q getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ~aTKG|74 替换为: z-r2!^q27 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); h/)_) r.x ========================== </[: 9Cl maplemap.java 'wQv3; 查找: _mJG5(| /** poT&-Ic[ * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone iPj~I * c5% 6Y2W0 * @param source 3<:jx~y> * @param packet Z9K})47T 在前面加上 |(%zb\#9 public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { ?X9UTOx synchronized (characters) { -SCM:j%h for (MapleCharacter chr : characters) { Kct@87z if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); Z[?mc|*x } H:QhrL+7_ } KpHw-6" }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)