This is a fork of Padtrack's wonderful and powerful WoWS Discord bot. I've made minor adjustments, but this is mostly just for my own learning, and for me to run my own instance for educational purposes, nothing more. I would suggest using Padtrack's bot, not running your own, unless you really like the challenge and want to learn.
A discord bot focused on World Of Warships, written in Python. Contact @Trackpad#1234 for issues.
You can invite the original version of the Padtrack's bot here. The following instructions are only if you want to set up your own instance:
-
Create a new Python >3.6 venv, and install dependencies with
pip install -U -r requirements.txt
. -
Populate
assets/private
with the following files using the WoWS unpacker tool:- GameParams.data, located in
res/content
. Use it withscripts/GameParams/dump.py
to generategameparams.db
. - ship_bars, located in
res/gui
. - spaces, located in
res
.
Finally, copy global.mo for the language you intend to use.
- GameParams.data, located in
-
Generate
rush.db
by runningscripts/dump.py
withrush.txt
from Michael Fogleman's Rush Hour solution. -
Create a
config.py
file withconfig_template.py
as a template. -
Run
scripts/setup.py
. -
Install the
Trebuchet MS
font. -
Start the bot by run
bot.py
!
This uses a slightly modified version of replays_unpack by Monstrofil, available here. The modifications were done primarily to the battle_controller.py file, and are available in the fork here.
I made a Dockerfile that allows you to run an instance of this rather simply, please see the repo for that, here. If you have any suggestions on how I can improve, please let me know.