🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 &(<>} r d>#',C#; maplecharacter.java 9q0s 查找: ag8)^p'9 getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); jhz*Y}MX 替换为: UQkd$w< getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); VS4Glx73 ========================== bX[ZVE(L maplemap.java hTO5*5]0zP 查找: v9J1Hha# /** w!*ZS~v/r * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone -`ljKp * \<9aS Y'U * @param source "E7<S5cr * @param packet W 8`6O2 在前面加上 6{d?3Jk public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { f\?Rhyz synchronized (characters) { 1d!s8um; for (MapleCharacter chr : characters) { /Q9Cvj)" if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); ~c&sr5E } prM)t8SE } M&=SvM.f }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)