Aues6uen11Z
Aues6uen11Z
按理说在IDE里运行应该能看见报错,如果用命令行你可以先试试cmd /k或者pause
请附上日志,或者等过段时间我改进完报告再提bug,现在在写界面
你的窗口看上去和我不太一样,是Win11吗?如果是可能是窗口边界和我Win10不一样导致的问题,你可以打开崩三窗口调到720P后,自己新建个python文件执行这段代码看看结果是不是 (754, 1286, 3) ```python from zafkiel.device.api import API API().auto_setup(devices=["WindowsPlatform:///?title=崩坏3", ]) img = API().screenshot() print(img.shape) ```
这个结果有点离谱了啊🧐,游戏分辨率是1280*720吗?
确实不一样,你试试在HonkaiHelper/config.py里加一句,看还会不会有点错地方的情况 ```python Config.BORDER = (38, 3, 2) ``` 这个边框大小我没研究过,后面应该还是用点靠谱的方法来获取数值,而不是这样直接设置=.=
边框问题已在Zafkiel-0.1.2修复,更新后可以把自己的设置删掉了
> if i use multi-byte characters in the player name, will this function properly ? As long as the name doesn't conflict with another player's GUID, the script should operate...
> How does this work? Its not entirely clear. Sure it will change the host, but how does it correctly assign the correct playerdata to the old host? > >...
The principle behind changing the host is quite straightforward: since the GUID of the original host is anomalously set to '00...01', all that's required is to assign a standard GUID...
> > > How does this work? Its not entirely clear. Sure it will change the host, but how does it correctly assign the correct playerdata to the old host?...