🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 wGRMv1|lIu rUJIf;Zwo maplecharacter.java X8l|^[2F 查找: {<f |h)r getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); Qq,w6ekr 替换为: (yh zjN~ getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); $CT2E ========================== W|NT*g{;M maplemap.java -u!{8S~wA 查找: i@Vi.oc4[ /** mU d['Z * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone "n,?) * 7RE'KH_$ * @param source :PJ5~7C * @param packet PH6!T/2[ 在前面加上 P*9vs %W public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { rd#O ] synchronized (characters) { puE!7:X7 for (MapleCharacter chr : characters) { }q-* Ls~ if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); zTP|H5HyK } NR </Jm* } ga BVD*> }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)