Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java调用postPipeline无法执行customAction #501

Open
SCzfdf opened this issue Dec 29, 2024 · 2 comments
Open

java调用postPipeline无法执行customAction #501

SCzfdf opened this issue Dec 29, 2024 · 2 comments

Comments

@SCzfdf
Copy link

SCzfdf commented Dec 29, 2024

日志没报异常

private void loopScreenshot() {
        try (Tasker tasker = new Tasker()){
            tasker.bind(resource, controller);
            while (true) {
                long now = System.currentTimeMillis();
                TaskFuture<TaskDetail> taskFuture = tasker.postPipeline("screenshot",
                        Map.of("screenshot",
                                Map.of("action", "Custom",
                                        "custom_action", "screenshotAction",
                                        "pre_delay", 0,
                                        "post_delay", 0)
                        ));
                ThreadUtil.sleep(5000);
                TaskDetail taskDetail = taskFuture.get();
                log.info("Screenshot time:{}, result:{}", System.currentTimeMillis() - now, taskDetail);
            }
        }
    }

下面是执行日志
2024-12-29T10:19:25.956+08:00 INFO 4407 --- [maa-random-dice] [ main] c.s.m.r.dice.MaaFishJavaApplication : Starting MaaFishJavaApplication using Java 17.0.10 with PID 4407 (/Users/cgb/IdeaProjects/maa-random-dice/target/classes started by cgb in /Users/cgb/IdeaProjects/maa-random-dice)
2024-12-29T10:19:25.958+08:00 INFO 4407 --- [maa-random-dice] [ main] c.s.m.r.dice.MaaFishJavaApplication : No active profile set, falling back to 1 default profile: "default"
2024-12-29T10:19:29.014+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set logDir: resources/maa/debug, result: true
2024-12-29T10:19:29.015+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set recording: false, result: true
2024-12-29T10:19:29.015+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set debugMessage: false, result: true
2024-12-29T10:19:29.016+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set saveDraw: false, result: true
2024-12-29T10:19:29.016+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set stdoutLevel: INFO, result: true
[2024-11-29 10:19:29.016][INF][Px4407][Tx24025][GlobalOptionMgr.cpp][L72][bool MaaNS::GlobalOptionMgr::set_show_hit_draw(MaaOptionValue, MaaOptionValueSize)] Set show_hit_draw [show_hit_draw_=false]
2024-12-29T10:19:29.016+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set showHitDraw: false, result: true
2024-12-29T10:19:29.016+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : Maa v2.3.1 created successfully.
2024-12-29T10:19:29.016+08:00 INFO 4407 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : adb killer registered.
[2024-11-29 10:19:29.019][INF][Px4407][Tx24025][AdbDeviceFinder.cpp][L123][std::vectorAdbDeviceFinder::Emulator MaaNS::ToolkitNS::AdbDeviceFinder::find_emulators() const] [result=["[emulator.name=MuMuPlayerPro] [emulator.process=3829 MuMuEmulator] "]]
[2024-11-29 10:19:29.019][INF][Px4407][Tx24025][LibraryHolder.h][L64][static bool MaaNS::LibraryHolderMaaNS::AdbControlUnitLibraryHolder::load_library(const std::filesystem::path &) [T = MaaNS::AdbControlUnitLibraryHolder]] Loading library [libname=/Users/cgb/IdeaProjects/maa-random-dice/resources/maa/lib/MaaAdbControlUnit]
[2024-11-29 10:19:29.235][INF][Px4407][Tx24025][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:19:29.266][INF][Px4407][Tx24025][DeviceList.cpp][L53][std::optional<std::vectorstd::string> MaaNS::CtrlUnitNs::DeviceList::request_devices()] [devices=["emulator-5554"]]
[2024-11-29 10:19:29.266][INF][Px4407][Tx24025][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:19:29.286][INF][Px4407][Tx24025][Connection.cpp][L90][bool MaaNS::CtrlUnitNs::Connection::connect_remote()] unable to connect
[2024-11-29 10:19:29.286][INF][Px4407][Tx24025][Connection.cpp][L41][bool MaaNS::CtrlUnitNs::Connection::connect()] failed to connect remote
[2024-11-29 10:19:29.286][ERR][Px4407][Tx24025][ControlUnitMgr.cpp][L55][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] failed to connect [adb_path_=/Applications/MuMuPlayer.app/Contents/MacOS/MuMuEmulator.app/Contents/MacOS/tools/adb] [adb_serial_=127.0.0.1:16384]
[2024-11-29 10:19:29.286][INF][Px4407][Tx24025][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:19:29.310][INF][Px4407][Tx24025][Connection.cpp][L95][bool MaaNS::CtrlUnitNs::Connection::connect_remote()] connected
[2024-11-29 10:19:29.342][WRN][Px4407][Tx24025][ControlUnitMgr.cpp][L72][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] screencap_methods_ is MaaAdbScreencapMethod_None
[2024-11-29 10:19:29.342][WRN][Px4407][Tx24025][ControlUnitMgr.cpp][L88][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] input_methods_ is MaaAdbInputMethod_None
[2024-11-29 10:19:29.342][INF][Px4407][Tx24025][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:19:29.384][WRN][Px4407][Tx24025][ControlUnitMgr.cpp][L72][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] screencap_methods_ is MaaAdbScreencapMethod_None
[2024-11-29 10:19:29.384][WRN][Px4407][Tx24025][ControlUnitMgr.cpp][L88][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] input_methods_ is MaaAdbInputMethod_None
[2024-11-29 10:19:29.385][INF][Px4407][Tx24025][AdbDeviceFinder.cpp][L61][std::vector MaaNS::ToolkitNS::AdbDeviceFinder::find() const] [result=["[device.name=MuMuPlayerPro] [device.adb_path="/Applications/MuMuPlayer.app/Contents/MacOS/MuMuEmulator.app/Contents/MacOS/tools/adb"] [device.serial=127.0.0.1:16416] [device.screencap_methods=18446744073709551559] [device.input_methods=18446744073709551607] [device.config={\n}] ","[device.name=MuMuPlayerPro] [device.adb_path="/Applications/MuMuPlayer.app/Contents/MacOS/MuMuEmulator.app/Contents/MacOS/tools/adb"] [device.serial=emulator-5554] [device.screencap_methods=18446744073709551559] [device.input_methods=18446744073709551607] [device.config={\n}] "]]
[2024-11-29 10:19:29.448][INF][Px4407][Tx24025][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:19:29.523][INF][Px4407][Tx59631][Connection.cpp][L95][bool MaaNS::CtrlUnitNs::Connection::connect_remote()] connected
[2024-11-29 10:19:29.554][WRN][Px4407][Tx59631][ScreencapAgent.cpp][L46][MaaNS::CtrlUnitNs::ScreencapAgent::ScreencapAgent(MaaAdbScreencapMethod, const std::filesystem::path &)] EmulatorExtras is not supported on this platform
[2024-11-29 10:19:29.554][INF][Px4407][Tx59631][ScreencapAgent.cpp][L50][MaaNS::CtrlUnitNs::ScreencapAgent::ScreencapAgent(MaaAdbScreencapMethod, const std::filesystem::path &)] [methods=18446744073709551575] [method_set=["MinicapDirect","RawWithGzip","Encode","EncodeToFileAndPull"]] [agent_path=/Users/cgb/IdeaProjects/maa-random-dice/resources/maa/agent]
[2024-11-29 10:19:29.707][INF][Px4407][Tx59631][ScreencapAgent.cpp][L223][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] Testing EncodeToFileAndPull
[2024-11-29 10:19:32.762][INF][Px4407][Tx59631][ScreencapAgent.cpp][L207][auto MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()::(anonymous class)::operator()(Method, std::chrono::steady_clock::time_point) const] [method=EncodeToFileAndPull] [duration=3054ms]
[2024-11-29 10:19:32.762][INF][Px4407][Tx59631][ScreencapAgent.cpp][L223][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] Testing Encode
[2024-11-29 10:19:36.607][INF][Px4407][Tx59631][ScreencapHelper.cpp][L52][std::optionalcv::Mat MaaNS::CtrlUnitNs::ScreencapHelper::process_data(std::string &, std::function<std::optionalcv::Mat (const std::string &)>)] end_of_line is LF
[2024-11-29 10:19:36.608][INF][Px4407][Tx59631][ScreencapAgent.cpp][L207][auto MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()::(anonymous class)::operator()(Method, std::chrono::steady_clock::time_point) const] [method=Encode] [duration=3845ms]
[2024-11-29 10:19:36.608][INF][Px4407][Tx59631][ScreencapAgent.cpp][L223][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] Testing RawWithGzip
[2024-11-29 10:19:37.530][INF][Px4407][Tx59631][ScreencapHelper.cpp][L52][std::optionalcv::Mat MaaNS::CtrlUnitNs::ScreencapHelper::process_data(std::string &, std::function<std::optionalcv::Mat (const std::string &)>)] end_of_line is LF
[2024-11-29 10:19:37.531][INF][Px4407][Tx59631][ScreencapAgent.cpp][L207][auto MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()::(anonymous class)::operator()(Method, std::chrono::steady_clock::time_point) const] [method=RawWithGzip] [duration=922ms]
[2024-11-29 10:19:37.531][INF][Px4407][Tx59631][ScreencapAgent.cpp][L237][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] The fastest method is RawWithGzip [cost=922ms]
[2024-11-29 10:19:37.531][INF][Px4407][Tx59631][InputAgent.cpp][L35][MaaNS::CtrlUnitNs::InputAgent::InputAgent(MaaAdbInputMethod, const std::filesystem::path &)] [methods=18446744073709551607] [method_vector=["Maatouch","MinitouchAndAdbKey","AdbShell"]] [agent_path=/Users/cgb/IdeaProjects/maa-random-dice/resources/maa/agent]
[2024-11-29 10:19:38.625][INF][Px4407][Tx59631][MtouchHelper.cpp][L29][bool MaaNS::CtrlUnitNs::MtouchHelper::read_info()] [info= 10 1080 1920 255
]
[2024-11-29 10:19:38.849][INF][Px4407][Tx59631][MtouchHelper.cpp][L50][bool MaaNS::CtrlUnitNs::MtouchHelper::read_info()] [display_width_=1080] [display_height_=1920] [touch_width_=1080] [touch_height_=1920] [xscale_=1] [yscale_=1] [press_=255] [orientation_=0]
[2024-11-29 10:19:38.915][INF][Px4407][Tx24025][ResourceMgr.cpp][L50][virtual MaaResId MaaNS::ResourceNS::ResourceMgr::post_path(const std::filesystem::path &)] [path=/Users/cgb/IdeaProjects/maa-random-dice/resources]
[2024-11-29 10:19:38.915][INF][Px4407][Tx8009][ResourceMgr.cpp][L265][static const std::unordered_set &MaaNS::ResourceNS::ResourceMgr::available_providers()] [all_providers_vec=["CoreMLExecutionProvider","CPUExecutionProvider"]]
[2024-11-29 10:19:38.915][INF][Px4407][Tx8009][ResourceMgr.cpp][L293][static const std::unordered_set &MaaNS::ResourceNS::ResourceMgr::available_providers()] [s_provider_cache=[3,1]]
[2024-11-29 10:19:38.915][INF][Px4407][Tx8009][ONNXResMgr.cpp][L94][void MaaNS::ResourceNS::ONNXResMgr::use_coreml(uint32_t)] [coreml_flag=4]
[2024-11-29 10:19:38.915][INF][Px4407][Tx8009][ONNXResMgr.cpp][L107][void MaaNS::ResourceNS::ONNXResMgr::use_coreml(uint32_t)] Using CoreML execution provider
[2024-11-29 10:19:38.915][INF][Px4407][Tx8009][OCRResMgr.cpp][L47][void MaaNS::ResourceNS::OCRResMgr::use_coreml(uint32_t)] [coreml_flag=4]
[2024-11-29 10:19:38.915][WRN][Px4407][Tx8009][OCRResMgr.cpp][L51][void MaaNS::ResourceNS::OCRResMgr::use_coreml(uint32_t)] OCR REC with CoreML is very poor. I don’t know the reason yet. Roll back to using CPU for REC. (DET still uses CoreML)
[2024-11-29 10:19:38.916][INF][Px4407][Tx8009][ResourceMgr.cpp][L523][bool MaaNS::ResourceNS::ResourceMgr::load(const std::filesystem::path &)] [path=/Users/cgb/IdeaProjects/maa-random-dice/resources] [ret=true]
[2024-11-29 10:19:38.917][INF][Px4407][Tx8009][ResourceMgr.cpp][L147][std::string MaaNS::ResourceNS::ResourceMgr::calc_hash()] [hash_cache_=7fb0ea9171d2c4b5]
2024-12-29T10:19:38.960+08:00 INFO 4407 --- [maa-random-dice] [ main] c.s.m.r.dice.MaaFishJavaApplication : Started MaaFishJavaApplication in 13.155 seconds (process running for 13.633)
2024-12-29T10:19:38.965+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 0] = [150, 700]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 1] = [230, 700]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 2] = [310, 700]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 3] = [390, 700]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 4] = [470, 700]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 0] = [150, 780]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 1] = [230, 780]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 2] = [310, 780]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 3] = [390, 780]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 4] = [470, 780]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 0] = [150, 860]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 1] = [230, 860]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 2] = [310, 860]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 3] = [390, 860]
2024-12-29T10:19:38.966+08:00 INFO 4407 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 4] = [470, 860]
[2024-11-29 10:19:38.970][INF][Px4407][Tx60481][Tasker.cpp][L33][virtual bool MaaNS::Tasker::bind_resource(MaaResource *)] [this=0x125363a00] [resource=0x1250fc800]
[2024-11-29 10:19:38.970][INF][Px4407][Tx60481][Tasker.cpp][L47][virtual bool MaaNS::Tasker::bind_controller(MaaController *)] [this=0x125363a00] [controller=0x109e20e80]
[2024-11-29 10:19:38.972][INF][Px4407][Tx60481][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:19:38.972][INF][Px4407][Tx37392][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "7fb0ea9171d2c4b5",
"task_id": 100000001,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:19:39.998][INF][Px4407][Tx59631][ControllerAgent.cpp][L767][bool MaaNS::ControllerNS::ControllerAgent::postproc_screenshot(const cv::Mat &)] Resolution changed [raw.cols=1080] [raw.rows=1920] [image_raw_width_=0] [image_raw_height_=0]
[2024-11-29 10:19:39.998][INF][Px4407][Tx59631][ControllerAgent.cpp][L823][bool MaaNS::ControllerNS::ControllerAgent::calc_target_image_size()] [image_target_width_=720] [image_target_height_=1280]
[2024-11-29 10:19:40.000][INF][Px4407][Tx37392][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:19:40.001][INF][Px4407][Tx37392][Tasker.cpp][L256][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task end: [cb_detail={
"entry": "screenshot",
"hash": "7fb0ea9171d2c4b5",
"task_id": 100000001,
"uuid": "5874c0d3809f79d2"
}] [ret=true]
2024-12-29T10:19:43.993+08:00 INFO 4407 --- [maa-random-dice] [ Thread-2] c.s.m.random.dice.handler.StartHandler : Screenshot time:5023, result:TaskDetail(taskId=100000001, entry=screenshot, nodeDetails=[NodeDetail(nodeId=200000001, name=screenshot, completed=true, recognition=RecognitionDetail(recoId=0, name=screenshot, hitBox=Rect(x=0, y=0, w=0, h=0), bestResult=null, allResultList=[], filteredResultList=[], algorithm=DIRECT_HIT, rawDetailJson=null, rawDetail=null, rawImage=null, drawImages=[]))], status=io.github.hanhuoer.maa.core.util.Status@3ad7f42e)
[2024-11-29 10:19:44.000][INF][Px4407][Tx60481][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:19:44.000][INF][Px4407][Tx37392][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "7fb0ea9171d2c4b5",
"task_id": 100000002,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:19:44.947][INF][Px4407][Tx37392][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:19:44.948][INF][Px4407][Tx37392][Tasker.cpp][L256][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task end: [cb_detail={
"entry": "screenshot",
"hash": "7fb0ea9171d2c4b5",
"task_id": 100000002,
"uuid": "5874c0d3809f79d2"
}] [ret=true]

@SCzfdf
Copy link
Author

SCzfdf commented Dec 29, 2024

"custom_action", "screenshotAction", 改为 "custom_action", "screenshotAction1"(不存在的action),
下面是执行日志
2024-12-29T10:14:14.075+08:00 INFO 3891 --- [maa-random-dice] [ main] c.s.m.r.dice.MaaFishJavaApplication : Starting MaaFishJavaApplication using Java 17.0.10 with PID 3891 (/Users/cgb/IdeaProjects/maa-random-dice/target/classes started by cgb in /Users/cgb/IdeaProjects/maa-random-dice)
2024-12-29T10:14:14.077+08:00 INFO 3891 --- [maa-random-dice] [ main] c.s.m.r.dice.MaaFishJavaApplication : No active profile set, falling back to 1 default profile: "default"
2024-12-29T10:14:16.301+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set logDir: resources/maa/debug, result: true
2024-12-29T10:14:16.303+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set recording: false, result: true
2024-12-29T10:14:16.303+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set debugMessage: false, result: true
2024-12-29T10:14:16.303+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set saveDraw: false, result: true
2024-12-29T10:14:16.303+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set stdoutLevel: INFO, result: true
[2024-11-29 10:14:16.303][INF][Px3891][Tx37206][GlobalOptionMgr.cpp][L72][bool MaaNS::GlobalOptionMgr::set_show_hit_draw(MaaOptionValue, MaaOptionValueSize)] Set show_hit_draw [show_hit_draw_=false]
2024-12-29T10:14:16.303+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : [maa] set showHitDraw: false, result: true
2024-12-29T10:14:16.303+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : Maa v2.3.1 created successfully.
2024-12-29T10:14:16.304+08:00 INFO 3891 --- [maa-random-dice] [ main] io.github.hanhuoer.maa.Maa : adb killer registered.
[2024-11-29 10:14:16.306][INF][Px3891][Tx37206][AdbDeviceFinder.cpp][L123][std::vectorAdbDeviceFinder::Emulator MaaNS::ToolkitNS::AdbDeviceFinder::find_emulators() const] [result=["[emulator.name=MuMuPlayerPro] [emulator.process=3829 MuMuEmulator] "]]
[2024-11-29 10:14:16.307][INF][Px3891][Tx37206][LibraryHolder.h][L64][static bool MaaNS::LibraryHolderMaaNS::AdbControlUnitLibraryHolder::load_library(const std::filesystem::path &) [T = MaaNS::AdbControlUnitLibraryHolder]] Loading library [libname=/Users/cgb/IdeaProjects/maa-random-dice/resources/maa/lib/MaaAdbControlUnit]
[2024-11-29 10:14:16.474][INF][Px3891][Tx37206][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:14:16.620][INF][Px3891][Tx37206][DeviceList.cpp][L53][std::optional<std::vectorstd::string> MaaNS::CtrlUnitNs::DeviceList::request_devices()] [devices=[]]
[2024-11-29 10:14:16.620][INF][Px3891][Tx37206][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:14:16.637][INF][Px3891][Tx37206][Connection.cpp][L90][bool MaaNS::CtrlUnitNs::Connection::connect_remote()] unable to connect
[2024-11-29 10:14:16.637][INF][Px3891][Tx37206][Connection.cpp][L41][bool MaaNS::CtrlUnitNs::Connection::connect()] failed to connect remote
[2024-11-29 10:14:16.637][ERR][Px3891][Tx37206][ControlUnitMgr.cpp][L55][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] failed to connect [adb_path_=/Applications/MuMuPlayer.app/Contents/MacOS/MuMuEmulator.app/Contents/MacOS/tools/adb] [adb_serial_=127.0.0.1:16384]
[2024-11-29 10:14:16.637][INF][Px3891][Tx37206][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:14:16.658][INF][Px3891][Tx37206][Connection.cpp][L95][bool MaaNS::CtrlUnitNs::Connection::connect_remote()] connected
[2024-11-29 10:14:16.682][WRN][Px3891][Tx37206][ControlUnitMgr.cpp][L72][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] screencap_methods_ is MaaAdbScreencapMethod_None
[2024-11-29 10:14:16.682][WRN][Px3891][Tx37206][ControlUnitMgr.cpp][L88][virtual bool MaaNS::CtrlUnitNs::ControlUnitMgr::connect()] input_methods_ is MaaAdbInputMethod_None
[2024-11-29 10:14:16.682][INF][Px3891][Tx37206][AdbDeviceFinder.cpp][L61][std::vector MaaNS::ToolkitNS::AdbDeviceFinder::find() const] [result=["[device.name=MuMuPlayerPro] [device.adb_path="/Applications/MuMuPlayer.app/Contents/MacOS/MuMuEmulator.app/Contents/MacOS/tools/adb"] [device.serial=127.0.0.1:16416] [device.screencap_methods=18446744073709551559] [device.input_methods=18446744073709551607] [device.config={\n}] "]]
[2024-11-29 10:14:16.743][INF][Px3891][Tx37206][ControlUnit.cpp][L22][bool MaaNS::check_version(const std::string &) [ControlUnitT = MaaNS::AdbControlUnitLibraryHolder, GetVersionT = const char *()]] N5MaaNS27AdbControlUnitLibraryHolderE Library version: v2.3.1
[2024-11-29 10:14:16.800][INF][Px3891][Tx41804][Connection.cpp][L95][bool MaaNS::CtrlUnitNs::Connection::connect_remote()] connected
[2024-11-29 10:14:16.822][WRN][Px3891][Tx41804][ScreencapAgent.cpp][L46][MaaNS::CtrlUnitNs::ScreencapAgent::ScreencapAgent(MaaAdbScreencapMethod, const std::filesystem::path &)] EmulatorExtras is not supported on this platform
[2024-11-29 10:14:16.822][INF][Px3891][Tx41804][ScreencapAgent.cpp][L50][MaaNS::CtrlUnitNs::ScreencapAgent::ScreencapAgent(MaaAdbScreencapMethod, const std::filesystem::path &)] [methods=18446744073709551575] [method_set=["MinicapDirect","RawWithGzip","Encode","EncodeToFileAndPull"]] [agent_path=/Users/cgb/IdeaProjects/maa-random-dice/resources/maa/agent]
[2024-11-29 10:14:16.880][INF][Px3891][Tx41804][ScreencapAgent.cpp][L223][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] Testing EncodeToFileAndPull
[2024-11-29 10:14:17.640][INF][Px3891][Tx41804][ScreencapAgent.cpp][L207][auto MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()::(anonymous class)::operator()(Method, std::chrono::steady_clock::time_point) const] [method=EncodeToFileAndPull] [duration=760ms]
[2024-11-29 10:14:17.640][INF][Px3891][Tx41804][ScreencapAgent.cpp][L223][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] Testing Encode
[2024-11-29 10:14:18.340][INF][Px3891][Tx41804][ScreencapHelper.cpp][L52][std::optionalcv::Mat MaaNS::CtrlUnitNs::ScreencapHelper::process_data(std::string &, std::function<std::optionalcv::Mat (const std::string &)>)] end_of_line is LF
[2024-11-29 10:14:18.340][INF][Px3891][Tx41804][ScreencapAgent.cpp][L207][auto MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()::(anonymous class)::operator()(Method, std::chrono::steady_clock::time_point) const] [method=Encode] [duration=699ms]
[2024-11-29 10:14:18.340][INF][Px3891][Tx41804][ScreencapAgent.cpp][L223][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] Testing RawWithGzip
[2024-11-29 10:14:18.552][INF][Px3891][Tx41804][ScreencapHelper.cpp][L52][std::optionalcv::Mat MaaNS::CtrlUnitNs::ScreencapHelper::process_data(std::string &, std::function<std::optionalcv::Mat (const std::string &)>)] end_of_line is LF
[2024-11-29 10:14:18.552][INF][Px3891][Tx41804][ScreencapAgent.cpp][L207][auto MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()::(anonymous class)::operator()(Method, std::chrono::steady_clock::time_point) const] [method=RawWithGzip] [duration=211ms]
[2024-11-29 10:14:18.552][INF][Px3891][Tx41804][ScreencapAgent.cpp][L237][std::shared_ptr MaaNS::CtrlUnitNs::ScreencapAgent::speed_test()] The fastest method is RawWithGzip [cost=211ms]
[2024-11-29 10:14:18.552][INF][Px3891][Tx41804][InputAgent.cpp][L35][MaaNS::CtrlUnitNs::InputAgent::InputAgent(MaaAdbInputMethod, const std::filesystem::path &)] [methods=18446744073709551607] [method_vector=["Maatouch","MinitouchAndAdbKey","AdbShell"]] [agent_path=/Users/cgb/IdeaProjects/maa-random-dice/resources/maa/agent]
[2024-11-29 10:14:18.759][INF][Px3891][Tx41804][MtouchHelper.cpp][L29][bool MaaNS::CtrlUnitNs::MtouchHelper::read_info()] [info= 10 1080 1920 255
]
[2024-11-29 10:14:18.836][INF][Px3891][Tx41804][MtouchHelper.cpp][L50][bool MaaNS::CtrlUnitNs::MtouchHelper::read_info()] [display_width_=1080] [display_height_=1920] [touch_width_=1080] [touch_height_=1920] [xscale_=1] [yscale_=1] [press_=255] [orientation_=0]
[2024-11-29 10:14:18.877][INF][Px3891][Tx37206][ResourceMgr.cpp][L50][virtual MaaResId MaaNS::ResourceNS::ResourceMgr::post_path(const std::filesystem::path &)] [path=/Users/cgb/IdeaProjects/maa-random-dice/resources]
[2024-11-29 10:14:18.877][INF][Px3891][Tx27814][ResourceMgr.cpp][L265][static const std::unordered_set &MaaNS::ResourceNS::ResourceMgr::available_providers()] [all_providers_vec=["CoreMLExecutionProvider","CPUExecutionProvider"]]
[2024-11-29 10:14:18.877][INF][Px3891][Tx27814][ResourceMgr.cpp][L293][static const std::unordered_set &MaaNS::ResourceNS::ResourceMgr::available_providers()] [s_provider_cache=[3,1]]
[2024-11-29 10:14:18.877][INF][Px3891][Tx27814][ONNXResMgr.cpp][L94][void MaaNS::ResourceNS::ONNXResMgr::use_coreml(uint32_t)] [coreml_flag=4]
[2024-11-29 10:14:18.877][INF][Px3891][Tx27814][ONNXResMgr.cpp][L107][void MaaNS::ResourceNS::ONNXResMgr::use_coreml(uint32_t)] Using CoreML execution provider
[2024-11-29 10:14:18.877][INF][Px3891][Tx27814][OCRResMgr.cpp][L47][void MaaNS::ResourceNS::OCRResMgr::use_coreml(uint32_t)] [coreml_flag=4]
[2024-11-29 10:14:18.877][WRN][Px3891][Tx27814][OCRResMgr.cpp][L51][void MaaNS::ResourceNS::OCRResMgr::use_coreml(uint32_t)] OCR REC with CoreML is very poor. I don’t know the reason yet. Roll back to using CPU for REC. (DET still uses CoreML)
[2024-11-29 10:14:18.879][INF][Px3891][Tx27814][ResourceMgr.cpp][L523][bool MaaNS::ResourceNS::ResourceMgr::load(const std::filesystem::path &)] [path=/Users/cgb/IdeaProjects/maa-random-dice/resources] [ret=true]
[2024-11-29 10:14:18.883][INF][Px3891][Tx27814][ResourceMgr.cpp][L147][std::string MaaNS::ResourceNS::ResourceMgr::calc_hash()] [hash_cache_=25136e274acf2b88]
2024-12-29T10:14:18.928+08:00 INFO 3891 --- [maa-random-dice] [ main] c.s.m.r.dice.MaaFishJavaApplication : Started MaaFishJavaApplication in 5.013 seconds (process running for 5.463)
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 0] = [150, 700]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 1] = [230, 700]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 2] = [310, 700]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 3] = [390, 700]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [0, 4] = [470, 700]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 0] = [150, 780]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 1] = [230, 780]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 2] = [310, 780]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 3] = [390, 780]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [1, 4] = [470, 780]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 0] = [150, 860]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 1] = [230, 860]
2024-12-29T10:14:18.934+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 2] = [310, 860]
2024-12-29T10:14:18.935+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 3] = [390, 860]
2024-12-29T10:14:18.935+08:00 INFO 3891 --- [maa-random-dice] [ main] c.sczfdf.maa.random.dice.bean.RDContext : init_dice_list [2, 4] = [470, 860]
[2024-11-29 10:14:18.938][INF][Px3891][Tx35039][Tasker.cpp][L33][virtual bool MaaNS::Tasker::bind_resource(MaaResource *)] [this=0x151105e00] [resource=0x152d6d800]
[2024-11-29 10:14:18.938][INF][Px3891][Tx35039][Tasker.cpp][L47][virtual bool MaaNS::Tasker::bind_controller(MaaController *)] [this=0x151105e00] [controller=0x1056ac170]
[2024-11-29 10:14:18.940][INF][Px3891][Tx35039][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction1",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:14:18.940][INF][Px3891][Tx57052][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000001,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:14:19.157][INF][Px3891][Tx41804][ControllerAgent.cpp][L767][bool MaaNS::ControllerNS::ControllerAgent::postproc_screenshot(const cv::Mat &)] Resolution changed [raw.cols=1080] [raw.rows=1920] [image_raw_width_=0] [image_raw_height_=0]
[2024-11-29 10:14:19.157][INF][Px3891][Tx41804][ControllerAgent.cpp][L823][bool MaaNS::ControllerNS::ControllerAgent::calc_target_image_size()] [image_target_width_=720] [image_target_height_=1280]
[2024-11-29 10:14:19.158][INF][Px3891][Tx57052][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:14:19.159][ERR][Px3891][Tx57052][CustomAction.cpp][L19][static bool MaaNS::TaskNS::CustomAction::run(Context &, std::string, MaaNS::ResourceNS::CustomActionSession, const MaaNS::ResourceNS::Action::CustomParam &, MaaRecoId, const cv::Rect &)] Action is null [task_name=screenshot] [param.name=screenshotAction1]
[2024-11-29 10:14:19.159][INF][Px3891][Tx57052][PipelineTask.cpp][L81][virtual bool MaaNS::TaskNS::PipelineTask::run()] handle error [current.name=screenshot]
[2024-11-29 10:14:19.159][INF][Px3891][Tx57052][Tasker.cpp][L256][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task end: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000001,
"uuid": "5874c0d3809f79d2"
}] [ret=false]

