Pixel information tool - Printable Version +- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club) +-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1) +--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97) +--- Thread: Pixel information tool (/showthread.php?tid=654) Pages:
1
2
|
Pixel information tool - Snarg - 02-08-2015 Hello, Quick question for the developers: Do you have a tool you use to retrieve pixel information from the game screen? Mainly X/Y (taking into account the offset) and color information? If so, would you be willing to share it? Thank you for your time and I hope to hear back from you soon. RE: Pixel information tool - GkevinOD - 02-08-2015 Autoit has an Information Window, you can use that to detect the location of the pixel. Use Finder Tool and get the pixel. In the 'Control' tab you can get the coordinates, 'Mouse' tab you can get the color. RE: Pixel information tool - Snarg - 02-08-2015 (02-08-2015, 11:18 AM)GkevinOD Wrote: Autoit has an Information Window, you can use that to detect the location of the pixel. Use Finder Tool and get the pixel. In the 'Control' tab you can get the coordinates, 'Mouse' tab you can get the color. I have seen that, but I don't think it takes into account the offset. I have tried to make a tool, but mine is very sad I get the coords (assuming they are correct) and, sometimes, I get the color, but most of the time the color comes back as, 'FFFFFF'. Try to hold back your laughter, but this is what I have so far: Code: #include <Misc.au3> RE: Pixel information tool - safar46 - 02-08-2015 Try to use Control Viewer http://www.autoitscript.com/forum/topic/126716-control-viewer-autoit-window-info-tool/ RE: Pixel information tool - Mephobia - 02-08-2015 I use ColorPic to get colors: http://www.iconico.com/colorpic/ AND I use Greenshot to get coordinates: http://getgreenshot.org/ RE: Pixel information tool - Henk500 - 02-08-2015 (02-08-2015, 04:43 PM)Mephobia Wrote: I use ColorPic to get colors: http://www.iconico.com/colorpic/ for coordinates i use this autoit script...iim not sure these are correct coordinates in game.. Code: #AutoIt3Wrapper_UseX64=n RE: Pixel information tool - Snarg - 02-09-2015 (02-08-2015, 01:11 PM)safar46 Wrote: Try to use Control ViewerThis 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..@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. RE: Pixel information tool - kojometa - 02-09-2015 did you check the ">>>> Control <<<<" section in the summary-tab of the autoit windows info tool? RE: Pixel information tool - Snarg - 02-09-2015 (02-09-2015, 01:47 AM)kojometa Wrote: did you check the No, I probably (incorrectly) assumed I knew what I was doing and, no doubt, missed that RE: Pixel information tool - Henk500 - 02-09-2015 (02-09-2015, 12:12 AM)Snarg Wrote:(02-08-2015, 01:11 PM)safar46 Wrote: Try to use Control ViewerThis seems to work quite well. Thank you for the link. 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 |