GkevinOD   12-22-2014, 07:04 AM
Hello Everyone,

I have modified my previous GetGold Function to make a new and improve GetGold Function 2.0!


http://pastebin.com/gnzRXhNB


Unlike the previous version, it can detect the gold in less than a second (for me). I have removed the PixelSearch as it is too slow, and used a different approach using an optimized PixelGetColor. Now, it searches for the color of the pixel and compares it with the pixel color pattern using a function that compares the color variation.

I've organized the code a bit and gave an example within the script on how to use the function. You must have 860x720 resolution and the x and y value may vary from computer to computer.

I will work on making the function more efficient and getting the colors for the elixir.
  
Users browsing this thread: 9 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.