aidanrwt / twitch-plays Goto Github PK
View Code? Open in Web Editor NEWTwitch IRC bot that takes input from the chat and presses the corresponding key.
License: MIT License
Twitch IRC bot that takes input from the chat and presses the corresponding key.
License: MIT License
Some games will register keystrokes from PostMessage which sends a keystroke only to a certain window, even if it's hidden or minimized. This could avoid using a VM to stream certain games. I used to use this to make MMO bots to keep using your PC even while you're botting.
c++ example:
HWND wnd = FindWindow(0, "VisualBoyAdvance");
UINT key = 0x31; // 1 key
PostMessage(wnd, WM_KEYDOWN, key, MapVirtualKey(key, 0) << 16);
Sleep(150);
PostMessage(wnd, WM_KEYUP, key, MapVirtualKey(key, 0) << 16);
Okay, so i have Python 2.7 installed. i have my emulator and i have it running and i run serve.py and it said it logs in and the main window is the emulator. is it supposed to make a GUI at all. I was looking around and i saw like chat height and bots and misc and a whole bunch of other stuff. But i still see my standard old emulator nothings different the only thing it did was connect to twitch chat. How do i properly set this up?
This is mainly technical but it'd be nice if we could bind the ability to enable input to emulator to a key so we can use a timer solution to enable when a new game starts just like what TPP does.
python serve.py
python: can't open file 'serve.py': [Errno 2] No such file or directory
Is there Any plan to add anarchy/democracy slider or do you have any idea how to add the anarchy/democracy slider?
Ive had a conversation previously and i was shown a GUI that they used to stream with and i was wondering if this would be included in the future with this and maybe a way to set this up. https://f.cloud.github.com/assets/2245318/2239841/5deb0842-9c5e-11e3-95ee-0d51e547672d.png
I want it to look like that ^ But i have litterally no idea how to get started to set something like that up so does anyone have any input on how to set that up?
In my fork I have used https://pypi.python.org/pypi/irc in favour of your implementation of the irc protocol. It provides a much more stable connection for this purpose, and has been tested on the official Twitch Plays Pokemon stream without issue.
Your implementation is limited and causes a lot of disconnects and time outs.
The code will be posted soon but don't wait for me for it as it is extremely messy.
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.