|
手游剑侠情缘进入游戏自动弹出公告修改教程- Y; r# t; h9 U4 C8 G! g
首先在解包的客户端文件中Client/Script/Ui/Windows找到Login.lua
& q/ |. f( r3 b4 s0 J. u- a7 ?- function tbLogin:OnOpenEnd()
- if not version_xm then
- Ui:OpenWindow("NoticePanel")
- end
$ Z p& Y8 \+ t9 ]2 t. W( i
9 K5 N# i1 X" H# C+ \* g[color=rgb(51, 102, 153) !important]复制代码/ I# A" |$ K% L5 X. Q" M
这段代码的意思是 如果版本不是新马那么当游戏启动时弹出公告面板,那么这个时候我们只需要把 version_xm 修改为 version_tx 即可,修改如下+ ~; s" ^2 _4 d8 k3 {( f" H8 @ ]3 c
- function tbLogin:OnOpenEnd()
- if version_xm then
- Ui:OpenWindow("NoticePanel")
- end
- / L$ x6 |; t' I. H6 q
+ u' |3 e* u2 K
[color=rgb(51, 102, 153) !important]复制代码. z) o. I8 C# Q& g
然后把客户端打包补丁,在游戏当中更新即可。3 q7 V/ i1 A% i( A' A
|
|