Coder Social home page Coder Social logo

skland-daily-attendance's Introduction

Hi there 😁

I'm a Chinese Front-End Developer who maybe have strong passion🤣

  • 🔭 I’m built my own blog with astro
  • 🌱 I’m currently learning modern front-end technology and blockchain tech that once was rust which so difficult for me😢
  • 🔑 GPG key hosted here at Github and also Keybase, see Keybase proof.
  • 😄 Pronouns: enpitsu (which means pencil in Japanese), 铅笔

Languages and Tools

skland-daily-attendance's People

Contributors

enpitsulin avatar maxcrazy1101 avatar moeyua avatar roo12589 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

skland-daily-attendance's Issues

运行报错:获取绑定角色错误:当前APP版本过低,请更新后使用

`/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:109
throw new Error('获取绑定角色错误:' + data.message)
^

Error: 获取绑定角色错误:当前APP版本过低,请更新后使用
at getBinding (/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:109:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at (/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:116:18)`

于今天四点零七运行,提示报错,签到失败
是否是因为版本更新导致更换了接口?

请求支持登岛检票

简简单单抓个包:
https://zonai.skland.com/api/v1/score/checkin
方法:POST

请求示例:
{
"gameId": 1
}
gameId为对应版区的ID,对照关系如下:
1:明日方舟
2:来自星辰
3:终末地
4:泡姆泡姆
100:纳斯特港

响应示例:
{
"code": 0,
"message": "OK"
}

应该挺好实现吧…?(手动狗头)不过咱不会结合GitHub Action…拜托了xwx

getBinding返回值异常

{ code: 10000, message: '签名验证失败' }
我原来用的另一个自动签到脚本也一样的异常= =之前一直好的

签到报错 Error: 登录获取 cred 错误:Key: 'GrantV2Req.token' Error:Field validation for 'token' failed on the 'required' tag

/home/runner/work/skland-daily-attendance/skland-daily-attendance/src/api/hypergryph.ts:21
    throw new Error(`登录获取 cred 错误:${data.msg}`)
          ^


Error: 登录获取 cred 错误:Key: 'GrantV2Req.token' Error:Field validation for 'token' failed on the 'required' tag
Key: 'GrantV2Req.appCode' Error:Field validation for 'appCode' failed on the 'required' tag
Key: 'GrantV2Req.type' Error:Field validation for 'type' failed on the 'required' tag
    at auth (/home/runner/work/skland-daily-attendance/skland-daily-attendance/src/api/hypergryph.ts:21:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at doAttendanceForAccount (/home/runner/work/skland-daily-attendance/skland-daily-attendance/src/index.ts:14:[20](https://github.com/Montaro2017/skland-daily-attendance/actions/runs/7433660332/job/20232471308#step:8:21))
    at async Promise.all (index 0)
    at <anonymous> (/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:12:1)

签到执行出错

应该是笨笨鹰角换字段名称或者是什么其他变动了,不过甲流刚好可能暂时处理不了先放放

Error: Process completed with exit code 1.

Run pnpm attendance

[email protected] attendance /home/runner/work/skland-daily-attendance/skland-daily-attendance
tsx main.ts

/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:111
const { code } = await auth(token)
^

TypeError: Cannot destructure property 'code' of '(intermediate value)' as it is undefined.
at doAttendanceForAccount (/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at (/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:152:1)

Node.js v18.18.2
 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.
今早刚出的问题

登录获取 cred 错误

> tsx main.ts

/home/runner/work/skland-daily-attendance/skland-daily-attendance/src/api/hypergryph.ts:21
    throw new Error(`登录获取 cred 错误:${data.msg}`)
          ^


Error: 登录获取 cred 错误:Key: 'GrantV2Req.token' Error:Field validation for 'token' failed on the 'required' tag
Key: 'GrantV2Req.appCode' Error:Field validation for 'appCode' failed on the 'required' tag
Key: 'GrantV2Req.type' Error:Field validation for 'type' failed on the 'required' tag
    at auth (/home/runner/work/skland-daily-attendance/skland-daily-attendance/src/api/hypergryph.ts:21:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at doAttendanceForAccount (/home/runner/work/skland-daily-attendance/skland-daily-attendance/src/index.ts:[14](https://github.com/Morris-Lucifer/skland-daily-attendance/actions/runs/7282501120/job/19844961632#step:8:15):20)
    at async Promise.all (index 0)
    at <anonymous> (/home/runner/work/skland-daily-attendance/skland-daily-attendance/main.ts:12:1)

Node.js v[18](https://github.com/Morris-Lucifer/skland-daily-attendance/actions/runs/7282501120/job/19844961632#step:8:19).18.2
 ELIFECYCLE  Command failed with exit code 1.

这是什么原因呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.