Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Windows 环境下【uid】功能绘图失败 #804

Closed
Luomeng0104 opened this issue May 12, 2022 · 38 comments
Closed

Windows 环境下【uid】功能绘图失败 #804

Luomeng0104 opened this issue May 12, 2022 · 38 comments
Assignees
Labels
question Further information is requested wontfix This will not be worked on

Comments

@Luomeng0104
Copy link

Luomeng0104 commented May 12, 2022

问题描述

对机器人输入米游社或者uid+数字
机器人回复绘图失败。
npm里显示错误: genshin-card 功能绘图失败,因为“Error: Node has 0 height.”

复现流程

JSON
{
  "retcode":0,
  "message":"OK",
  "uid":180188820,
  "nickname":"落梦",
  "level":55,
  "avatars":[
    {
      "id":10000030,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Zhongli.png",
      "name":"钟离",
      "element":"Geo",
      "fetter":10,
      "level":80,
      "rarity":5,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"决斗之枪",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Pole_Gladiator.png",
        "rarity":4,
        "level":50,
        "desc":"血红色的锋利长枪,过去是某位角斗士无比珍视的宝物。枪芒上曾沾染了无数野兽与人的鲜血。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"勋绩之花",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_4.png",
          "pos":1,
          "rarity":5,
          "level":10
        },
        {
          "name":"昭武翎羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"金铜时晷",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_5.png",
          "pos":3,
          "rarity":5,
          "level":8
        },
        {
          "name":"祈望之心",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"将帅兜鍪",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_3.png",
          "pos":5,
          "rarity":5,
          "level":5
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000037,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ganyu.png",
      "name":"甘雨",
      "element":"Cryo",
      "fetter":10,
      "level":82,
      "rarity":5,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"破魔之弓",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Bow_Bakufu.png",
        "rarity":4,
        "level":90,
        "desc":"曾经属于某个巫女的战弓。以优越的技法打造,精巧而耐用。",
        "affix_level":3
      },
      "artifact":[
        {
          "name":"乐团的晨光",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15003_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"琴师的箭羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15003_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"终幕的时计",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15003_5.png",
          "pos":3,
          "rarity":5,
          "level":20
        },
        {
          "name":"沉波之盏",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15016_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"指挥的礼帽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15003_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000058,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Yae.png",
      "name":"八重神子",
      "element":"Electro",
      "fetter":7,
      "level":80,
      "rarity":5,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"流浪乐章",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Troupe.png",
        "rarity":4,
        "level":90,
        "desc":"记载着歌谱的厚重记事簿。尽管遭受了虫蛀和风化,残留的手迹仍透露出力量。",
        "affix_level":3
      },
      "artifact":[
        {
          "name":"角斗士的留恋",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15001_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"思忆之矢",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"朝露之时",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_5.png",
          "pos":3,
          "rarity":5,
          "level":20
        },
        {
          "name":"角斗士的酣醉",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15001_1.png",
          "pos":4,
          "rarity":5,
          "level":13
        },
        {
          "name":"将帅兜鍪",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000052,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Shougun.png",
      "name":"雷电将军",
      "element":"Electro",
      "fetter":7,
      "level":81,
      "rarity":5,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"「渔获」",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Pole_Mori.png",
        "rarity":4,
        "level":90,
        "desc":"在久远的过去,曾经闻名稻妻的大盗爱用的枪。",
        "affix_level":5
      },
      "artifact":[
        {
          "name":"明威之镡",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"切落之羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"雷云之笼",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_5.png",
          "pos":3,
          "rarity":5,
          "level":20
        },
        {
          "name":"角斗士的酣醉",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15001_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"华饰之兜",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000054,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Kokomi.png",
      "name":"珊瑚宫心海",
      "element":"Hydro",
      "fetter":9,
      "level":80,
      "rarity":5,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"讨龙英杰谭",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Pulpfic.png",
        "rarity":3,
        "level":20,
        "desc":"五名英雄踏上屠龙征途的虚构故事。文笔很差,结构散乱。失败的教训是这本书所拥有的伟大力量。",
        "affix_level":5
      },
      "artifact":[
        {
          "name":"勋绩之花",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_4.png",
          "pos":1,
          "rarity":5,
          "level":15
        },
        {
          "name":"昭武翎羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"金铜时晷",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_5.png",
          "pos":3,
          "rarity":5,
          "level":5
        },
        {
          "name":"盟誓金爵",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_1.png",
          "pos":4,
          "rarity":5,
          "level":0
        },
        {
          "name":"指挥的礼帽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15003_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000042,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Keqing.png",
      "name":"刻晴",
      "element":"Electro",
      "fetter":6,
      "level":80,
      "rarity":5,
      "actived_constellation_num":1,
      "costumes":[
        {
          "id":204201,
          "name":"霓裾翩跹",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/costume/UI_AvatarIcon_KeqingCostumeFeather@2x.png"
        }
      ],
      "weapon":{
        "name":"黑剑",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Sword_Bloodstained.png",
        "rarity":4,
        "level":50,
        "desc":"渴求着纷争与砍杀的漆黑长剑,据说会让人沉醉在浴血厮杀的亢奋中。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"角斗士的留恋",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15001_4.png",
          "pos":1,
          "rarity":5,
          "level":0
        },
        {
          "name":"雷灾的孑遗",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15005_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"朝露之时",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_5.png",
          "pos":3,
          "rarity":5,
          "level":5
        },
        {
          "name":"祈望之心",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_1.png",
          "pos":4,
          "rarity":5,
          "level":0
        },
        {
          "name":"无常之面",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_3.png",
          "pos":5,
          "rarity":5,
          "level":3
        }
      ],
      "constellationNum":1
    },
    {
      "id":10000025,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xingqiu.png",
      "name":"行秋",
      "element":"Hydro",
      "fetter":10,
      "level":80,
      "rarity":4,
      "actived_constellation_num":6,
      "costumes":[
        
      ],
      "weapon":{
        "name":"祭礼剑",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Sword_Fossil.png",
        "rarity":4,
        "level":90,
        "desc":"在漫长岁月中石化的道具剑,上面的仪式性装饰依然清晰可见。拥有受时间之风冲刷的祝福力量。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"饰金胸花",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15016_4.png",
          "pos":1,
          "rarity":5,
          "level":15
        },
        {
          "name":"追忆之风",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15016_2.png",
          "pos":2,
          "rarity":5,
          "level":17
        },
        {
          "name":"朝露之时",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_5.png",
          "pos":3,
          "rarity":5,
          "level":20
        },
        {
          "name":"角斗士的酣醉",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15001_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"无常之面",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":6
    },
    {
      "id":10000032,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Bennett.png",
      "name":"班尼特",
      "element":"Pyro",
      "fetter":6,
      "level":80,
      "rarity":4,
      "actived_constellation_num":2,
      "costumes":[
        
      ],
      "weapon":{
        "name":"匣里龙吟",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Sword_Rockkiller.png",
        "rarity":4,
        "level":90,
        "desc":"雕饰浮华的利刃,却丝毫不损它的柔韧与锋锐。破空之声有如龙吟。",
        "affix_level":2
      },
      "artifact":[
        {
          "name":"宗室之花",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_4.png",
          "pos":1,
          "rarity":5,
          "level":3
        },
        {
          "name":"宗室之翎",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"宗室时计",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_5.png",
          "pos":3,
          "rarity":5,
          "level":0
        },
        {
          "name":"吟游者之壶",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15003_1.png",
          "pos":4,
          "rarity":5,
          "level":0
        },
        {
          "name":"宗室面具",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_3.png",
          "pos":5,
          "rarity":5,
          "level":0
        }
      ],
      "constellationNum":2
    },
    {
      "id":10000002,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ayaka.png",
      "name":"神里绫华",
      "element":"Cryo",
      "fetter":6,
      "level":90,
      "rarity":5,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"天目影打刀",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Sword_Bakufu.png",
        "rarity":4,
        "level":90,
        "desc":"传说中连以神速见长的天狗都能斩落的名士订制的刀。",
        "affix_level":3
      },
      "artifact":[
        {
          "name":"平雷之心",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14002_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"摧冰而行的执望",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14001_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"冰雪故园的终期",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14001_5.png",
          "pos":3,
          "rarity":5,
          "level":20
        },
        {
          "name":"遍结寒霜的傲骨",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14001_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"破冰踏雪的回音",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14001_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000023,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xiangling.png",
      "name":"香菱",
      "element":"Pyro",
      "fetter":10,
      "level":81,
      "rarity":4,
      "actived_constellation_num":2,
      "costumes":[
        
      ],
      "weapon":{
        "name":"和璞鸢",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Pole_Morax.png",
        "rarity":5,
        "level":90,
        "desc":"魔神翡玉化作的长枪,拥有刺杀远古海兽的沉重与锋利。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"明威之镡",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"切落之羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"雷云之笼",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_5.png",
          "pos":3,
          "rarity":5,
          "level":20
        },
        {
          "name":"绯花之壶",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"宗室面具",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_3.png",
          "pos":5,
          "rarity":5,
          "level":20
        }
      ],
      "constellationNum":2
    },
    {
      "id":10000043,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Sucrose.png",
      "name":"砂糖",
      "element":"Anemo",
      "fetter":8,
      "level":80,
      "rarity":4,
      "actived_constellation_num":3,
      "costumes":[
        
      ],
      "weapon":{
        "name":"万国诸海图谱",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Exotic.png",
        "rarity":4,
        "level":20,
        "desc":"详尽记载了大陆周边海流气候的海图,是从异国经由商路流落到璃月的奇异典籍。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"野花记忆的绿野",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15002_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"猎人青翠的箭羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15002_2.png",
          "pos":2,
          "rarity":5,
          "level":6
        },
        {
          "name":"翠绿猎人的笃定",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15002_5.png",
          "pos":3,
          "rarity":5,
          "level":0
        },
        {
          "name":"翠绿猎人的容器",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15002_1.png",
          "pos":4,
          "rarity":5,
          "level":5
        },
        {
          "name":"将帅兜鍪",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15017_3.png",
          "pos":5,
          "rarity":5,
          "level":13
        }
      ],
      "constellationNum":3
    },
    {
      "id":10000005,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_PlayerBoy.png",
      "name":"旅行者",
      "element":"Anemo",
      "fetter":0,
      "level":80,
      "rarity":5,
      "actived_constellation_num":6,
      "costumes":[
        
      ],
      "weapon":{
        "name":"铁蜂刺",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Sword_Exotic.png",
        "rarity":4,
        "level":50,
        "desc":"外形流利的细长刺剑,是从异国经由商路流落到璃月的奇异兵器。轻快无比,剑芒极其锐利。",
        "affix_level":1
      },
      "artifact":[
        
      ],
      "constellationNum":6
    },
    {
      "id":10000039,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Diona.png",
      "name":"迪奥娜",
      "element":"Cryo",
      "fetter":3,
      "level":79,
      "rarity":4,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"祭礼弓",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Bow_Fossil.png",
        "rarity":4,
        "level":90,
        "desc":"在漫长岁月中石化的道具猎弓,上面的仪式性装饰依然清晰可见。拥有受时间之风冲刷的祝福力量。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"宗室之花",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"宗室之翎",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"众生之谣",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15021_5.png",
          "pos":3,
          "rarity":5,
          "level":16
        },
        {
          "name":"宗室银瓮",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_1.png",
          "pos":4,
          "rarity":5,
          "level":20
        },
        {
          "name":"宗室面具",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15007_3.png",
          "pos":5,
          "rarity":5,
          "level":0
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000014,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Barbara.png",
      "name":"芭芭拉",
      "element":"Hydro",
      "fetter":5,
      "level":70,
      "rarity":4,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"学徒笔记",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Apprentice.png",
        "rarity":1,
        "level":1,
        "desc":"某个优等生留下的学习笔记,娟秀的字迹非常好看。记录了不少实用的咒语。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"远方的少女之心",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14004_4.png",
          "pos":1,
          "rarity":5,
          "level":0
        },
        {
          "name":"少女飘摇的思念",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14004_2.png",
          "pos":2,
          "rarity":5,
          "level":0
        },
        {
          "name":"少女苦短的良辰",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14004_5.png",
          "pos":3,
          "rarity":5,
          "level":0
        },
        {
          "name":"少女片刻的闲暇",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14004_1.png",
          "pos":4,
          "rarity":5,
          "level":0
        },
        {
          "name":"少女易逝的芳颜",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_14004_3.png",
          "pos":5,
          "rarity":5,
          "level":0
        }
      ],
      "constellationNum":0
    },
    {
      "id":10000027,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ningguang.png",
      "name":"凝光",
      "element":"Geo",
      "fetter":4,
      "level":70,
      "rarity":4,
      "actived_constellation_num":1,
      "costumes":[
        {
          "id":202701,
          "name":"纱中幽兰",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/costume/UI_AvatarIcon_NingguangCostumeFloral@2x.png"
        }
      ],
      "weapon":{
        "name":"流浪乐章",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Troupe.png",
        "rarity":4,
        "level":20,
        "desc":"记载着歌谱的厚重记事簿。尽管遭受了虫蛀和风化,残留的手迹仍透露出力量。",
        "affix_level":1
      },
      "artifact":[
        
      ],
      "constellationNum":1
    },
    {
      "id":10000024,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Beidou.png",
      "name":"北斗",
      "element":"Electro",
      "fetter":3,
      "level":70,
      "rarity":4,
      "actived_constellation_num":6,
      "costumes":[
        
      ],
      "weapon":{
        "name":"螭骨剑",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Claymore_Kione.png",
        "rarity":4,
        "level":60,
        "desc":"来自古代大海的稀有兵器,舞剑猎猎宛如太古的涛声。",
        "affix_level":1
      },
      "artifact":[
        {
          "name":"羁缠之花",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15019_4.png",
          "pos":1,
          "rarity":5,
          "level":20
        },
        {
          "name":"华馆之羽",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15021_2.png",
          "pos":2,
          "rarity":5,
          "level":20
        },
        {
          "name":"雷霆的时计",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15005_5.png",
          "pos":3,
          "rarity":5,
          "level":0
        },
        {
          "name":"华饰之兜",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_RelicIcon_15020_3.png",
          "pos":5,
          "rarity":5,
          "level":17
        }
      ],
      "constellationNum":6
    },
    {
      "id":10000034,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Noel.png",
      "name":"诺艾尔",
      "element":"Geo",
      "fetter":1,
      "level":50,
      "rarity":4,
      "actived_constellation_num":1,
      "costumes":[
        
      ],
      "weapon":{
        "name":"白铁大剑",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Claymore_Tin.png",
        "rarity":3,
        "level":1,
        "desc":"白铁锻成的双手剑,兼顾了重量与强度。即使臂力一般的人也能舞得生风,在力量强大者手中更是威力无穷。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":1
    },
    {
      "id":10000044,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Xinyan.png",
      "name":"辛焱",
      "element":"Pyro",
      "fetter":1,
      "level":50,
      "rarity":4,
      "actived_constellation_num":1,
      "costumes":[
        
      ],
      "weapon":{
        "name":"桂木斩长正",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Claymore_Bakufu.png",
        "rarity":4,
        "level":50,
        "desc":"过去在踏鞴砂打造的刀,沉重而坚韧。",
        "affix_level":1
      },
      "artifact":[
        
      ],
      "constellationNum":1
    },
    {
      "id":10000045,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Rosaria.png",
      "name":"罗莎莉亚",
      "element":"Cryo",
      "fetter":1,
      "level":50,
      "rarity":4,
      "actived_constellation_num":2,
      "costumes":[
        {
          "id":204501,
          "name":"致教会自由人",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/costume/UI_AvatarIcon_RosariaCostumeWic@2x.png"
        }
      ],
      "weapon":{
        "name":"黑缨枪",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Pole_Noire.png",
        "rarity":3,
        "level":40,
        "desc":"解决了白缨容易弄脏问题的绝世好枪。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":2
    },
    {
      "id":10000048,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Feiyan.png",
      "name":"烟绯",
      "element":"Pyro",
      "fetter":1,
      "level":50,
      "rarity":4,
      "actived_constellation_num":3,
      "costumes":[
        
      ],
      "weapon":{
        "name":"翡玉法球",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Jade.png",
        "rarity":3,
        "level":20,
        "desc":"由璃月北郊绝云间出产的硬玉雕琢而成的法器。小巧轻盈,经久耐用,江湖人称「翡玉丸」。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":3
    },
    {
      "id":10000015,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Kaeya.png",
      "name":"凯亚",
      "element":"Cryo",
      "fetter":3,
      "level":40,
      "rarity":4,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"试作斩岩",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Sword_Proto.png",
        "rarity":4,
        "level":20,
        "desc":"黑岩厂中秘藏的古老长剑。可挥砍断岩而刃不卷。",
        "affix_level":1
      },
      "artifact":[
        
      ],
      "constellationNum":0
    },
    {
      "id":10000021,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Ambor.png",
      "name":"安柏",
      "element":"Pyro",
      "fetter":2,
      "level":40,
      "rarity":4,
      "actived_constellation_num":1,
      "costumes":[
        {
          "id":202101,
          "name":"100%侦察骑士",
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/costume/UI_AvatarIcon_AmborCostumeWic@2x.png"
        }
      ],
      "weapon":{
        "name":"弓藏",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Bow_Recluse.png",
        "rarity":4,
        "level":60,
        "desc":"布满锈迹的铁造大弓,一般人根本拿不动,遑论引弓放矢。",
        "affix_level":2
      },
      "artifact":[
        
      ],
      "constellationNum":1
    },
    {
      "id":10000031,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Fischl.png",
      "name":"菲谢尔",
      "element":"Electro",
      "fetter":1,
      "level":40,
      "rarity":4,
      "actived_constellation_num":3,
      "costumes":[
        
      ],
      "weapon":{
        "name":"绝弦",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Bow_Troupe.png",
        "rarity":4,
        "level":20,
        "desc":"曾经作为乐器大放异彩的弓。如今已经不再能令人起舞。",
        "affix_level":3
      },
      "artifact":[
        
      ],
      "constellationNum":3
    },
    {
      "id":10000056,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Sara.png",
      "name":"九条裟罗",
      "element":"Electro",
      "fetter":1,
      "level":40,
      "rarity":4,
      "actived_constellation_num":2,
      "costumes":[
        
      ],
      "weapon":{
        "name":"信使",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Bow_Msg.png",
        "rarity":3,
        "level":20,
        "desc":"造型简单的木制弓。传说它曾被人用作远程通讯的道具。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":2
    },
    {
      "id":10000064,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Yunjin.png",
      "name":"云堇",
      "element":"Geo",
      "fetter":1,
      "level":40,
      "rarity":4,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"钺矛",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Pole_Halberd.png",
        "rarity":3,
        "level":1,
        "desc":"在矛上增加斧刃的兵器,有不俗的破坏力。是千岩军军官青睐的武器。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":0
    },
    {
      "id":10000053,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Sayu.png",
      "name":"早柚",
      "element":"Anemo",
      "fetter":2,
      "level":20,
      "rarity":4,
      "actived_constellation_num":5,
      "costumes":[
        
      ],
      "weapon":{
        "name":"以理服人",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Claymore_Reasoning.png",
        "rarity":3,
        "level":1,
        "desc":"精钢打造的趁手大铁棒子。最好的理论依据。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":5
    },
    {
      "id":10000006,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Lisa.png",
      "name":"丽莎",
      "element":"Electro",
      "fetter":1,
      "level":20,
      "rarity":4,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"翡玉法球",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Catalyst_Jade.png",
        "rarity":3,
        "level":1,
        "desc":"由璃月北郊绝云间出产的硬玉雕琢而成的法器。小巧轻盈,经久耐用,江湖人称「翡玉丸」。",
        "affix_level":1
      },
      "artifact":[
        
      ],
      "constellationNum":0
    },
    {
      "id":10000020,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Razor.png",
      "name":"雷泽",
      "element":"Electro",
      "fetter":1,
      "level":20,
      "rarity":4,
      "actived_constellation_num":0,
      "costumes":[
        
      ],
      "weapon":{
        "name":"训练大剑",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Claymore_Aniki.png",
        "rarity":1,
        "level":1,
        "desc":"仅仅是削出了剑形的厚重铁片。在意志强韧的人手里,也有劈开磐石的力量。",
        "affix_level":1
      },
      "artifact":[
        
      ],
      "constellationNum":0
    },
    {
      "id":10000036,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Chongyun.png",
      "name":"重云",
      "element":"Cryo",
      "fetter":1,
      "level":20,
      "rarity":4,
      "actived_constellation_num":1,
      "costumes":[
        
      ],
      "weapon":{
        "name":"飞天大御剑",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Claymore_Mitsurugi.png",
        "rarity":3,
        "level":1,
        "desc":"可靠的大剑。传说著名的「御剑公子」曾试图借助它二度飞天。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":1
    },
    {
      "id":10000050,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_Tohma.png",
      "name":"托马",
      "element":"Pyro",
      "fetter":1,
      "level":20,
      "rarity":4,
      "actived_constellation_num":3,
      "costumes":[
        
      ],
      "weapon":{
        "name":"黑缨枪",
        "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/equip/UI_EquipIcon_Pole_Noire.png",
        "rarity":3,
        "level":1,
        "desc":"解决了白缨容易弄脏问题的绝世好枪。",
        "affix_level":5
      },
      "artifact":[
        
      ],
      "constellationNum":3
    }
  ],
  "explorations":[
    {
      "level":10,
      "exploration_percentage":755,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_ChasmsMaw.png",
      "name":"层岩巨渊·地下矿区",
      "type":"Offering",
      "offerings":[
        {
          "name":"流明石触媒等级",
          "level":10,
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterOffering_Lumenstone.png"
        }
      ],
      "id":7,
      "parent_id":6,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&lang=zh-cn&_markerFps=24#/map/9?&center=0.00,1.00&zoom=-1.00",
      "strategy_url":"https://bbs.mihoyo.com/ys/strategy/channel/map/45/226?bbs_presentation_style=no_header",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_ChasmsMaw.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_ChasmsMaw.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_ChasmsMaw.png"
    },
    {
      "level":10,
      "exploration_percentage":353,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_ChasmsMaw.png",
      "name":"层岩巨渊",
      "type":"Offering",
      "offerings":[
        {
          "name":"流明石触媒等级",
          "level":10,
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterOffering_Lumenstone.png"
        }
      ],
      "id":6,
      "parent_id":0,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&lang=zh-cn&_markerFps=24#/map/2?&center=2917.44,-2500.29&zoom=0.00",
      "strategy_url":"https://bbs.mihoyo.com/ys/strategy/channel/map/45/226?bbs_presentation_style=no_header",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_ChasmsMaw.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_ChasmsMaw.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_ChasmsMaw.png"
    },
    {
      "level":0,
      "exploration_percentage":1000,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Enkanomiya.png",
      "name":"渊下宫",
      "type":"Offering",
      "offerings":[
        
      ],
      "id":5,
      "parent_id":0,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&lang=zh-cn#/map/7?&center=1.00,197.00&zoom=-2.00",
      "strategy_url":"",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_Enkanomiya.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_Enkanomiya.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_Enkanomiya.png"
    },
    {
      "level":10,
      "exploration_percentage":1000,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Daoqi.png",
      "name":"稻妻",
      "type":"Reputation",
      "offerings":[
        {
          "name":"神樱眷顾",
          "level":50,
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterOffering_Oraionokami.png"
        }
      ],
      "id":4,
      "parent_id":0,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&_markerFps=24&lang=zh-cn#/map/2?&center=5329.96,2489.19&zoom=-1.00",
      "strategy_url":"",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_Daoqi.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_Daoqi.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_Daoqi.png"
    },
    {
      "level":12,
      "exploration_percentage":955,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Dragonspine.png",
      "name":"龙脊雪山",
      "type":"Offering",
      "offerings":[
        {
          "name":"忍冬之树",
          "level":12,
          "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterOffering_Eldertree.png"
        }
      ],
      "id":3,
      "parent_id":0,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&_markerFps=24&lang=zh-cn#/map/2?&center=1183.49,-116.41&zoom=0.00",
      "strategy_url":"",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_Dragonspine.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_Dragonspine.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_Dragonspine.png"
    },
    {
      "level":6,
      "exploration_percentage":801,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Liyue.png",
      "name":"璃月",
      "type":"Reputation",
      "offerings":[
        
      ],
      "id":2,
      "parent_id":0,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&_markerFps=24&lang=zh-cn#/map/2?&center=2602.08,-1612.55&zoom=-1.00",
      "strategy_url":"",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_Liyue.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_Liyue.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_Liyue.png"
    },
    {
      "level":7,
      "exploration_percentage":1000,
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterIcon_Mengde.png",
      "name":"蒙德",
      "type":"Reputation",
      "offerings":[
        
      ],
      "id":1,
      "parent_id":0,
      "map_url":"https://webstatic.mihoyo.com/ys/app/interactive-map/index.html?bbs_presentation_style=no_header&_markerFps=24&lang=zh-cn#/map/2?&center=-111.96,-200.87&zoom=-1.00",
      "strategy_url":"",
      "background_image":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterBackground_Mengde.png",
      "inner_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterInnerIcon_Mengde.png",
      "cover":"https://upload-bbs.mihoyo.com/game_record/genshin/city_icon/UI_ChapterCover_Mengde.png"
    }
  ],
  "stats":{
    "active_day_number":127,
    "achievement_number":497,
    "win_rate":0,
    "anemoculus_number":66,
    "geoculus_number":131,
    "avatar_number":30,
    "way_point_number":181,
    "domain_number":33,
    "spiral_abyss":"8-3",
    "precious_chest_number":272,
    "luxurious_chest_number":114,
    "exquisite_chest_number":910,
    "common_chest_number":1123,
    "electroculus_number":181,
    "magic_chest_number":46
  },
  "homes":[
    {
      "level":10,
      "visit_num":15,
      "comfort_num":8190,
      "item_num":376,
      "name":"罗浮洞",
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_2_Pic.png",
      "comfort_level_name":"美轮美奂",
      "comfort_level_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_6.png"
    },
    {
      "level":10,
      "visit_num":15,
      "comfort_num":8190,
      "item_num":376,
      "name":"翠黛峰",
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_1_Pic.png",
      "comfort_level_name":"美轮美奂",
      "comfort_level_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_6.png"
    },
    {
      "level":10,
      "visit_num":15,
      "comfort_num":8190,
      "item_num":376,
      "name":"清琼岛",
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_3_Pic.png",
      "comfort_level_name":"美轮美奂",
      "comfort_level_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_6.png"
    },
    {
      "level":10,
      "visit_num":15,
      "comfort_num":8190,
      "item_num":376,
      "name":"绘绮庭",
      "icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_HomeworldModule_4_Pic.png",
      "comfort_level_name":"美轮美奂",
      "comfort_level_icon":"https://upload-bbs.mihoyo.com/game_record/genshin/home/UI_Homeworld_Comfort_6.png"
    }
  ],
  "qqid":835184533
}

后台日志

> adachi-bot@1.5.2 log
> cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ npx pm2 log --lines 200 bot

[TAILING] Tailing last 200 lines for [bot] process (change the value with --lines option)

运行环境

> adachi-bot@1.5.2 tool-status
> node ./toolsatus.js

操作系统:Windows(Microsoft Windows Server 2019 Datacenter)
内核版本:10.0.17763
内核架构:x64
处理器:  3.01%(Intel Xeon Platinum 8255C @ 2.5Ghz)
启动时间:2 days
内存使用:83.86%(3.6 GB / 4.29 GB)
数据占用:447 kB
Node.js: 16.15.0
npm:     8.5.5
浏览器:  chrome 102.0.5002.0

当前提交

commit c7f1ad512cc683df3ebcadae4ff01d171410d927 (HEAD -> master, origin/master, origin/dev, origin/HEAD)
Author: Qin Fandong <shell_way@foxmail.com>
Date:   Tue May 10 11:00:25 2022 +0800

    周常图换成观测枢链接

代码状态

On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        "\345\220\257\345\212\250.cmd"
@Luomeng0104 Luomeng0104 added bug Something isn't working question Further information is requested labels May 12, 2022
@Luomeng0104
Copy link
Author

@mark9804 @Arondight

@mark9804 mark9804 self-assigned this May 12, 2022
@mark9804
Copy link
Collaborator

mark9804 commented May 12, 2022

我这边复现不了,是可以正常查询的,chromium console 也干干净净没有报错

井号是我为了和生产环境区分开来使用的,你不用加井号
image

@mark9804 mark9804 removed their assignment May 12, 2022
@Luomeng0104
Copy link
Author

@mark9804 $ git log -1
commit c7f1ad5 (HEAD -> master, origin/master, origin/dev, origin/HEAD)
Author: Qin Fandong shell_way@foxmail.com
Date: Tue May 10 11:00:25 2022 +0800

里面
origin/master, origin/dev, origin/HEAD)是红色

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
(use "git add ..." to include in what will be committed)
"\345\220\257\345\212\250.cmd"

里面"\345\220\257\345\212\250.cmd"

是红色

@Luomeng0104
Copy link
Author

@mark9804 不清楚 我用的是git 下载的那两个文件 然后用cmd运行的

@Arondight
Copy link
Owner

你发一下今日素材,看看有没有图

@mark9804
Copy link
Collaborator

不用圈我们,你的回复会都有邮件提醒的

这个红色代表你的这个 cmd 命令在我们的主线代码里面是不存在的,不代表错误

这个既然不是我负责的前端的问题,那我现在也只能等另一个老大哥查是什么问题了,不过感觉可能会是 Windows 环境下特有的什么 bug ,有可能我们这边复现不出来,而且 Windows 环境下绘图是有一些已知的 bug 的(比如发图发一半之类),所以虽然能在 Windows 上面跑,但是我们还是建议在 Linux 上面跑

@Luomeng0104
Copy link
Author

今日素材有图

@mark9804
Copy link
Collaborator

mark9804 commented May 12, 2022

先试一下 绑定 (只发送“绑定”两个字,这个操作会解绑你的 QQ 和当前米游社账号的关联并强制刷新缓存

然后重新 绑定 你的米游社ID

然后再发送 米游社

看看这样正常不正常 ,如果正常的话我再把锅接过来

@Arondight
Copy link
Owner

@mark9804 你有空的话可以帮忙试试他发的json能不能用么

@Arondight
Copy link
Owner

我查了一下这个uid,把 last_params 的数据拿出来对比了一下,他的数据多了一大截

@mark9804
Copy link
Collaborator

@mark9804 你有空的话可以帮忙试试他发的json能不能用么

我试过了是可以的
image

@Luomeng0104
Copy link
Author

那是哪里弄错了

@mark9804
Copy link
Collaborator

我查了一下这个uid,把 last_params 的数据拿出来对比了一下,他的数据多了一大截

我这边看没有多,多出来的一截是什么

@Arondight
Copy link
Owner

多出来的一截是什么

看了下是八个角色之外的角色,也就是他发的 json 没有问题,应该是浏览器有点问题,内存不够或者其他什么问题

@Arondight
Copy link
Owner

那是哪里弄错了

你把 config/setting.yml 中的 viewDebug 改成 1 ,然后关掉再启动机器人,发一下 uid180188820 ,看看是什么状况

@Luomeng0104
Copy link
Author

Luomeng0104 commented May 12, 2022

[2022-05-12T22:53:30.205] [DEBUG] [aPad:574636297] - render:已生成 genshin-card 功能的数据调试文件。
[2022-05-12T22:53:39.666] [INFO] [aPad:574636297] - recv from: [Private: 835184533(friend)] #uid180188820

@Arondight
Copy link
Owner

呃,有一个浏览器跳出来吗

@Luomeng0104

This comment was marked as off-topic.

@Luomeng0104
Copy link
Author

没跳出来

@mark9804
Copy link
Collaborator

呃,有一个浏览器跳出来吗

意思是你运行 bot 的机器上有没有一个浏览器跳出来,不是本地的机器

@Luomeng0104
Copy link
Author

没有弹出来 用的服务器 远程部署的

@mark9804
Copy link
Collaborator

只有这个 uid 不可以吗,如果换一个其他人的呢

比如 uid 200000000

@Luomeng0104
Copy link
Author

试了其他的也不行

@Luomeng0104

This comment was marked as off-topic.

@Arondight
Copy link
Owner

这个问题我处理不了,因为无法复现(无论是操作步骤还是数据上的复现),只能归咎为环境问题,但是不知道问题在哪

@mark9804
Copy link
Collaborator

我也复现不出来,建议在 linux 环境下面跑,Windows 比较混沌

@Luomeng0104
Copy link
Author

好的

@Luomeng0104
Copy link
Author

怎么弄token

@mark9804
Copy link
Collaborator

什么 token ?

如果是滑动验证码登陆的问题麻烦查看 #310

如果是米游社 cookie 获取的问题麻烦查看 #120

@Luomeng0104
Copy link
Author

都不是 是该功能为小范围非公开功能需具备token才可使用

@mark9804
Copy link
Collaborator

我们项目没有这种东西,你的 bot 是不是其他项目的

@Luomeng0104
Copy link
Author

这个项目就是个人box不能看其他都是正常的

@Luomeng0104
Copy link
Author

可能是Windows的问题

@mark9804
Copy link
Collaborator

  1. 我们解答不了其他项目的问题
  2. 关于“个人 box 不能看” 的 bug,很抱歉我们两个开发者都没有办法复现,于是也没办法修复,如果你希望继续使用这个 bot 的话,我的建议是在 Linux 环境下面运行,这样你的环境和我们的开发/测试/运行环境都是类似的,基本上 Linux 环境的 bug 我们都已经处理完了,但是 Windows 只是做了最基本的适配,能跑就行,出 bug 我们修不了也没法修

@Arondight
Copy link
Owner

@Luomeng0104 在项目的目录跑一下这条命令,然后贴一下结果

git remote show origin

@Luomeng0104
Copy link
Author

Luomeng0104 commented May 13, 2022

* remote origin
  Fetch URL: https://github.com/Arondight/Adachi-BOT.git
  Push  URL: https://github.com/Arondight/Adachi-BOT.git
  HEAD branch: master
  Remote branches:
    dev    tracked
    master tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (local out of date)

@mark9804 mark9804 changed the title 发uid加数字,机器人回复绘图显示失败 Windows 环境下【uid】功能绘图失败 May 14, 2022
@Arondight
Copy link
Owner

都不是 是该功能为小范围非公开功能需具备token才可使用

@Luomeng0104 我刚反应过来,这应该是 Gitee 的项目同步功能,如果你访问 GitHub 不方便,可以使用镜像仓库 https://gitcode.net/iSpeller/Adachi-BOT.git

另外这个问题根据现有的信息无法继续跟进了,理由见上。后续交流直接回复即可。


@mark9804 因为某个特定环境下无法工作就判定这类环境下都无法工作这个逻辑是有问题的,这个 issue 我先关了。

@Arondight Arondight added wontfix This will not be worked on and removed bug Something isn't working labels May 14, 2022
@Arondight
Copy link
Owner

@Luomeng0104 另外贴一下我的 Windows 开发环境,仅做参考,各种功能正常,运行于 Git Bash

$ npm run tool-status -- -j

> adachi-bot@1.5.3 tool-status
> node ./tools/status.js "-j"

{
  "操作系统": "Windows(Microsoft Windows 11 专业版)",
  "内核版本": "10.0.22000",
  "内核架构": "x64",
  "处理器": "6.46%(Intel Core™ i7-10750H @ 2.6Ghz)",
  "启动时间": "42 minutes",
  "内存使用": "47.72%(8.11 GB / 17 GB)",
  "数据占用": "18 kB",
  "Node.js": "16.13.1",
  "npm": "8.1.2",
  "浏览器": "chrome 101.0.4951.64"
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants