脚本归档

This commit is contained in:
秋云
2025-05-10 04:32:37 +08:00
parent 7ff9e840c8
commit 9c59b69101
99 changed files with 481 additions and 478 deletions

View File

@@ -0,0 +1,36 @@
(
async function () {
const codes = [
"NODKRAI0910",
"VOYNICHGUILD",
"THEWILDHUNT",
"LIGHTKEEPERS",
"FROSTMOONSCIONS"
];
//输入兑换码,兑换码与兑换码之间要以英文逗号隔开,如: "123","123",兑换码要用""框起
await sleep(3000);
keyPress("VK_ESCAPE");
await sleep(1000);
click(55,793);
await sleep(1000);
click(162,569);
await sleep(1000);
click(1649,210);
await sleep(1000);
keyDown("VK_LSHIFT");
keyUp("VK_LSHIFT");
for (const code of codes){
click(734,506);
await sleep(1000);
for(const cod of code){
keyPress("VK_"+cod);
}
//keyUp("VK_LSHIFT");
await sleep(1000);
click(1164,735);
await sleep(1000);
click(991,744);
await sleep(5500);
}
}
)();

View File

@@ -0,0 +1,17 @@
{
"manifest_version": 1,
"name": "领取兑换码", // 名称
"version": "1.0", // 版本
"bgi_version": "0.36.1", // 适用于 BetterGI 的最低版本BetterGI低于此版本会提示
"description": "自动领兑换码自行打开main.js配置适用多账号玩家。", // 描述
// 作者信息
"authors": [
{
"name": "白玉狻猊",
"link": "https://github.com/LaughingCatGGG"
}
],
// 入口文件
"main": "main.js"
}