zku / superhaxagon Goto Github PK
View Code? Open in Web Editor NEWSuper Hexagon Bot
Super Hexagon Bot
Hey there is an L in line 219 wich has to be removed
auto hWnd = FindWindow(nullptr, L"Super Hexagon");
It's the one right before " "Super Hexagon"); "
I hope I could help :)
First I'd like to apologize for creating an issue to get in contact with you, but I couldn't find another way to do so.
I've been learning python and I've also been playing Super Hexagon recently, so I figured I would try my hand at creating a bot for it.
I started out trying to use SimpleCV to parse the shapes and control the player position based on that, but SimpleCV just can't do it fast enough. It's only able to screenshot the game and parse the positions of everything at 6 FPS which is not fast enough to keep up with the speed of Super Hexagon.
I've decided to try a similar technique to what you've done by reading the memory but I've never done something like this with python.
I've found this about reading memory in python:
http://stackoverflow.com/questions/1794579/how-can-i-read-the-memory-of-another-process-in-python-in-windows
I was wondering if you have any insight as to whether this would work or not. If so, I would assume that on the stackoverflow page that "pid" would be the superhexagon process and would the "address" location be the offsets that I've seen in your bot?
Hey @zku,
I was looking through your code, and the memory addresses for the game attribute offsets in your code don't seem to match up with the version of Super Hexagon I'm running (I'm not too sure which version I'm running, but I assume it's the latest).
I was wondering how you calculated the pointer to the rest of the app memory (the base pointer 0x694B00
) - and how I could calculate the offsets for other attributes (like the time, etc.) Any help would be much appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.