- 精华
- 阅读权限
- 60
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2020-9-8
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
本帖最后由 wer8294475 于 2022-12-25 18:54 编辑
经过一晚的研究,只能新增两个卡池,主要问题在于t_gacha_schedule_config表中gacha_type参数,只找出来201和202可以用,使用其他参数或一样的参数就会提示不合法或扭蛋排期时间重叠,导致服务端无法启动;希望有大佬能找出其他可用的参数。
新增卡池方法:
这是1.0-3.2所有卡池的信息https://github.com/Grasscutters/Grasscutter/blob/development/src/main/resources/defaults/data/Banners.tsj,对照这个来建卡池。- INSERT INTO `db_hk4e_config_gio`.`t_gacha_schedule_config` (`schedule_id`, `gacha_type`, `begin_time`, `end_time`, `cost_item_id`, `cost_item_num`, `gacha_pool_id`, `gacha_prob_rule_id`, `gacha_up_config`, `gacha_rule_config`, `gacha_prefab_path`, `gacha_preview_prefab_path`, `gacha_prob_url`, `gacha_record_url`, `gacha_prob_url_oversea`, `gacha_record_url_oversea`, `gacha_sort_id`, `enabled`, `title_textmap`, `display_up4_item_list`) VALUES (894, 201, '2022-11-02 13:37:46', '2023-11-30 13:37:55', 223, 1, 201, 1, '{"gacha_up_list":[{"item_parent_type":1,"prob":500,"item_list":[1022]},{"item_parent_type":2,"prob":500,"item_list":[1014,1031,1023]}]}', '{}', 'GachaShowPanel_A019', 'UI_Tab_GachaShowPanel_A019', 'http://localhost/', 'http://localhost/', 'http://localhost/', 'http://localhost/', 3000, 1, 'UI_GACHA_SHOW_PANEL_A019_TITLE', '');
复制代码 一种是通过上面的sql语句直接导入,
一种是直接复制一行,再新增一行粘贴;
主要修改schedule_id,数字随便填。
gacha_type,目前只知道200,201,202,301,302,400可用
gacha_up_config,根据卡池信息修改item_list后面的ID
gacha_prefab_path,gacha_preview_prefab_path,title_textmap,根据卡池信息修改_Axxx即可,title_textmap可能和前面两项不一致。
12月25日更新:卡池ID:200,201,202,300,301,302,400(感谢10楼提供的信息)
已尝试在GachaRestrictData添加还是无法启动服务端,提示不合法。
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
评分
-
查看全部评分
|