Search code examples
macrosmousetwitch

Theoretically speaking, is this possible?


Okay, so I have come up with an idea that is based loosely on TwitchPlaysPokemon, I won't go into huge detail as it is a new idea, but I will cover the basics.

What I would be looking to do is have a program that can, in a game, move the mouse to a location and click on the screen, then based off of what happens in the next 5 minutes (which is the part I don't want to talk about), users in twitch chat will vote with 15 possible different outcomes in the form of !1111 through to !2222 (I think 15 is correct). This vote should trigger a mouse movement, and I will set the number of pixels I want the mouse to move in order to make this selection. Here is a screenshot of a very basic layout of what the in-game vote layout looks like: http://gyazo.com/0ab21fb235ff879e28d0f7a336ccf194

After the vote takes place I need to make 2 more clicks in a set location which will trigger the process to start again. If anyone could let me know how this would be possible, I would be very grateful.


Solution

  • If you stick to the Windows platform you can do this with Auto-it.

    It is a scripting language which allows you to move the mouse pointer, read pixel colours etc. I used it to cheat at Evony years ago, before everybody else also started cheating with YAEB and I lost (interest).