From cd74b5b9db54b15b6b6aa54c3a929e3d02e59fc7 Mon Sep 17 00:00:00 2001 From: wawawawawawawa Date: Thu, 13 Feb 2020 20:51:32 +0100 Subject: [PATCH] Add files via upload --- Alien Swarm - Macro GUI.ahk | 182 +++++++++++++++++++----------------- Alien Swarm - Macro GUI.exe | Bin 1100288 -> 1100288 bytes 2 files changed, 94 insertions(+), 88 deletions(-) diff --git a/Alien Swarm - Macro GUI.ahk b/Alien Swarm - Macro GUI.ahk index c2c9a6f..fca336d 100644 --- a/Alien Swarm - Macro GUI.ahk +++ b/Alien Swarm - Macro GUI.ahk @@ -168,61 +168,64 @@ LaunchEmoteGUI: { While (GetKeyState(KeyBind)) { - if emotegui = -1 + IfWinActive ahk_exe reactivedrop.exe { - MouseGetPos, CurrentPosX, CurrentPosY - MouseMove, %CenterX%, %CenterY% - emotegui = 1 - } - MouseGetPos, CurrentEmoteX, CurrentEmoteY - ResetEmoteGUI() - if CurrentEmoteX < 750 - { - if CurrentEmoteY < 400 - { - GuiControl, EmoteGUI:MoveDraw, PICTL, w100 h100 x0 y0 - } - else if CurrentEmoteY > 500 - { - GuiControl, EmoteGUI:MoveDraw, PICBL, w100 h100 x0 y200 - } - else + if emotegui = -1 { - GuiControl, EmoteGUI:MoveDraw, PICML, w100 h100 x0 y100 + MouseGetPos, CurrentPosX, CurrentPosY + MouseMove, %CenterX%, %CenterY% + emotegui = 1 } - } - else if CurrentEmoteX > 850 - { - if CurrentEmoteY < 400 - { - GuiControl, EmoteGUI:MoveDraw, PICTR, w100 h100 x200 y0 - } - else if CurrentEmoteY > 500 - { - GuiControl, EmoteGUI:MoveDraw, PICBR, w100 h100 x200 y200 - } - else - { - GuiControl, EmoteGUI:MoveDraw, PICMR, w100 h100 x200 y100 - } - } - else - { - if CurrentEmoteY < 400 + MouseGetPos, CurrentEmoteX, CurrentEmoteY + ResetEmoteGUI() + if CurrentEmoteX < 750 { - GuiControl, EmoteGUI:MoveDraw, PICTM, w100 h100 x100 y0 + if CurrentEmoteY < 400 + { + GuiControl, EmoteGUI:MoveDraw, PICTL, w100 h100 x0 y0 + } + else if CurrentEmoteY > 500 + { + GuiControl, EmoteGUI:MoveDraw, PICBL, w100 h100 x0 y200 + } + else + { + GuiControl, EmoteGUI:MoveDraw, PICML, w100 h100 x0 y100 + } } - else if CurrentEmoteY > 500 + else if CurrentEmoteX > 850 { - GuiControl, EmoteGUI:MoveDraw, PICBM, w100 h100 x100 y200 + if CurrentEmoteY < 400 + { + GuiControl, EmoteGUI:MoveDraw, PICTR, w100 h100 x200 y0 + } + else if CurrentEmoteY > 500 + { + GuiControl, EmoteGUI:MoveDraw, PICBR, w100 h100 x200 y200 + } + else + { + GuiControl, EmoteGUI:MoveDraw, PICMR, w100 h100 x200 y100 + } } else { - ; GuiControl, EmoteGUI:MoveDraw, PICMM, w100 h100 x100 y100 + if CurrentEmoteY < 400 + { + GuiControl, EmoteGUI:MoveDraw, PICTM, w100 h100 x100 y0 + } + else if CurrentEmoteY > 500 + { + GuiControl, EmoteGUI:MoveDraw, PICBM, w100 h100 x100 y200 + } + else + { + ; GuiControl, EmoteGUI:MoveDraw, PICMM, w100 h100 x100 y100 + } } + Gui, EmoteGUI:Show, NoActivate + Sleep, 50 } - Gui, EmoteGUI:Show, NoActivate - Sleep, 50 } @@ -285,61 +288,64 @@ LaunchOnslGUI: { While (GetKeyState(KeyBind)) { - if onslgui = -1 + IfWinActive ahk_exe reactivedrop.exe { - MouseGetPos, CurrentPosX, CurrentPosY - MouseMove, %CenterX%, %CenterY% - onslgui = 1 - } - MouseGetPos, CurrentOnslX, CurrentOnslY - ResetOnslGUI() - if CurrentOnslX < 750 - { - if CurrentOnslY < 400 - { - GuiControl, OnslGUI:MoveDraw, PICTL, w100 h100 x0 y0 - } - else if CurrentOnslY > 500 - { - GuiControl, OnslGUI:MoveDraw, PICBL, w100 h100 x0 y200 - } - else + if onslgui = -1 { - GuiControl, OnslGUI:MoveDraw, PICML, w100 h100 x0 y100 + MouseGetPos, CurrentPosX, CurrentPosY + MouseMove, %CenterX%, %CenterY% + onslgui = 1 } - } - else if CurrentOnslX > 850 - { - if CurrentOnslY < 400 - { - GuiControl, OnslGUI:MoveDraw, PICTR, w100 h100 x200 y0 - } - else if CurrentOnslY > 500 - { - GuiControl, OnslGUI:MoveDraw, PICBR, w100 h100 x200 y200 - } - else - { - GuiControl, OnslGUI:MoveDraw, PICMR, w100 h100 x200 y100 - } - } - else - { - if CurrentOnslY < 400 + MouseGetPos, CurrentOnslX, CurrentOnslY + ResetOnslGUI() + if CurrentOnslX < 750 { - GuiControl, OnslGUI:MoveDraw, PICTM, w100 h100 x100 y0 + if CurrentOnslY < 400 + { + GuiControl, OnslGUI:MoveDraw, PICTL, w100 h100 x0 y0 + } + else if CurrentOnslY > 500 + { + GuiControl, OnslGUI:MoveDraw, PICBL, w100 h100 x0 y200 + } + else + { + GuiControl, OnslGUI:MoveDraw, PICML, w100 h100 x0 y100 + } } - else if CurrentOnslY > 500 + else if CurrentOnslX > 850 { - GuiControl, OnslGUI:MoveDraw, PICBM, w100 h100 x100 y200 + if CurrentOnslY < 400 + { + GuiControl, OnslGUI:MoveDraw, PICTR, w100 h100 x200 y0 + } + else if CurrentOnslY > 500 + { + GuiControl, OnslGUI:MoveDraw, PICBR, w100 h100 x200 y200 + } + else + { + GuiControl, OnslGUI:MoveDraw, PICMR, w100 h100 x200 y100 + } } else { - ; GuiControl, OnslGUI:MoveDraw, PICMM, w100 h100 x100 y100 + if CurrentOnslY < 400 + { + GuiControl, OnslGUI:MoveDraw, PICTM, w100 h100 x100 y0 + } + else if CurrentOnslY > 500 + { + GuiControl, OnslGUI:MoveDraw, PICBM, w100 h100 x100 y200 + } + else + { + ; GuiControl, OnslGUI:MoveDraw, PICMM, w100 h100 x100 y100 + } } + Gui, OnslGUI:Show, NoActivate + Sleep, 50 } - Gui, OnslGUI:Show, NoActivate - Sleep, 50 } diff --git a/Alien Swarm - Macro GUI.exe b/Alien Swarm - Macro GUI.exe index 80fc13101f052af358515fd5533379cd775783ee..a4856b27de0d6d58d0d63b941bf39f8b05a412bf 100644 GIT binary patch delta 274 zcmZpe;@mLBdBYw?#si!8GA0A5W<}<9MP^1IW&&amn+1qjftU@5*@2h?h&h3n3y8Ua zmKUH90c*4Q}1~*~^8AO0A82=3#pCJ}iUIdM=fyTE1^8YX* z%(I9WWM~K41v8(Y!EXEIOo0rq>EUYy)VEu25m?APef@R;vF#tW3tVP`h#uZ0(9Jwu YX`g`T_QZVx$}CKdF56oU323kb0R413u-%K+Fcj>_E%`#GF9P1;pGy z%mc){K+Ffk{M!|o1&q_`Co3>8JYit~gO(UU1`!|&#-D-4UxUU!fX2Uq#(x3i|6xR! z_ash`p&e)!%zS=O{4F1bU%eEX|? W0&keN-#8?o!9M-MNdW^8p#lJ3jy`4p