🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 *=xr-!MEk 3iU=c&P maplecharacter.java A?0Nm{O;3v 查找: U%/+B]6jP getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); #s9aI_ 替换为: f)<6 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); 2+WaA, ========================== CNx8] _2 maplemap.java CU~PT. 查找: &,)&%Sg[ /** _WbxH * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone OcO3v'& * $Z>'Jp * @param source (QiAisE * @param packet K|s,ru 在前面加上 A<fG}q1# public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { kSo"Ak! synchronized (characters) { fd9k?,zM for (MapleCharacter chr : characters) { [.}oyz;}N if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); o,wUc"CE } [KQ6Ta. } \^1E4C\": }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)