mjsoul icon indicating copy to clipboard operation
mjsoul copied to clipboard

majsoul client

Results 7 mjsoul issues
Sort by recently updated
recently updated
newest added

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.9.0 to 6.11.3. Release notes Sourced from protobufjs's releases. v6.11.3 6.11.3 (2022-05-20) Bug Fixes deps: use eslint 8.x (#1728) (a8681ce) do not let setProperty change the prototype...

dependencies

运行 ```js const MJSoul = require("mjsoul") const mjsoul = new MJSoul({ url: "wss://mjusgs.mahjongsoul.com:9663/", //雀魂ws连接地址,可以修改为日服或者国际服的地址 timeout: 5000, //异步超时时间,超时则会reject wsOption: "" //websocket参数(使用https://github.com/websockets/ws),可以用来配置代理等 }) let data = await mjsoul.sendAsync('oauth2Login', { type: 10, access_token:...

请求: ```json { "Success":true, "Type":0, "MethodName":".lq.Lobby.matchGame", "Json":null, "Data":{"match_mode":2, "client_version_string":"web-0.9.205"} } ``` 响应: ```json { "Success":true,"Type":1, "MethodName":".lq.Lobby.matchGame", "Json":{"error":{}}, "Data":null } ``` 之后一直在等待。我用浏览器查看匹配到对局时,应该会收到.lq.NotifyMatchGameStart。

Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6. Release notes Sourced from ws's releases. 7.4.6 Bug fixes Fixed a ReDoS vulnerability (00c425ec). A specially crafted value of the Sec-Websocket-Protocol header could be...

dependencies

首先感谢作者制作这个API,对我们进行的项目帮助很大 但是API仍然有一部分的缺陷,例如创建一个友人房具体需要调用哪些API,如果作者可以给一些实例的话,会有很大的帮助

替换了liqi.json 用qq邮箱和登录密码替换了test.js中的account和password 尝试直接用node ./test.js启动项目 但是一直未成功登录 mjsoul中url是'wss://gateway-v2.maj-soul.com/gateway' ![testjs](https://user-images.githubusercontent.com/42296026/196452256-fee2932c-e0f3-4093-88f5-d7568395ed93.PNG)

data = { 'last_index': 0 } await mgr.send('fetchContestGameRecords', print, data) 在fetchContestGameRecords中 req为 ReqFetchCustomizedContestGameRecordList ReqFetchCustomizedContestGameRecordList里有一个last_index值 我无论last_index赋值多少 亦或者None,永远返回error code=2501 我真是头大死了 请问您是否能指导一下