Closed tsctsc6 closed 8 months ago
有很多原因会导致这个错误:
建议调用以下方法设置下 maa 的日志路径,看看日志:
private static void SetFrameworkLog(bool enableDebugMode)
{
MaaObject.FrameworkLogDir = GlobalInfo.DebugFullPath;
MaaObject.DebugMode = enableDebugMode;
}
好的,谢谢
Screencap 也在同一个 Enum 下,找一个和InputPreset 或一下。
Enum 和 MaaFramework 里的行为是一致的,包含了三种信息。
---原始邮件--- 发件人: @.> 发送时间: 2023年10月24日(周二) 晚上7:02 收件人: @.>; 抄送: @.**@.>; 主题: Re: [MaaAssistantArknights/MBA] 使用MaaToolKit.Extensions的问题 (Issue #11)
这是日志出错部分 [agent_path=./MaaAgentBinary] | enter [2023-10-24 18:52:21.049][INF][Px30224][Tx23139][ControlUnitMgr.cpp][L142][MaaNS::ControllerNS::AdbUnitNs::create_controller_unit] touch_type: MinitouchInput [2023-10-24 18:52:21.049][INF][Px30224][Tx23139][ControlUnitMgr.cpp][L167][MaaNS::ControllerNS::AdbUnitNs::create_controller_unit] key_type: TapKeyInput [2023-10-24 18:52:21.049][ERR][Px30224][Tx23139][ControlUnitMgr.cpp][L228][MaaNS::ControllerNS::AdbUnitNs::create_controller_unit] Unknown screencap type [screencap_type=0]
但我无从设置“screencap_type”
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
原来如此,解决了,谢谢