747929791 / MajsoulAI

以JianYangAI作后端,进行在线雀魂对局
MIT License
265 stars 59 forks source link

liqi.json 需要更新了 #11

Closed moyuqianshi closed 3 years ago

moyuqianshi commented 3 years ago

Traceback (most recent call last): File "main.py", line 742, in MainLoop(level=level) File "main.py", line 705, in MainLoop while not aiWrapper.isPlaying(): File "main.py", line 107, in isPlaying result = liqiProto.parse(flow_msg) File "C:\xxxx\MajsoulAI-master\majsoul_wrapper\liqi.py", line 84, in parse proto_domain = self.jsonProto['nested'][lq]['nested'][service]['methods'][rpc] KeyError: 'fetchABMatchInfo'

MichaelMai2000 commented 3 years ago

https://github.com/747929791/majsoul_wrapper/blame/master/README.md#L176-L202 这里写了该如何自己更新。 新的liqi.json可以这样获取:

wget https://game.maj-soul.com/1/v0.8.188.w/res/proto/liqi.json
moyuqianshi commented 3 years ago

https://github.com/747929791/majsoul_wrapper/blame/master/README.md#L176-L202 这里写了该如何自己更新。 新的liqi.json可以这样获取:

wget https://game.maj-soul.com/1/v0.8.188.w/res/proto/liqi.json

多谢! 第一个liqi.proto可以了, 可是第二个还没成功, 我还需要再试一下

MichaelMai2000 commented 3 years ago

@moyuqianshi 温馨提示,版本更新之后,liqi,json的URL也会更新。