自动采集

wjdr
wangbing 12 months ago
parent 4cb8a08854
commit 37010d45ad

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

@ -863,7 +863,7 @@ public abstract class JMacro {
}
}
}
return null;
return new ViewRect[legends.length];
}, seconds, TimeUnit.SECONDS);
}

@ -80,15 +80,15 @@ public class MacroForWJDR extends JMacro {
// 任意界面优先返回城镇
new Task_(this, focusRect).run();
// 可按优先级排序以下任务
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
// new Task_联盟互助(this, focusRect).run();
// new Task_收留避难者(this, focusRect).run();
new Task_(this, focusRect).run();
// new Task_自动采矿(this, focusRect).run();
new Task_(this, focusRect).run();
// new Task_英雄招募领取(this, focusRect).run();
// new Task_任务奖励领取(this, focusRect).run();
// new Task_探险奖励领取(this, focusRect).run();
// new Task_邮件奖励领取(this, focusRect).run();
new Task_(this, focusRect).run();
// new Task_仓库奖励领取(this, focusRect).run();
}
} else {
Logger.info("当前时间为非工作时间,休眠待命!");

@ -146,7 +146,7 @@ public class Task_任务奖励领取 extends BaseTask {
macro.delay(500);
ViewRect ;
do {
= macro.matchLegend("任务奖励_领取按钮", 0.9);
= macro.matchLegend("任务奖励_领取按钮", 0.5);
if ( != null) {
macro.mouseLeftClick();
macro.delay(1000);
@ -162,7 +162,7 @@ public class Task_任务奖励领取 extends BaseTask {
macro.delay(500);
ViewRect ;
do {
= macro.matchLegend("任务奖励_领取按钮", 0.9);
= macro.matchLegend("任务奖励_领取按钮", 0.5);
if ( != null) {
macro.mouseLeftClick();
ViewRect _退 = macro.waitAndMatchLegend("任务奖励_点击退出", 0.5, 5);

@ -224,8 +224,9 @@ public class Task_自动采矿 extends BaseTask {
macro.mouseLeftClick(_);
macro.delayUnstable(1500);
ViewRect = macro.waitAndMatchLegend("野外_资源采集", 0.9);
ViewRect = macro.waitAndMatchLegend("野外_资源采集", 0.8);
if ( != null) {
Logger.info("点击采集");
macro.mouseLeftClick();
ViewRect[] viewRects = macro.waitAndMatchLegends(macro.of("野外_资源出征", "野外_资源无对队列", "野外_资源无士兵"), 0.9);

@ -61,7 +61,7 @@ public class Task_英雄招募领取 extends BaseTask {
macro.delay(1000);
Logger.info("检测任意位置继续");
ViewRect 退 = macro.waitAndMatchLegend("英雄招募_点击任意位置退出", 0.5, 3);
ViewRect 退 = macro.waitAndMatchLegend("英雄招募_点击任意位置退出", 0.25, 3);
if (退 != null) {
Logger.info("点击任意位置退出");
macro.mouseLeftClick(退);

@ -73,8 +73,8 @@ public class Task_邮件奖励领取 extends BaseTask {
macro.delay(1000);
// 战争
if (macro.hasColor(macro.of(84,65,106,78), numColor)) {
macro.mouseLeftClick(macro.of(198,71));
if (macro.hasColor(macro.of(92,64,111,77), numColor)) {
macro.mouseLeftClick(macro.of(99,71));
macro.delay(500);
ViewRect = macro.waitAndMatchLegend("一键已读领取", 0.9, 2);
@ -104,7 +104,7 @@ public class Task_邮件奖励领取 extends BaseTask {
}
macro.mouseLeftClick();
ViewRect 退 = macro.waitAndMatchLegend("点击任意位置退出", 0.5, 2);
ViewRect 退 = macro.waitAndMatchLegend("邮件_点击任意位置退出", 0.5, 2);
if (退 != null) {
Logger.info("点击任意位置退出");
macro.mouseLeftClick(退);

Loading…
Cancel
Save

Powered by TurnKey Linux.