Git Product home page Git Product logo

botarcapis-memories's People

Contributors

awbugl avatar dependabot[bot] avatar hikarisakurai avatar jasonren0403 avatar misaka12456 avatar t404owo avatar thesnowfield 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

botarcapis-memories's Issues

Error: Cannot find module './publicapi//'

在更新至 v4 后出现了此报错,看起来不影响正常使用。

触发方式:访问 404 endpoint

已尝试将 node_modules 删掉重新执行 npm i,还是会出现这个错误。

完整报错

[2021-04-29 20:51:40.341] I source/__loader__.ts        Accept Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0 request => GET / {}
[2021-04-29 20:51:40.344] E source/__loader__.ts        Error: Cannot find module './publicapi//'
Require stack:
- /root/service/BotArcAPI/build/source/__loader__.js
- /root/service/BotArcAPI/build/source/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at /root/service/BotArcAPI/build/source/__loader__.js:87:74
    at processTicksAndRejections (node:internal/process/task_queues:93:5)
[2021-04-29 20:51:40.348] V source/__loader__.ts        Send response back

Add `黑皇帝` alias to Chronostasis

我周围的朋友好像比起 时停,更喜欢使用 黑皇帝 这个别名

所以我想请问能否将 黑皇帝 加入 chronostasis 的 alias

How to add a new arcaea account?

Hello, I just found this project and I met the following error:

{
  status: -2,
  message: "allocate an arc account failed"
}

After reading the code I guess that I may need to add a new arcaea account to arcaccount.db. However I didn't find any related API in v1 or v2, and I don't know what are the meanings of device, ucode and token in the arcaccount.account table.

Can someone explains that how to add a new arcaea account to the database, or is there any other way to solve the "sllocate an arc account failed" error?

Arcaea soure api has poblem

This is log in output ,it said could not to login , what should I do?

[2020-11-05 21:34:17] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/coffee/12/auth/login
[2020-11-05 21:34:18] E corefunc/arcfetch.ts    Arcapi returns an error => 103
[2020-11-05 21:34:18] E corefunc/arcfetch.ts    {"success":false,"error_code":103}
[2020-11-05 21:34:18] W corefunc/arcfetch.ts    Failed... retrying 1/3
[2020-11-05 21:34:18] W corefunc/arcfetch.ts    Retry canceled => errcode 103
[2020-11-05 21:34:18] E account/alloc.ts
[2020-11-05 21:34:18] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/coffee/12/user/me
[2020-11-05 21:34:19] E corefunc/arcfetch.ts    Arcapi returns an error => 203
[2020-11-05 21:34:19] E corefunc/arcfetch.ts    {"success":false,"error_code":203}
[2020-11-05 21:34:19] W corefunc/arcfetch.ts    Failed... retrying 1/3
[2020-11-05 21:34:19] W corefunc/arcfetch.ts    Retry canceled => errcode 203
[2020-11-05 21:34:19] F unhandledRejection => unknown

querying best30 failed with code -11

Environment

  • Debian 10
  • node v15.5.1 (nvm)
  • tsc v4.1.3

Descryption

I successfully setup the project, and have inserted a userbot record into savedata/arcaccount.db.

Then when I try to GET http://myhost/v2/userbest30?usercode=463425308, I failed.

Here is the key track

[2021-01-10 01:06:59] I source/__loader__.ts    Accept Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0 request => GET /v2/use
rbest30 {"usercode":"463425308"}
[2021-01-10 01:06:59] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/latte/13/auth/login
[2021-01-10 01:07:06] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/latte/13/user/me
[2021-01-10 01:07:07] V database.arcaccount.update.ts   UPDATE `accounts` SET passwd = ?, device = ?, uid = ?, ucode = ?, token = ?, banned = ? WHERE `name`
 == ?
[2021-01-10 01:07:07] I account/alloc.ts        Allocated account => iyumebot1 9dLYP3rn4eg9JrhSZmkmkreoKT0o/Xyhtzz9afuwMtM=
[2021-01-10 01:07:07] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/latte/13/user/me
[2021-01-10 01:07:10] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/latte/13/friend/me/delete
[2021-01-10 01:07:14] V corefunc/arcfetch.ts    Arcfetch => https://arcapi.lowiro.com/latte/13/friend/me/add
[2021-01-10 01:07:21] V database.arcbest30.byuid.ts     SELECT * FROM `cache` WHERE `uid` == ?
[2021-01-10 01:07:21] V database.arcsong.allcharts.ts   SELECT * FROM `charts` ORDER BY `rating` DESC
[2021-01-10 01:07:21] E v2/userbest30.ts                TypeError: Cannot read property 'sid' of undefined
    at /root/service/BotArcAPI/build/source/publicapi/v2/userbest30.js:132:73
    at Generator.next (<anonymous>)
    at fulfilled (/root/service/BotArcAPI/build/source/publicapi/v2/userbest30.js:5:58)
[2021-01-10 01:07:21] I account/recycle.ts      Recycled account => iyumebot1 9dLYP3rn4eg9JrhSZmkmkreoKT0o/Xyhtzz9afuwMtM=
[2021-01-10 01:07:21] V source/__loader__.ts    Send response back

Others

I am able to GET http://myhost/v2/userinfo?usercode=463425308, which returns with a code 0 and correct format.

The issue about new source arcapi

Cause the latest release has been encrypted from the official,
We need several times to process it.

BTW, There's a terrible message.
Everything changed. :(

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.