moxcomic

Results 11 issues of moxcomic

I don’t seem to find out how to dump websocket data in the demo

因为软件不支持设置代理所以要使用[Proxifier](https://www.proxifier.com)将软件转发到指定代理,但是这个软件只能设置`socks5`和`https`代理,但是`server.ListenAndServeTLS()`好像没办法支持, 开启https后将chrome设置`--proxy-server=https://127.0.0.1:8080`访问网站会提示`ERR_PROXY_CONNECTION_FAILED`或者`ERR_HTTP2_PROTOCOL_ERROR`

Rod Version: v0.114.7 --- I remember that in previous versions, when using the same code, if you manually dragged the window to change its size, the size would be maintained...

question
upstream

预览图(Preview): ![2A2F2203AE2E191C32F32B88B6AEE1AC](https://github.com/moxcomic/archer/assets/37604141/687d01e1-d42f-42b1-b833-be5dbc309e36) 1. 启动 archer.exe 2. 等待网页出现后启动 Foreigner 3. 使用 Ctrl + S 进行设置,Ctrl + I 开启/关闭点击穿透 ------ 1. Start archer.exe 2. Wait for the web page to appear and...

预览图(Preview): ![888](https://github.com/moxcomic/archer/assets/37604141/4bbf572e-a380-4159-9d6e-ccc985b739c0) 无需安装, 默认自带 ------ No installation is required; it comes by default.

只需要解压出两个不相同的文件夹即可,例如: 账号A:文件夹A 账号B:文件夹B 之后分别启动两个文件夹内的archer主程序即 注意:需要将默认设置里的端口号进行+1,比如账号A使用30010端口,账号B使用30011端口 注意:账号所持有的games是独立的,每个登录的账号都必须持有大于0场的games才能进行对局,也就是你必须购买多个账号的授权 ---- To use multiple accounts simultaneously, you just need to extract the files into two different folders. For example: - Account A: Folder A...

```golang package main import ( "fmt" "math/rand" "time" "github.com/moxcomic/Archer/gamestate" "github.com/moxcomic/Archer/variable" tenhouclient "github.com/moxcomic/engine/tenhou_client" "github.com/moxcomic/lq" ) func onLogin() { } func onTaikyoku() { } func onNewRound() { } func onConfirmNewRound() { }...

每次打开Archer都是随机服务器的,这个设置不会被保存,如果你有需求每次都需要手动选择服务器,例如中国大陆访问非中国服务器速度较慢可以手动选择中国服务器,非中国区域用户访问中国服务器较慢可以手动选择非中国服务器。 ---- Every time Archer is opened, it connects to a random server, and this setting is not saved. If you have a specific requirement, you need to manually select...

```golang package main import ( "github.com/moxcomic/lq" ) func onLogin() { // 登录时调用一次 } func onNewRound() { // 每一小局开始时调用一次 } func onConfirmNewRound() { // 每一小局结束时调用一次 } func onPlayerLeaving(seat int) { //...

Because most of the requests are HTTPS, but there are one or two HTTP requests, I need to use ListenAndServeTLS. I attempted to check for HTTP requests in proxy.OnRequest().HandleConnect() and...