🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 fN&O `T> 9|go`^*. maplecharacter.java ;[|x5o/< 查找: -wO`o< getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); E{FN sa 替换为: ;zGGT^Dn getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); Ao,lEjN I ========================== gKPV* maplemap.java 6L4B$'&KQZ 查找: L'c4i[~s /** *BF1Sso * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone 0 xXAhv-)O * { u;ntDr * @param source 3U}z?gP[ * @param packet z*R"917 在前面加上 V9MA)If> public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { lUp 7#q synchronized (characters) { 0/%zXp&m for (MapleCharacter chr : characters) { f5O*Njl if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); #de]b } #3qkG) } `=.{i}V }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)