AutoHotKey Scroll buying script

General Discussion is for anything related to Blackstone not covered in the other forums.
Post Reply
Catopillar
Baron
Baron
Posts: 62
Joined: Wed Mar 18, 2020 2:00 am

AutoHotKey Scroll buying script

Post by Catopillar »

I made a script for mass buying scrolls. I asked Driller to make sure it was ok, and he said he didn't mind.

It currently requires that you are using 1920x1080 resolution and UI scale 1. You can probably adjust the numbers for other resolutions, if you are comfortable modifying the code.

Mouse over the scroll you wish to buy, then press and hold alt-f. Release to stop buying.

Two ways to use:
You can download auto hotkey https://www.autohotkey.com/
Then create a new text document and paste the following code:

Code: Select all

CoordMode, Mouse, Screen
#InstallKeybdHook
#Persistent
!f::
MouseGetPos, x, y
if (x < 150)
{
xoffset = 250
}
else
{
xoffset := x + 100
}
if (y < 150)
{
yoffset = 150
}
else
{
yoffset := y
}
while GetKeyState("f")
{
MouseMove, x, y
	Click Right
sleep 30
	MouseMove, xoffset, yoffset
	Click Right
sleep 30
}
Save it and change its extension to .ahk
Then run

Or

Download the .exe here
and run as Administrator.
(I know this is scary which is why I posted above code for a safer option)

Let me know if you have any trouble. I could be convinced to make a version for other resolutions, or maybe a generic version.
Beezlebub
Baron
Baron
Posts: 57
Joined: Sat Jan 02, 2021 3:50 am

Re: AutoHotKey Scroll buying script

Post by Beezlebub »

so its allowed yet making a quick vendor update to 10 a stack is a no no ...... lol
FactoryRoadGaming
Commoner
Commoner
Posts: 13
Joined: Tue May 05, 2020 9:22 am

Re: AutoHotKey Scroll buying script

Post by FactoryRoadGaming »

Or, looked at another way...why would the server need to make changes for every little inconvenience when there are Quality of LIfe solutions available?
Post Reply