From a237287584bd14d13eef3ae4cab8dad111ae8486 Mon Sep 17 00:00:00 2001 From: ahao-laptop Date: Mon, 19 Sep 2022 17:44:00 +0800 Subject: [PATCH] script update --- config.json | 2 +- resource/PUBG/ghubscripts.json | 4 ++-- resource/PUBG/lgsscripts.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.json b/config.json index aa923b6..d5d3d30 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "monitor": "1", - "game": "APEX", + "game": "PUBG", "commit1": "5eedf5dad63094a51891ce0094ef8380bba4bf8a", "commit2": "v1.0.0", "update": "GITHUB", diff --git a/resource/PUBG/ghubscripts.json b/resource/PUBG/ghubscripts.json index e067876..07c3782 100644 --- a/resource/PUBG/ghubscripts.json +++ b/resource/PUBG/ghubscripts.json @@ -24,7 +24,7 @@ true ], "leftbutton": [ - "\n if not ads(vars) then\n return\n end\n start_time = GetRunningTime()\n step = 1\n xCounter=0\n yCounter=0\n dorecoil(vars)\n ", + " dofile(vars[\"autorecognize_file\"])\n vars[\"weapon\"] = rweapon\n vars[\"pose\"] = rpose\n vars[\"scope\"] = rscope\n vars[\"a2\"] = rattachment2\n vars[\"a3\"] = rattachment3\n if not ads(vars) then\n return\n end\n start_time = GetRunningTime()\n step = 1\n xCounter=0\n yCounter=0\n dorecoil(vars)\n ", "\n vars[\"left\"] = false\n step = 1\n xCounter=0\n yCounter=0\n ", "", false @@ -42,7 +42,7 @@ false ], "ads": [ - "\n if vars[\"adsmode\"] == \"HOLD\" then\n return (IsMouseButtonPressed(1) and IsMouseButtonPressed(3)) or (IsMouseButtonPressed(1) and vars[\"aim\"]) or (IsMouseButtonPressed(3))\n end\n if vars[\"adsmode\"] == \"CLICK\" then\n return IsMouseButtonPressed(1) and IsKeyLockOn(\"Capslock\")\n end\n", + "\n if vars[\"adsmode\"] == \"HOLD\" then\n return (IsMouseButtonPressed(1) and IsMouseButtonPressed(3)) or (IsMouseButtonPressed(1) and vars[\"aim\"])\n end\n if vars[\"adsmode\"] == \"CLICK\" then\n return IsMouseButtonPressed(1) and IsKeyLockOn(\"Capslock\")\n end\n", "", "", false diff --git a/resource/PUBG/lgsscripts.json b/resource/PUBG/lgsscripts.json index 21857d4..9e03f57 100644 --- a/resource/PUBG/lgsscripts.json +++ b/resource/PUBG/lgsscripts.json @@ -24,7 +24,7 @@ true ], "leftbutton": [ - "\n vars[\"left\"] = true\n start_time = GetRunningTime()\n step = 1\n xCounter=0\n yCounter=0\n dorecoil(vars)\n ", + " dofile(vars[\"autorecognize_file\"])\n vars[\"weapon\"] = rweapon\n vars[\"pose\"] = rpose\n vars[\"scope\"] = rscope\n vars[\"a2\"] = rattachment2\n vars[\"a3\"] = rattachment3\n vars[\"left\"] = true\n start_time = GetRunningTime()\n step = 1\n xCounter=0\n yCounter=0\n dorecoil(vars)\n ", " step = 1\n xCounter=0\n yCounter=0\n vars[\"left\"] = false\n ", "", false @@ -42,7 +42,7 @@ false ], "ads": [ - "\n if vars[\"adsmode\"] == \"HOLD\" then\n return (vars[\"left\"] and vars[\"right\"]) or (vars[\"left\"] and vars[\"aim\"]) or (vars[\"right\"])\n end\n if vars[\"adsmode\"] == \"CLICK\" then\n return vars[\"left\"] and IsKeyLockOn(\"Capslock\")\n end\n", + "\n if vars[\"adsmode\"] == \"HOLD\" then\n return (vars[\"left\"] and vars[\"right\"]) or (vars[\"left\"] and vars[\"aim\"]) \n end\n if vars[\"adsmode\"] == \"CLICK\" then\n return vars[\"left\"] and IsKeyLockOn(\"Capslock\")\n end\n", "", "", false