🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 /SD(g@G, in#lpDa[ maplecharacter.java VhLS*YiSY 查找: B2l5}"{` getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); A Y_GD ^ 替换为: }}gtz-w getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); :'X:cL ========================== s&F& *5W maplemap.java 0Q!/A5z 查找: [SU;U['7 /** _Z_R\ * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone cN%@ nW0i * .0?A0D?sP * @param source J*;= f8 * @param packet nUf0TkA 在前面加上 pI1IDu*_Z public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { xt1Ug~5 synchronized (characters) { G?<uw RV for (MapleCharacter chr : characters) { 1Ms_2 if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); ~UQXt r } r&ux|o+ } *IWWD\U }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)