6 ms·
I experimented with using super basic computer vision to cheat at videogames but It never worked quite right. My target was venge.io, pretty bad game but I can
by no_time 5y ago
I experimented with using super basic computer vision to cheat at videogames but It never worked quite right. My target was venge.io, pretty bad game but I can tamper with the files freely with some userscripts. I injected bright purple textures for all the characters and used a simple color range matching to find the target.
My choice of language was python with pywin32,numba and a screen duplication library which name I forgot. The biggest problem was that by the time I finished scanning the screenbuffer contents the enemies on screen have already moved.
If I had paid attention in university math classes I could've come up with a direction tracking and prediction system. :/
But then I threw the whole thing out the window and rewrote everything with good old fashioned readmemory()/writememory() :^)