🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 C _8j:Z& .Qd}.EG maplecharacter.java X_D6eYF 查找: luW <V> getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); z*6$&sS\> 替换为: 9[z'/U.Bn getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); @&?a]>L ========================== U?8i'5) maplemap.java 6 -]>]Hr- 查找: SK's!m:r= /** ?E%+}P * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone +x(YG(5\w * K<c2PFo)Q * @param source o g_Ri$x8 * @param packet A&N$tH 在前面加上 F(deu^s%{ public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { %fHH{60 synchronized (characters) { $zdd=.!KiK for (MapleCharacter chr : characters) { ('=Z}~ if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); p` $fTgm } sNL+F } .+OB!'dDK^ }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)