🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 96V@+I "PFczoRZ maplecharacter.java xgdS]Sz 查找: ;-aF\}D@n getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); %NyV2W=~X 替换为: L9lN AiOH getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); knX*fp ========================== rLkUIG maplemap.java )+Nm@+B 查找: S_Tv Ix/7& /** PIZnzZ@Z; * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 0XkLWl|k * rP5&&Hso * @param source TO(2n8'fdO * @param packet v?BVUH>#9 在前面加上 5hhiP2q public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { Fi7G S; synchronized (characters) { 4t C-msTf for (MapleCharacter chr : characters) { p"xti+2, if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); $ 8"we } P^lzl:| } t)#dR._q }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)