News for hackers. Stuff that matters.
Re:Starcraft 2 Automated Player by joelthelion on Thursday October 27, 2011 @04:33AM (#3162134)
Yes, this is why I used quotes for "looking at the screen". This is probably easier, but it's still harder than just getting the game info from the engine.

The interesting thing about this approach is that it can be applied to automate almost any computer task, by intercepting graphic primitives.

Re:Starcraft 2 Automated Player by albertzeyer on Thursday October 27, 2011 @04:53AM (#3162189)
DirectX calls are probably (or might be) still higher level than just graphic primitives. So maybe this approach only works for DirectX based games under certain circumstances.

When I first read your comment, I was actually thinking about something similar as Sikuli. Sikuli might actually work for some primitive scripting events in games.

Re:Starcraft 2 Automated Player by watty on Thursday October 27, 2011 @07:40AM (#3162560)
This is true, Sikuli can be used to hack together things like auction house scripts but OCR can be an issue.
Re:Starcraft 2 Automated Player by GFischer on Thursday October 27, 2011 @08:01AM (#3162607)
If you're looking at automating tasks, have you seen AutoMate and similar products?

http://www.networkautomation.com/

They're very impressive, not just mouse and keyboard "macros".

I've heard people use these to implement computer game "bots" (in particular Magic: the Gathering online trade bots)