Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pixel information tool
#10
(02-09-2015, 12:12 AM)Snarg Wrote:  
(02-08-2015, 01:11 PM)safar46 Wrote:  Try to use Control Viewer
http://www.autoitscript.com/forum/topic/...info-tool/
This seems to work quite well. Thank you for the link.

(02-08-2015, 10:19 PM)Henk500 Wrote:  for coordinates i use this autoit script...iim not sure these are correct coordinates in game..

Code:
#AutoIt3Wrapper_UseX64=n
; Set the Escape hotkey to terminate the script.
HotKeySet("{ESC}", "_Terminate")
Example()
Func Example()
   ; Initialize a Local variable.
   Local $aMgp = 0
   ; Create an endless loop, 1 will always be 1 therefore True.
   While 1
       ; Assign a Local variable the coords of the cursor (array).
       $aMgp = MouseGetPos()
       ; Display a tooltip near the cursor with its coords.
       ToolTip("x: " & $aMgp[0] & ", y: " & $aMgp[1], $aMgp[0] + 10, $aMgp[1] + 10)
       ; Avoid high CPU usage.
       Sleep(50)
   WEnd
EndFunc   ;==>Example
Func _Terminate()
   Exit
EndFunc   ;==>_Terminate
@Henk500 - I think your coordinates will be off a bit if you don't take into account the window borders. That is what getBSPos() and FindPos() are doing.

Yes i think it is off a bit..havent figured out the offset as i didnt needed it yet...
When i look at the getresource() function, i figured the mousecoords aren precise
Reply
 


Messages In This Thread
Pixel information tool - by Snarg - 02-08-2015, 11:08 AM
RE: Pixel information tool - by GkevinOD - 02-08-2015, 11:18 AM
RE: Pixel information tool - by Snarg - 02-08-2015, 11:27 AM
RE: Pixel information tool - by Henk500 - 02-09-2015, 03:22 AM
RE: Pixel information tool - by Snarg - 02-09-2015, 09:12 AM
RE: Pixel information tool - by Henk500 - 02-09-2015, 07:24 PM
RE: Pixel information tool - by safar46 - 02-08-2015, 01:11 PM
RE: Pixel information tool - by Mephobia - 02-08-2015, 04:43 PM
RE: Pixel information tool - by Henk500 - 02-08-2015, 10:19 PM
RE: Pixel information tool - by Snarg - 02-09-2015, 12:12 AM
RE: Pixel information tool - by Henk500 - 02-09-2015, 03:19 AM
RE: Pixel information tool - by kojometa - 02-09-2015, 01:47 AM
RE: Pixel information tool - by Snarg - 02-09-2015, 01:57 AM
RE: Pixel information tool - by dinobot - 02-09-2015, 03:47 AM
RE: Pixel information tool - by Henk500 - 02-09-2015, 07:01 AM
RE: Pixel information tool - by redclif - 02-09-2015, 04:43 PM
RE: Pixel information tool - by FastFrench - 02-12-2015, 03:31 AM
RE: Pixel information tool - by Snarg - 02-12-2015, 03:38 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website