🔔 管理提醒: 本帖被 代号丶 执行压帖操作(2013-07-01)
⚠ 提醒:该帖发布已超过3年,信息资源可能已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
发现GM不能互相看到 发布方法 Tyt:Abym= AEaT maplecharacter.java I9P<!#q> 查找: E;\XZ<E getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); *f|9A/*B3 替换为: l^4[;%*f#l getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); {bnNY ========================== B~oSKM%8R maplemap.java `"QUA G 查找: |$@/ Z+ /** '(A)^K>+ * Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone ^! /7 * l4u@0;6P * @param source ;m$F~!Y * @param packet =t1.j=oC 在前面加上 d (]t} public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { 4qo4g+ synchronized (characters) { } Zu2GU$6 for (MapleCharacter chr : characters) { (yQ]n91 Q, if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); 7qSlqA<Hs } %\PnsnJ9Q } 2/S~l;x }
Ctrl + Enter 快速发布 匿名回贴(消耗10铜币)