⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
游客权限受限
当前为 游客预览模式,登录即刻解锁 原始大图及完整内容。
| 🎉 |
隐藏内容已自动解锁
隐藏内容因满足 [ 发布时间满60天,帖子热度超6666点击,参与人数超10人 ] 其中条件之一,触发了自动开放机制。
无需回复,所有访客均可直接查看以下内容:
|
发现GM不能互相看到 发布方法 n^;Sh$Os
Odj4)
maplecharacter.java qC$h~Epp4
查找: S1a}9Z|
getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); 9lCZi?
替换为: #e(P~'A0
getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); r d4\N2- 6
========================== J3#
maplemap.java 2Uq4PCx!
查找: SBqx_4}
/** h]#bPb
* Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone Q.`O;D}x
* D"+xF&
* @param source F/zbb
* @param packet :Y
>M/
/0
在前面加上 'CC;=@J
public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { O(Vi/r2:e
synchronized (characters) { E/N*n!sV
for (MapleCharacter chr : characters) { `PeWV[?
if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); Tq=OYJq5U
} 4.0JgX
} d&[.=M\E8
}
中华游戏网 CNYX.NET