ForumsGamesLoot the game auto hotkey

1 1576
Chantt
offline
Chantt
2 posts
Nomad

For easy grabbing of items in loot the game, I made a simple auto hotkey script that grabs things and cycles through inventory slots of where to put them. It's been working pretty well for me so far. Here's the code:

cx = 0
cy = 0
dx = 483
dy = 520
RButton::
MouseGetPos, xm, ym
xpos := (cx * 30) + dx
ypos := (cy * 30) + dy
if (cx = 11) {
cx := 0
if (cy = 0) {
cy := 1
}
else
{
cy := 0
}
}
else
{
cx := cx + 1
}

MouseClickDrag left,,,xpos,ypos,1
MouseMove xm, ym, 0
return
RCtrl::MouseGetPos, dx, dy

To use: hit right control over the top left inventory square, then right click to grab an item you're hovering over

  • 1 Reply
Chantt
offline
Chantt
2 posts
Nomad

clarification: hit right control while your mouse is hovering over the top left inventory box. And do this again if you scroll or move the game within your screen

Showing 1-1 of 1