anosora233 / majsoul-hook-mitm

A majsoul message hook based on mitmproxy.
GNU General Public License v3.0
27 stars 6 forks source link

小助手改成Ture之后程序闪退 #21

Closed BBHIMW closed 7 months ago

BBHIMW commented 7 months ago

纯萌新,小助手改成Ture之后程序闪退,基于mitmproxy的中间人攻击方式使用mahjong-helper会导致冲突

anosora233 commented 7 months ago

遵从 JSON 格式,应为小写的 true

BBHIMW commented 7 months ago

遵从 JSON 格式,应为小写的 true

是小写,还是闪退,是小助手位置或代理需要什么要求吗

anosora233 commented 7 months ago

遵从 JSON 格式,应为小写的 true

是小写,还是闪退,是小助手位置或代理需要什么要求吗

请在命令行下启动,并附上报错。

BBHIMW commented 7 months ago

遵从 JSON 格式,应为小写的 true

是小写,还是闪退,是小助手位置或代理需要什么要求吗

请在命令行下启动,并附上报错。

Traceback (most recent call last): File "mhmp.py", line 1, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "mhm__main.py", line 4, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "mhm\common.py", line 6, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "mhm\addon.py", line 9, in File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "mhm\config.py", line 107, in File "json\init.py", line 293, in load File "json\init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 355, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 4 column 14 (char 46) [22264] Failed to execute script 'mhmp' due to unhandled exception!

anosora233 commented 7 months ago

你是否将 true 错误拼写为 ture ? 另外请附上配置文件内容

BBHIMW commented 7 months ago

你是否将 true 错误拼写为 ture ? 另外请附上配置文件内容

是的,已解决,谢谢。