Henk500   02-09-2015, 03:19 AM
#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
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.