08-02-2011, 09:37 PM
I was playing around on another gaming forum lately, and they have games there that you can play. All are flash based swf's I believe. I was bored though, and decided to make a mini cheat engine for a couple of games lol.
http://www.gamerstick.com/games.php?action=play&gid=763
That's their game I was playing lol. I'm registered as Spin there, I just got almost 300 000 for my high score using my tool. Sometimes it makes false clicks, i'm not sure if that's because it's flash and it fades the dots out after they are clicked, but I just added in a brightness definer for my timer which fixed that up pretty good, barely any false clicks now.
Before you get confused, my app works like this:
1) It calls a mouse click event using the Windows API only if the color of the pixel at the mouse point is not &H0/FF000000/Black.
2) The timer is responsible for updating the value of the pixel it finds at mousepoint, which i've set to 1 millisecond (because of how fast you have to move your mouse in this game)
3) Since the dots fade in and out, I was having troubles with clicking once or twice after the initial click for a dot, so i've found out that the only RGB value that changes from Red to Yellow/Orange, is the green.
- I got that Green Value out of here: FF000000 and made a simple conversion for converting it's value from Hex to Int32 so that I could use an if then statement to check if it's value is below a darker color's value (right now it's set to not make a mouse click with the timer if that Green RGB value is less than 25, because that would be a really dark red that fades out into the black after you click a circle).
I have a registered a global hotkey for Alt+Q to close the application conviniently since if you're going to be clicking that fast (once per millisecond) you'd better be prepared to make sure that you can close the application without clicking a bunch of unnecessary areas on your screen along the way.
No one else tried the game without cheating like I did yet for the top scoreboard, but I can guarantee that no one will ever even come close to getting the score that I had without using a tool like this lol.
Screenshot:
I might post a video later of it in action Works great.
http://www.gamerstick.com/games.php?action=play&gid=763
That's their game I was playing lol. I'm registered as Spin there, I just got almost 300 000 for my high score using my tool. Sometimes it makes false clicks, i'm not sure if that's because it's flash and it fades the dots out after they are clicked, but I just added in a brightness definer for my timer which fixed that up pretty good, barely any false clicks now.
Before you get confused, my app works like this:
1) It calls a mouse click event using the Windows API only if the color of the pixel at the mouse point is not &H0/FF000000/Black.
2) The timer is responsible for updating the value of the pixel it finds at mousepoint, which i've set to 1 millisecond (because of how fast you have to move your mouse in this game)
3) Since the dots fade in and out, I was having troubles with clicking once or twice after the initial click for a dot, so i've found out that the only RGB value that changes from Red to Yellow/Orange, is the green.
- I got that Green Value out of here: FF000000 and made a simple conversion for converting it's value from Hex to Int32 so that I could use an if then statement to check if it's value is below a darker color's value (right now it's set to not make a mouse click with the timer if that Green RGB value is less than 25, because that would be a really dark red that fades out into the black after you click a circle).
I have a registered a global hotkey for Alt+Q to close the application conviniently since if you're going to be clicking that fast (once per millisecond) you'd better be prepared to make sure that you can close the application without clicking a bunch of unnecessary areas on your screen along the way.
No one else tried the game without cheating like I did yet for the top scoreboard, but I can guarantee that no one will ever even come close to getting the score that I had without using a tool like this lol.
Screenshot:
I might post a video later of it in action Works great.