服务端
大区名修改
替换地址:/data/dev_www/web/www/api/role.php
[‘srv_id’] = [[symlf_1]],
[‘zone_id’] = [[1]],
[‘platform’] = [[symlf]],
[‘platform_name’] = [[symlf]],
[‘first_zone’] = [[0]],
[‘ip’] = [[1.1.1.1]],
[‘host’] = [[1.1.1.1:91]],
[‘erl_port’] = [[9001]],
[‘srv_name’] = [[一区]],
[‘isnew’] = 1,
[‘begin_time’] = [[1612494000]],
[‘recomed’] = 1,
[‘maintain’] = 0,
[‘group_id’] = [[1]],
[‘group_num’] = [[1]],
},
‘srv_name’=>’一区’ 区名
状态:
‘isnew’=>1, 1就是绿色推荐 0就是红色爆满 自带那个一般打了引号记得删除
‘group_num’=>1, 1就是1服 不改全是1服
‘maintain’=>0 0就是正常运行,1就是大区维护
指定分组名字文件:客户端里面 server_data.luac
路径:/assets/src/config/server_data.luac
group_id=1 就是分组显示1
group_id=2 就是分组显示2
分组显示名字 需要在客户端 server_data.luac 修改
|