Difference between revisions of "UO.GetPix"

From OpenEUO
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
  
 
See [http://www.easyuo.com/forum/viewtopic.php?p=365735#365735 Kal OCR] for gump text scanning.
 
See [http://www.easyuo.com/forum/viewtopic.php?p=365735#365735 Kal OCR] for gump text scanning.
 +
See [http://www.easyuo.com/forum/viewtopic.php?p=367688#367688 Kal GetHitBarLife] for scanning status gumps.
 +
 +
[[UO.Click]]
 +
 +
[[UO.HideItem]]
 +
 +
[[UO.Popup]]
 +
 +
[[UO.StatBar]]

Latest revision as of 13:36, 9 October 2010

EUOX Equivelent: SavePix [[1]]

Synopsis: nPix = UO.GetPix(nX,nY)

Definition: saves the color value of the pixel given by the screen coordinate parameters

Example:

local a = UO.GetPix(400,400) 
print("pixel color at 400x 400y is " .. a)

(Original Source: Swift74d[[2]])

Notes:

  • Except on Windows 7, client window must be visible and unobstructed for pixel scanning.
  • Mouse cursor can obstruct pixel scanning, make sure it is not hovering over target pixels.


See Kal OCR for gump text scanning. See Kal GetHitBarLife for scanning status gumps.

UO.Click

UO.HideItem

UO.Popup

UO.StatBar