⚠ 提醒: 此帖已发布15年,信息资源或已失效,资源谨慎下载以免浪费积分。反馈请前往站务版块。
| 🎉 |
隐藏内容已自动解锁
隐藏内容因满足 [ 发布时间满60天,帖子热度超6666点击,参与人数超10人 ] 其中条件之一,触发了自动开放机制。
无需回复,所有访客均可直接查看以下内容:
|
发现GM不能互相看到 发布方法 oU|c.mYe
0x7'^Z>-oe
maplecharacter.java V~bD)?M
查找: 3T
9j@N77
getMap().broadcastMessage(this, MaplePacketCreator.removePlayerFromMap(getId()), false); NA*#~
替换为: $e\M_hp*J
getMap().broadcastNonGmMessage(this, MaplePacketCreator.removePlayerFromMap(getId())); C~[,z.FvO
========================== s{++w5s
maplemap.java ex|F|0k4}
查找: l:%
GH
/** K,]=6Rj
* Broadcasts the given packet to everyone on the map but the source. source = null Broadcasts to everyone ]_Xlq_[/r
* j pOp.
* @param source $(
)>g>%
* @param packet E]6
6]+;0_
在前面加上 g`^x@rj`E
public void broadcastNonGmMessage(MapleCharacter source, MaplePacket packet) { neh(<>
synchronized (characters) { ]Dzlp7Y}
for (MapleCharacter chr : characters) { =43auFY-P
if (chr != source && (!chr.isGM() || !chr.isHidden())) chr.getClient().getSession().write(packet); l,
wp4Ll
} !wNO8;(
} )Z$!PqRw@u
}
游客权限受限
当前为 游客预览模式,登录即刻解锁 完整内容 及全部回复。
中华游戏网 cnyouw.cn