Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Commit

Permalink
Update interact button images
Browse files Browse the repository at this point in the history
Because the interact functionality depends on knowing what the "Enter"
and "Change" buttons look like, it requires that the images match what
appears in game (at all 3 quality levels) exactly. At some point, the
game must have updated the images, as they no longer matched what I had
since the interact feature's initial release. An update of the images
solved that problem.

The code change is merely to take into account the image size (which
is ever so slightly larger than the buttons' sizes), and click in the
middle of the buttons rather than on the edges. These are effectively
magic numbers, and should be explained in variable names in the future.

Fixes #25
  • Loading branch information
Jordan Atwood committed Sep 21, 2015
1 parent 80fb6d2 commit f936747
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 0 deletions.
Binary file modified img/change-high.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/change-low.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/change-med.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/enter-high.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/enter-low.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/enter-med.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions realmscript.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ interact() {
windowPosToClientPos(stretchedX, stretchedY, posX, posY)
} else {
windowPosToClientPos(imageLocX, imageLocY, posX, posY)
posX := posX + 38
posY := posY + 15
}
BlockInput, on
CoordMode, Mouse, Client
Expand Down

0 comments on commit f936747

Please sign in to comment.