🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,如有资源可能已失效,谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 QT7w::ht MsN2A6|33 maplecharacter.java uYG #c(lc 查找: MAsWds`bpB getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); ?AqrlR]5 替换为: BsoFQw4$9 getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); f]@[4<N y ========================== 7AZ5%o maplemap.java >WGX|"!" 查找: k@'?"CP\Xq /** &xPOp$Sx~ * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone aRFi0h \ * GM34-GH+ * @param source A5 &>!y * @param packet 9+WY@du+ 在前面加上 J>,'P^ public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { 8cYuzt].. synchronized (characters) { Bbn832iMUY for (MapleCharacter chr : characters) { v*vub#wP if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); nOA,x } N[|by}@n } K8yWg\K }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)