js: 狗粮重制版路线修复,增加进度输出 (#943)
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
"author": "汐",
|
||||
"version": "",
|
||||
"description": "",
|
||||
"bgiVersion": "0.42.3"
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -84,6 +85,15 @@
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": 9053.48828125,
|
||||
"y": -2797.310546875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),w(0.2)"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"x": 9054.71875,
|
||||
"y": -2797.2811172015245,
|
||||
"action": "combat_script",
|
||||
@@ -92,7 +102,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"id": 12,
|
||||
"x": 9060.9853515625,
|
||||
"y": -2791.96484375,
|
||||
"action": "combat_script",
|
||||
@@ -101,7 +111,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"id": 13,
|
||||
"x": 9068.6044921875,
|
||||
"y": -2798.8125,
|
||||
"action": "combat_script",
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"author": "汐",
|
||||
"version": "",
|
||||
"description": "",
|
||||
"bgiVersion": "0.42.3"
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -180,63 +181,91 @@
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"x": -3119.843793450913,
|
||||
"y": -3621.656295473891,
|
||||
"x": -3118.541015625,
|
||||
"y": -3622.6650390625,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),",
|
||||
"action_params": "keypress(f),w(0.2),keypress(f),w(0.2),keypress(f)",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"x": -3127.1142578125,
|
||||
"y": -3602.75390625,
|
||||
"x": -3116.9765625,
|
||||
"y": -3617.94921875,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"x": -3149.3203125,
|
||||
"y": -3568.7509765625,
|
||||
"x": -3127.1142578125,
|
||||
"y": -3602.75390625,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"x": -3141.4990234375,
|
||||
"y": -3567.3935546875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"x": -3140.1611328125,
|
||||
"y": -3580.916015625,
|
||||
"action": "",
|
||||
"action_params": ""
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"x": -3136.4072265625,
|
||||
"y": -3568.052734375,
|
||||
"x": -3142.0937243244607,
|
||||
"y": -3573.4998105254563,
|
||||
"action": "",
|
||||
"move_mode": "fly",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"x": -3139.1494140625,
|
||||
"y": -3570.892578125,
|
||||
"type": "target",
|
||||
"move_mode": "walk",
|
||||
"action": "combat_script",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),"
|
||||
"x": -3153.0205078125,
|
||||
"y": -3562.748046875,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"x": -3141.4990234375,
|
||||
"y": -3567.3935546875,
|
||||
"action": "",
|
||||
"move_mode": "run",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"x": -3136.4072265625,
|
||||
"y": -3568.052734375,
|
||||
"action": "",
|
||||
"move_mode": "jump",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"x": -3139.1494140625,
|
||||
"y": -3570.892578125,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"x": -3136.2646484375,
|
||||
"y": -3571.576171875,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
"action_params": ""
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -57,7 +57,7 @@
|
||||
"y": -3744.3037109375,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "芙宁娜 e;玛薇卡 e;千织 e;",
|
||||
"action_params": "wait(0.2),keypress(e)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
@@ -88,8 +88,8 @@
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": -3114.6142578125,
|
||||
"y": -3727.2353515625,
|
||||
"x": -3115.25003950083,
|
||||
"y": -3726.437697053525,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
@@ -114,8 +114,8 @@
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"x": -3112.478515625,
|
||||
"y": -3723.0224609375,
|
||||
"x": -3111.84371049917,
|
||||
"y": -3721.594098633159,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
@@ -264,10 +264,11 @@
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"x": -3140.2431640625,
|
||||
"y": -3700.9541015625,
|
||||
"action": "",
|
||||
"x": -3138.1561176722207,
|
||||
"y": -3701.812295367494,
|
||||
"action": "combat_script",
|
||||
"move_mode": "climb",
|
||||
"action_params": "wait(0.6)",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
"version": "",
|
||||
"description": "",
|
||||
"map_name": "Teyvat",
|
||||
"bgi_version": "0.45.0",
|
||||
"tags": [],
|
||||
"last_modified_time": 1746819816606
|
||||
"bgi_version": "0.45.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -266,6 +264,15 @@
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"x": -3776.328125,
|
||||
"y": -4425.9326171875,
|
||||
"type": "path",
|
||||
"move_mode": "dash",
|
||||
"action": "",
|
||||
"action_params": ""
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"x": -3761.71875,
|
||||
"y": -4427.312511066539,
|
||||
"action": "",
|
||||
@@ -274,7 +281,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"id": 33,
|
||||
"x": -3747.8125,
|
||||
"y": -4426.0311172015245,
|
||||
"action": "",
|
||||
@@ -282,7 +289,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"id": 34,
|
||||
"x": -3743.921875,
|
||||
"y": -4436.001953125,
|
||||
"action": "",
|
||||
@@ -290,7 +297,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"id": 35,
|
||||
"x": -3742.7294921875,
|
||||
"y": -4441.98828125,
|
||||
"action": "",
|
||||
@@ -298,7 +305,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"id": 36,
|
||||
"x": -3740.7060546875,
|
||||
"y": -4439.869140625,
|
||||
"action": "",
|
||||
@@ -306,7 +313,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"id": 37,
|
||||
"x": -3738.31640625,
|
||||
"y": -4442.064453125,
|
||||
"action": "",
|
||||
@@ -314,7 +321,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"id": 38,
|
||||
"x": -3740.6142578125,
|
||||
"y": -4435.5537109375,
|
||||
"action": "",
|
||||
@@ -322,7 +329,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"id": 39,
|
||||
"x": -3741.0341796875,
|
||||
"y": -4425.9443359375,
|
||||
"action": "",
|
||||
@@ -330,7 +337,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"id": 40,
|
||||
"x": -3743.734375,
|
||||
"y": -4424.8876953125,
|
||||
"action": "",
|
||||
@@ -338,7 +345,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"id": 41,
|
||||
"x": -3764.1240234375,
|
||||
"y": -4438.958984375,
|
||||
"action": "",
|
||||
@@ -346,7 +353,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"id": 42,
|
||||
"x": -3772.146484375,
|
||||
"y": -4439.849609375,
|
||||
"action": "",
|
||||
@@ -354,7 +361,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"id": 43,
|
||||
"x": -3776.125,
|
||||
"y": -4439.281316399238,
|
||||
"action": "",
|
||||
@@ -362,7 +369,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"id": 44,
|
||||
"x": -3775.8125,
|
||||
"y": -4441.625154931555,
|
||||
"action": "",
|
||||
@@ -370,7 +377,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"id": 45,
|
||||
"x": -3767.134765625,
|
||||
"y": -4439.3466796875,
|
||||
"action": "",
|
||||
@@ -378,7 +385,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"id": 46,
|
||||
"x": -3756.236328125,
|
||||
"y": -4437.08203125,
|
||||
"action": "",
|
||||
@@ -386,7 +393,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"id": 47,
|
||||
"x": -3746.0966796875,
|
||||
"y": -4434.9072265625,
|
||||
"action": "combat_script",
|
||||
@@ -395,7 +402,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"id": 48,
|
||||
"x": -3741.365234375,
|
||||
"y": -4432.560546875,
|
||||
"action": "",
|
||||
@@ -403,7 +410,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"id": 49,
|
||||
"x": -3744.125,
|
||||
"y": -4437.344281193904,
|
||||
"action": "",
|
||||
@@ -412,7 +419,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"id": 50,
|
||||
"x": -3735.40625,
|
||||
"y": -4437.937477866921,
|
||||
"action": "",
|
||||
@@ -421,7 +428,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"id": 51,
|
||||
"x": -3728.7265625,
|
||||
"y": -4437.8623046875,
|
||||
"action": "",
|
||||
@@ -429,7 +436,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"id": 52,
|
||||
"x": -3726.888671875,
|
||||
"y": -4433.171875,
|
||||
"action": "",
|
||||
@@ -437,7 +444,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"id": 53,
|
||||
"x": -3726.6484375,
|
||||
"y": -4431.6826171875,
|
||||
"action": "combat_script",
|
||||
@@ -445,49 +452,26 @@
|
||||
"action_params": "keypress(f),wait(0.2),keypress(f),wait(0.2),keypress(f),",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"x": -3727.5048828125,
|
||||
"y": -4431.0224609375,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"x": -3730.1171875,
|
||||
"y": -4429.974609375,
|
||||
"action": "",
|
||||
"x": -3726.5517578125,
|
||||
"y": -4438.2099609375,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
"action": "",
|
||||
"action_params": ""
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"x": -3733.7587890625,
|
||||
"y": -4429.880859375,
|
||||
"x": -3722.61328125,
|
||||
"y": -4437.4814453125,
|
||||
"type": "path",
|
||||
"move_mode": "jump",
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
"action_params": ""
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"x": -3733.937462474212,
|
||||
"y": -4432.531287894908,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"x": -3731.53125,
|
||||
"y": -4432.781227866921,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"x": -3718.216796875,
|
||||
"y": -4433.0048828125,
|
||||
"action": "combat_script",
|
||||
@@ -496,7 +480,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"id": 57,
|
||||
"x": -3719.4345703125,
|
||||
"y": -4431.1865234375,
|
||||
"action": "combat_script",
|
||||
@@ -505,7 +489,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"id": 58,
|
||||
"x": -3720.29296875,
|
||||
"y": -4430.4189453125,
|
||||
"action": "combat_script",
|
||||
@@ -514,7 +498,7 @@
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"id": 59,
|
||||
"x": -3719.6875,
|
||||
"y": -4433.218938131175,
|
||||
"action": "",
|
||||
@@ -522,7 +506,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"id": 60,
|
||||
"x": -3726.1875,
|
||||
"y": -4428.843628268063,
|
||||
"action": "combat_script",
|
||||
@@ -531,7 +515,7 @@
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"id": 61,
|
||||
"x": -3726.1875,
|
||||
"y": -4428.843628268063,
|
||||
"action": "",
|
||||
|
||||
@@ -11,6 +11,15 @@
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -2741.25,
|
||||
"y": -3441,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -2757.28125,
|
||||
"y": -3468.4376106653963,
|
||||
"action": "",
|
||||
|
||||
@@ -251,10 +251,14 @@ async function runArtifactsPaths(runRouteA) {
|
||||
}
|
||||
}
|
||||
|
||||
let currentTask = 0; // 当前任务计数器
|
||||
|
||||
// 执行普通路线的地图追踪文件
|
||||
for (const fileName of jsonFileNames) {
|
||||
const fullPath = fileName;
|
||||
await fakeLog(fileName, false, true, 0);
|
||||
currentTask += 1; // 更新当前任务计数器
|
||||
log.info(`当前进度:普通${folderName}第${currentTask}/${jsonFileNames.length}个`);
|
||||
await pathingScript.runFile(fullPath);
|
||||
//捕获任务取消的信息并跳出循环
|
||||
try {
|
||||
@@ -280,10 +284,14 @@ async function runArtifactsPaths(runRouteA) {
|
||||
}
|
||||
}
|
||||
|
||||
let currentTask = 0; // 当前任务计数器
|
||||
|
||||
// 执行收尾路线的地图追踪文件
|
||||
for (const fileName of jsonFileNames) {
|
||||
const fullPath = fileName;
|
||||
await fakeLog(fileName, false, true, 0);
|
||||
currentTask += 1; // 更新当前任务计数器
|
||||
log.info(`当前进度:收尾${folderName}第${currentTask}/${jsonFileNames.length}个`);
|
||||
await pathingScript.runFile(fullPath);
|
||||
//捕获任务取消的信息并跳出循环
|
||||
try {
|
||||
@@ -309,10 +317,14 @@ async function runArtifactsPaths(runRouteA) {
|
||||
}
|
||||
}
|
||||
|
||||
let currentTask = 0; // 当前任务计数器
|
||||
|
||||
// 执行额外路线的地图追踪文件
|
||||
for (const fileName of jsonFileNames) {
|
||||
const fullPath = fileName;
|
||||
await fakeLog(fileName, false, true, 0);
|
||||
currentTask += 1; // 更新当前任务计数器
|
||||
log.info(`当前进度:额外${folderName}第${currentTask}/${jsonFileNames.length}个`);
|
||||
await pathingScript.runFile(fullPath);
|
||||
//捕获任务取消的信息并跳出循环
|
||||
try {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
上次运行完成日期: 2025/05/27
|
||||
上次结束时间: 2025-05-27T00:00:58.107Z
|
||||
上次运行路线: B
|
||||
上次运行完成日期: 2025/05/25
|
||||
上次结束时间: 2025-05-24T20:00:00.000Z
|
||||
上次运行路线: A
|
||||
Reference in New Issue
Block a user