🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 ]Wd`GI >'-w%H/ maplecharacter.java ;%7XU~<a 查找: Cxk$"_ getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); x*&&?nV Iz 替换为: zLw h6^?Y getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); MAe<.DHY ========================== bq3fiT9 maplemap.java E[3FdX8 查找: f:[d]J| /** M&djw`B * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Uk*;C * 9MB\z"b?A * @param source LlA`QLe * @param packet rw8J:?0x 在前面加上 40Qzo%eL public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { _A,-[*OKI synchronized (characters) { q"+ q for (MapleCharacter chr : characters) { `+hy#1] if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); {nPkb5xbW } u@bOEcxK } VUy)4* }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)