2024-12-29T10:14:23.957+08:00 INFO 3891 --- [maa-random-dice] [ Thread-2] c.s.m.random.dice.handler.StartHandler : Screenshot time:5019, result:TaskDetail(taskId=100000001, entry=screenshot, nodeDetails=[NodeDetail(nodeId=200000001, name=screenshot, completed=true, recognition=RecognitionDetail(recoId=0, name=screenshot, hitBox=Rect(x=0, y=0, w=0, h=0), bestResult=null, allResultList=[], filteredResultList=[], algorithm=DIRECT_HIT, rawDetailJson=null, rawDetail=null, rawImage=null, drawImages=[]))], status=io.github.hanhuoer.maa.core.util.Status@263628db)
[2024-11-29 10:14:23.966][INF][Px3891][Tx35039][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction1",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:14:23.966][INF][Px3891][Tx57052][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000002,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:14:24.196][INF][Px3891][Tx57052][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:14:24.196][ERR][Px3891][Tx57052][CustomAction.cpp][L19][static bool MaaNS::TaskNS::CustomAction::run(Context &, std::string, MaaNS::ResourceNS::CustomActionSession, const MaaNS::ResourceNS::Action::CustomParam &, MaaRecoId, const cv::Rect &)] Action is null [task_name=screenshot] [param.name=screenshotAction1]
[2024-11-29 10:14:24.196][INF][Px3891][Tx57052][PipelineTask.cpp][L81][virtual bool MaaNS::TaskNS::PipelineTask::run()] handle error [current.name=screenshot]
[2024-11-29 10:14:24.196][INF][Px3891][Tx57052][Tasker.cpp][L256][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task end: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000002,
"uuid": "5874c0d3809f79d2"
}] [ret=false]
2024-12-29T10:14:28.970+08:00 INFO 3891 --- [maa-random-dice] [ Thread-2] c.s.m.random.dice.handler.StartHandler : Screenshot time:5005, result:TaskDetail(taskId=100000002, entry=screenshot, nodeDetails=[NodeDetail(nodeId=200000002, name=screenshot, completed=true, recognition=RecognitionDetail(recoId=0, name=screenshot, hitBox=Rect(x=0, y=0, w=0, h=0), bestResult=null, allResultList=[], filteredResultList=[], algorithm=DIRECT_HIT, rawDetailJson=null, rawDetail=null, rawImage=null, drawImages=[]))], status=io.github.hanhuoer.maa.core.util.Status@5f14f227)
[2024-11-29 10:14:28.971][INF][Px3891][Tx35039][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction1",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:14:28.971][INF][Px3891][Tx57052][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000003,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:14:29.176][INF][Px3891][Tx57052][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:14:29.176][ERR][Px3891][Tx57052][CustomAction.cpp][L19][static bool MaaNS::TaskNS::CustomAction::run(Context &, std::string, MaaNS::ResourceNS::CustomActionSession, const MaaNS::ResourceNS::Action::CustomParam &, MaaRecoId, const cv::Rect &)] Action is null [task_name=screenshot] [param.name=screenshotAction1]
[2024-11-29 10:14:29.176][INF][Px3891][Tx57052][PipelineTask.cpp][L81][virtual bool MaaNS::TaskNS::PipelineTask::run()] handle error [current.name=screenshot]
[2024-11-29 10:14:29.176][INF][Px3891][Tx57052][Tasker.cpp][L256][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task end: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000003,
"uuid": "5874c0d3809f79d2"
}] [ret=false]
2024-12-29T10:14:33.978+08:00 INFO 3891 --- [maa-random-dice] [ Thread-2] c.s.m.random.dice.handler.StartHandler : Screenshot time:5007, result:TaskDetail(taskId=100000003, entry=screenshot, nodeDetails=[NodeDetail(nodeId=200000003, name=screenshot, completed=true, recognition=RecognitionDetail(recoId=0, name=screenshot, hitBox=Rect(x=0, y=0, w=0, h=0), bestResult=null, allResultList=[], filteredResultList=[], algorithm=DIRECT_HIT, rawDetailJson=null, rawDetail=null, rawImage=null, drawImages=[]))], status=io.github.hanhuoer.maa.core.util.Status@7d7d3d59)
[2024-11-29 10:14:33.980][INF][Px3891][Tx35039][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction1",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:14:33.980][INF][Px3891][Tx57052][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000004,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:14:34.208][INF][Px3891][Tx57052][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:14:34.208][ERR][Px3891][Tx57052][CustomAction.cpp][L19][static bool MaaNS::TaskNS::CustomAction::run(Context &, std::string, MaaNS::ResourceNS::CustomActionSession, const MaaNS::ResourceNS::Action::CustomParam &, MaaRecoId, const cv::Rect &)] Action is null [task_name=screenshot] [param.name=screenshotAction1]
[2024-11-29 10:14:34.208][INF][Px3891][Tx57052][PipelineTask.cpp][L81][virtual bool MaaNS::TaskNS::PipelineTask::run()] handle error [current.name=screenshot]
[2024-11-29 10:14:34.208][INF][Px3891][Tx57052][Tasker.cpp][L256][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task end: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000004,
"uuid": "5874c0d3809f79d2"
}] [ret=false]
2024-12-29T10:14:38.991+08:00 INFO 3891 --- [maa-random-dice] [ Thread-2] c.s.m.random.dice.handler.StartHandler : Screenshot time:5012, result:TaskDetail(taskId=100000004, entry=screenshot, nodeDetails=[NodeDetail(nodeId=200000004, name=screenshot, completed=true, recognition=RecognitionDetail(recoId=0, name=screenshot, hitBox=Rect(x=0, y=0, w=0, h=0), bestResult=null, allResultList=[], filteredResultList=[], algorithm=DIRECT_HIT, rawDetailJson=null, rawDetail=null, rawImage=null, drawImages=[]))], status=io.github.hanhuoer.maa.core.util.Status@5807d1b)
[2024-11-29 10:14:38.992][INF][Px3891][Tx35039][Tasker.cpp][L74][virtual MaaTaskId MaaNS::Tasker::post_pipeline(const std::string &, const json::object &)] [entry=screenshot] [pipeline_override={
"screenshot": {
"action": "Custom",
"custom_action": "screenshotAction1",
"post_delay": 0,
"pre_delay": 0
}
}]
[2024-11-29 10:14:38.993][INF][Px3891][Tx57052][Tasker.cpp][L244][bool MaaNS::Tasker::run_task(RunnerId, TaskPtr)] task start: [cb_detail={
"entry": "screenshot",
"hash": "25136e274acf2b88",
"task_id": 100000005,
"uuid": "5874c0d3809f79d2"
}]
[2024-11-29 10:14:39.239][INF][Px3891][Tx57052][TaskBase.cpp][L129][RecoResult MaaNS::TaskNS::TaskBase::run_recognition(const cv::Mat &, const PipelineData::NextList &)] Task hit [result.name=screenshot] [result.box=[0 x 0 from (0, 0)]]
[2024-11-29 10:14:39.239][ERR][Px3891][Tx57052][CustomAction.cpp][L19][static bool MaaNS::TaskNS::CustomAction::run(Context &, std::string, MaaNS::ResourceNS::CustomActionSession, const MaaNS::ResourceNS::Action::CustomParam &, MaaRecoId, const cv::Rect &)] Action is null [task_name=screenshot] [param.name=screenshotAction1]

@MistEO
Copy link
Member

MistEO commented Dec 31, 2024

发下 debug/maa.log

cc @hanhuoer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants