⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
游客权限受限
当前为 游客预览模式,登录即刻解锁 完整内容 及全部回复。
| 🎉 |
隐藏内容已自动解锁
隐藏内容因满足 [ 发布时间满60天,帖子热度超6666点击,参与人数超10人 ] 其中条件之一,触发了自动开放机制。
无需回复,所有访客均可直接查看以下内容:
|
发现GM不能互相看到 发布方法 "kHFt|%@
:s(vn Ie^
maplecharacter.java :70n% 3a
查找: ?2LRMh")$
getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); afE`GG-
替换为: &"G4yM
getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); 1T96W :
========================== fjGYp
maplemap.java _\mMgZu
查找: +eT
1/x0
/** =\u QGH
* Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone uj
6dP
* vuP.V#
* @param source yhwwF
n\
* @param packet =XbOY[
在前面加上 &T"X
kgU5
public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { k(As^'>
synchronized (characters) { --X1oC52A
for (MapleCharacter chr : characters) { J^"
if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); @!;EW
R]
} H#zsk*=QD
} P01o: /}
}
中华游戏网 cnyouw.cn