From 035e3a070fd610f5bc3f0cca63ffd717bad81619 Mon Sep 17 00:00:00 2001 From: herz Date: Fri, 4 Mar 2022 16:38:15 +0100 Subject: [PATCH] Push script --- Full GW2.ahk | 244 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 Full GW2.ahk diff --git a/Full GW2.ahk b/Full GW2.ahk new file mode 100644 index 0000000..2b7fe23 --- /dev/null +++ b/Full GW2.ahk @@ -0,0 +1,244 @@ + + + + +; +; _ ___ _ _ _____ _ _ +;| |/ (_) | | / ____| (_) | | +;| ' / _| | | | (___ ___ _ __ _ _ __ | |_ +;| < | | | | \___ \ / __| '__| | '_ \| __| +;| . \| | | | ____) | (__| | | | |_) | |_ +;|_|\_\_|_|_| |_____/ \___|_| |_| .__/ \__| +; | | +; |_| +; +!Numpad9:: +{ +msgbox, ended + exitapp +} + + + +; +; _ _ __ __ +; | | (_) | \/ | +; | | ___ _ _ __ | \ / | __ _ _ __ +; _ | |/ _ \| | '_ \ | |\/| |/ _` | '_ \ +; | |__| | (_) | | | | | | | | | (_| | |_) | +; \____/ \___/|_|_| |_| |_| |_|\__,_| .__/ +; | | +; |_| +; +F13:: +MouseGetPos, x,y +Click, Right +Sleep, 50 +MouseMove, +39, +78, 0, Relative +Sleep %rand1to10ms%50 +Click +Sleep, 50 +MouseMove, %x%, %y% +Sleep, 50 +Send {Enter} +Sleep, 200 +Return + + + +; +; _ _____ _ _ _ _ _ +; /\ | | / ____| | | | | | | (_) | | +; / \ _ _| |_ ___ | (___ __ _| |_ ____ _ __ _ ___ | | | |_ __ _ __| |___ +; / /\ \| | | | __/ _ \ \___ \ / _` | \ \ / / _` |/ _` |/ _ \ | | | | '_ \| |/ _` / __| +; / ____ \ |_| | || (_) | ____) | (_| | |\ V / (_| | (_| | __/ | |__| | | | | | (_| \__ \ +; /_/ \_\__,_|\__\___/ |_____/ \__,_|_| \_/ \__,_|\__, |\___| \____/|_| |_|_|\__,_|___/ +; __/ | +; |___/ +; + +F14:: + +Loop 20 { + +;Random Sleep Timers +Rand(min, max){ + Random, rand, min, max + return rand +} + + + +;Filter for Unids in Bank +Click, 1233, 408 Left, Down +Sleep % Rand(1, 10) +Click, 1233, 408 Left, Up +Sleep % Rand(1, 10) +WinActivate, Guild Wars 2 ahk_class ArenaNet_Dx_Window_Class +Send, {u} +Sleep % Rand(1, 10) +Send, {n} +Sleep % Rand(1, 10) +Send, {i} +Sleep % Rand(1, 10) +Send, {d} +Sleep % Rand(1, 10) +Send, {e} +Sleep % Rand(100, 1000) +Send, {n} +Sleep % Rand(1, 10) +Send, {t} +Sleep % Rand(1, 10) +Send, {i} +Sleep % Rand(1, 10) +Send, {f} +Sleep % Rand(1, 10) +Send, {i} +Sleep % Rand(1, 10) +Send, {e} +Sleep % Rand(1, 10) +Send, {d} +Sleep % Rand(1, 10) +Send, {Space} +Sleep % Rand(1, 10) +Send, {g} +Sleep % Rand(1, 10) +Send, {e} +Sleep % Rand(1, 10) +Send, {a} +Sleep % Rand(1, 10) +Send, {r} +Sleep % Rand(1, 10) +Click, WheelUp +Sleep % Rand(1, 10) + +;Move unids in Shared inventory Space +Click, 1144, 585, 0 +Sleep % Rand(100, 200) +Click, 1144, 585 Left, Down +Sleep, 1 +Sleep % Rand(1500, 2500) +Click, 490, 220 Left, Up + + +; Open All +Click, 993, 550 Right, Down +Sleep % Rand(5, 20) +Click, 993, 550 Right, Up +Sleep % Rand(1, 10) +Click, 1037, 636, 0 +Sleep % Rand(5, 20) +Click, 1037, 636 Left, Down +Sleep % Rand(10, 30) +Click, 1037, 636 Left, Up + + + + +;Wait for Unids to open +Sleep % Rand(11700, 12500) + + +; Salvage all blue with Copperfed +MouseGetPos, x,y +MouseMove, 204, 220 +Sleep % Rand(75, 200) +Click, Right +Sleep % Rand(75, 200) +MouseMove, +51, +37, 0, Relative +Click +Sleep % Rand(75, 200) +Send {Enter} +MouseMove, %x%, %y% + +; Wait for unids to open +Sleep % Rand(22000, 24000) + +; Salvage all Gree with Runecrafter +MouseGetPos, x,y +MouseMove, 250, 220 +Sleep % Rand(75, 200) +Click, Right +Sleep % Rand(75, 200) +MouseMove, +71, +59, 0, Relative +Click +Sleep % Rand(75, 200) +Send {Enter} +MouseMove, %x%, %y% + +; Wait for unids to open. +Sleep % Rand(6800, 7500) + +; Salvage all Rare with Silverfed +MouseGetPos, x,y +MouseMove, 158, 220 +Sleep % Rand(75, 200) +Click, Right +Sleep % Rand(75, 200) +MouseMove, +71, 80, 0, Relative +Click +Sleep % Rand(75, 200) +Send {Enter} +MouseMove, %x%, %y% + +; Wait for silver salv +Sleep % Rand(2900, 3200) + +;Rest for next run +Click, 148, 118, 0 +Click, 1259, 417, 0 +Sleep % Rand(1, 10) +Click, 1259, 417 Left, Down +Sleep % Rand(5, 20) +Click, 1259, 417 Left, Up +Sleep % Rand(5, 20) +Send, {LControl Down} +Sleep % Rand(5, 20) +Send, {a} +Sleep % Rand(5, 20) +Send, {LControl Up} +Sleep % Rand(5, 20) +Send, {Backspace} +Sleep % Rand(5, 20) +Click, 1259, 417 Left, Down +Sleep % Rand(5, 20) +Click, 1259, 417 Left, Up +Sleep % Rand(5, 20) +Send, {LControl Down} +Sleep % Rand(5, 20) +Send, {a} +Sleep % Rand(5, 20) +Send, {LControl Up} +Sleep % Rand(5, 20) +Send, {Backspace} +Sleep % Rand(5, 20) +Sleep % Rand(1, 10) +Click, 1006, 407, 0 +Sleep % Rand(1, 10) +Click, 1006, 407 Left, Down +Sleep % Rand(1, 10) +Click, 1006, 407 Left, Up +Sleep % Rand(1, 10) +Send, {LControl Down} +Sleep % Rand(1, 10) +Send, {a} +Sleep % Rand(1, 10) +Send, {LControl Up} +Sleep % Rand(1, 10) +Send, {Backspace} +Sleep % Rand(1, 10) +Click, 1006, 407 Left, Down +Sleep % Rand(1, 10) +Click, 1006, 407 Left, Up +Sleep % Rand(1, 10) +Send, {LControl Down} +Sleep % Rand(75, 200) +Send, {a} +Sleep % Rand(75, 200) +Send, {LControl Up} +Sleep % Rand(390, 500) +Send, {Backspace} +Sleep % Rand(390, 500) + +} +Return \ No newline at end of file