Skip to content

Instantly share code, notes, and snippets.

@A2TC-YT
Last active September 2, 2023 19:15
Show Gist options
  • Save A2TC-YT/fddec283983ac540fb2ddb7d07b25b47 to your computer and use it in GitHub Desktop.
Save A2TC-YT/fddec283983ac540fb2ddb7d07b25b47 to your computer and use it in GitHub Desktop.
#SingleInstance, Force
SendMode Input
SetWorkingDir, %A_ScriptDir%
global row := 0
global col := 0
global page := 0
F3::
{
InputBox, page, Page, Is eidolon on the first`, second`, or third page (enter 1`, 2`, or 3)
InputBox, row ,, What column is eidolon ally on in your collection (1`, 2`, or 3)
InputBox, col ,, What row is eidolon ally on in your collection `(1-7`)
MsgBox, F4 TO STOP THE MACRO. Talk to rahool and be in YOUR OWN inventory. HAVE NOTHING IN YOUR KINETIC SLOT. Macro will start when you close this box.`n`nREQUIRED BINDS:`nCollections: [`nCharacter: i`n
loop,
{
buy_glimmer()
loop, 26
{
claim_gun()
delete_guns()
}
}
return
}
claim_gun()
{
hor_diff := 0.64258 - 0.44648
vert_diff := 0.34583 - 0.25208
Send, {Blind}[
Sleep, 1500
Click, % A_ScreenWidth*0.30977 " " A_ScreenHeight*0.36319 " " 0
Sleep, 100
Click, % A_ScreenWidth*0.30977 " " A_ScreenHeight*0.36319
Sleep, 1000
loop, % page
{
Send, {Right}
Sleep, 300
}
Click, % A_ScreenWidth*(0.45391+hor_diff*(row-1)) " " A_ScreenHeight*(0.25347+vert_diff*(col-1)) " " 0
Sleep, 800
loop, 9
{
Send, {Blind}{LButton down}
sleep 3100
Send, {Blind}{LButton up}
sleep 150
}
return
}
delete_guns()
{
Send, {Blind}i
Sleep, 1500
Click, % A_ScreenWidth*0.27148 " " A_ScreenHeight*0.35972 " " 0
Sleep, 50
Click, % A_ScreenWidth*0.21563 " " A_ScreenHeight*0.36806 " " 0
Sleep, 100
loop, 9
{
Send, {Blind}{f down}
sleep 1100
Send, {Blind}{f up}
sleep 450
}
return
}
buy_glimmer()
{
Send, {Blind}{Esc}
Sleep, 3600
Click, % A_ScreenWidth*0.64453 " " A_ScreenHeight*0.16944 " " 0
Sleep, 100
Send, {RButton}
Sleep, 700
Click, % A_ScreenWidth*0.12812 " " A_ScreenHeight*0.41389 " " 0
Sleep, 100
Loop, 24
{
Sleep, 900
Click
}
return
}
F4::reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment