-
Member
[AHK] Lazy script for low cost shipment
Because i don't care for maintaining high gold cost of the town, i use this script to send 1 Verisum Bar and 55 Dust to Riben Fell, this gives 3 scarabs and 2 runes per ship. Coordinates are hard coded for 1920x1080, maybe you can get some AI to give you equivalent pixels for your resolution. Use Ctrl+P to activate, this will prepare shipments, select port, and sent them.
If you wish to change the shipments change the Value function.
Code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive ahk_exe PathOfExile.exe
^p:: ; This is the hotkey for Ctrl+P
BlockInput 1
SetDefaultMouseSpeed, 8 ; The speed to move the mouse in the range 0 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly.
shipment()
selectPort()
sail()
BlockInput 0
return
sail()
{
MouseMove 406, 255
Click
MouseMove 406, 505
Click
MouseMove 406, 754
Click
}
shipment()
{
MouseMove 406, 88
Click
value()
MouseMove 406, 337
Click
value()
MouseMove 406, 586
Click
value()
}
selectPort()
{
MouseMove 406, 255
Click
MouseMove 1150, 410
Click
MouseMove 406, 505
Click
MouseMove 1150, 410
Click
MouseMove 406, 754
Click
MouseMove 1150, 410
Click
}
value()
{
MouseMove 750, 482
Click
SendInput "1"
MouseMove 750, 641
Click
SendInput "55"
MouseMove 750, 675
Click
}
-
Post Thanks / Like - 1 Thanks
azamatw (1 members gave Thanks to ragingdemon for this useful post)
-
Active Member
Originally Posted by
ragingdemon
Because i don't care for maintaining high gold cost of the town, i use this script to send 1 Verisum Bar and 55 Dust to Riben Fell, this gives 3 scarabs and 2 runes per ship. Coordinates are hard coded for 1920x1080, maybe you can get some AI to give you equivalent pixels for your resolution. Use Ctrl+P to activate, this will prepare shipments, select port, and sent them.
If you wish to change the shipments change the Value function.
Code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive ahk_exe PathOfExile.exe
^p:: ; This is the hotkey for Ctrl+P
BlockInput 1
SetDefaultMouseSpeed, 8 ; The speed to move the mouse in the range 0 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly.
shipment()
selectPort()
sail()
BlockInput 0
return
sail()
{
MouseMove 406, 255
Click
MouseMove 406, 505
Click
MouseMove 406, 754
Click
}
shipment()
{
MouseMove 406, 88
Click
value()
MouseMove 406, 337
Click
value()
MouseMove 406, 586
Click
value()
}
selectPort()
{
MouseMove 406, 255
Click
MouseMove 1150, 410
Click
MouseMove 406, 505
Click
MouseMove 1150, 410
Click
MouseMove 406, 754
Click
MouseMove 1150, 410
Click
}
value()
{
MouseMove 750, 482
Click
SendInput "1"
MouseMove 750, 641
Click
SendInput "55"
MouseMove 750, 675
Click
}
this is for fullscreen 1920x1080, let me ask some ai to make it window
-
Member
I use it with window borderless.
-
Active Member
Originally Posted by
ragingdemon
I use it with window borderless.
that's poe's window fullscreen, i play it in window, it has title bar, so i have to +30 to all the Y
-
Member
FYI, 2 bars and 2 dust does the exact same thing.