Some small scripts to make your time in Club Penguin: Rewritten a little easier.
Report Bug
·
Request Feature
Table of Contents
Recently got my little group of gaming buddies into club penguin for a nostalgia trip.
Unfortunately, I love decorating my igloo and very much do not like
spending a year building up my gold reserves enough to do it properly.
when I finished the script that solved the gold issue (jackhammer-3001),
I found it hard to keep up with certain minigames and the pizzatron-3001 was born.
Setting this up for yourself is fairly easy if you're on Linux.
If you're on Windows, you'll need to find out how to get Tesseract running and I can't offer any guarantees as to performance or even basic functionality as tesseract has no official Windows binaries for its latest version(s) as of writing this.
Though if you've neevr tried linux, I'd highly recommend rying Pop!_os by System76 - It's a fantastic operating syustem and one that I use exclusively
This is an example of how to list things you need to use the software and how to install them.
- Python 3.10
sudo apt install python3.10 # Debian Linux
- pipenv for python 3.10
python3.10 pip install pipenv
- Latest OpenCV version
sudo apt install python3-opencv # Debian Linux
- latest Tesseract version
sudo apt install tesseract-ocr # Debian Linux
- Download / clone a copy of this repo
- Install prerequisits
- Run
pipenv install
inside cloned directory for dependencies - Edit [display] category in the config.toml file to match your monitor
Just start your script + pizzatron game, cover the pizza in sauce + cheese/sprinkles and then you can hit they keys 1/2/3/4 to
instantly grab the 1st/2nd/3rd/4th ingredient from the cheese/sprinkles and move it to where your cursor is. This makes it as easy as
following the pizza with your cursor and spamming the right key sequence. It doesnt work 100% of the time so just make sure it isnt dropping any toppings.
(Please note: This is old code so I won't be providing install or setup instructions. It's fairly straight forward though - just head to Auto Hotkey's website and ahve a look.)
Once you've run through your install process, jump into a terminal window inside the cloned git location (I'd recommend running VSCode as an editor which does this for you) and run the command 'pipenv run python -m toolbox' to start the bot.
The bot will wait until it finds the pizza ingredients / stats billboard before it starts running anything heavy. When it starts you'll get a p[op-up window that will update when the minigame starts. You can resize it and move it wherever is most convenient for you before the game starts.
Currently the bot is only capable of tracking objects and displaying a preview of what its tracking with labels / bounding boxes / tracking points. The next step I'm working on will allow the bot to add sauce + cheese/sprinkles to the pizza and any toppings required based on the name of the pizza you're being asked to make.
-
Simplify the Pizzatron-3000 ingredient gameplay to selecting a single key per ingredient - Use computer vision and OCR to completely automate the Pizzatron-3000
- Automate more minigames!
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Apache 2.0 License. See LICENSE.txt
for more information.
Brandon Lovegrove - @B_A_Lovegrove - [email protected]
Project Link: https://github.com/BLovegrove/cpr-tools
Like my work?