GithubHelp home page GithubHelp logo

chemputer / track_old Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raj-bapat/track

0.0 0.0 0.0 1.73 MB

A Discord bot written in Python for WoWS.

License: MIT License

Python 99.94% PowerShell 0.04% Shell 0.03%

track_old's Introduction

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.

Track

A discord bot focused on World Of Warships, written in Python. Contact @Trackpad#1234 for issues.

Setup

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:

  1. Create a new Python >3.6 venv, and install dependencies with pip install -U -r requirements.txt.

  2. Populate assets/private with the following files using the WoWS unpacker tool:

    • GameParams.data, located in res/content. Use it with scripts/GameParams/dump.py to generate gameparams.db.
    • ship_bars, located in res/gui.
    • spaces, located in res.

    Finally, copy global.mo for the language you intend to use.

  3. Generate rush.db by running scripts/dump.py with rush.txt from Michael Fogleman's Rush Hour solution.

  4. Create a config.py file with config_template.py as a template.

  5. Run scripts/setup.py.

  6. Install the Trebuchet MS font.

  7. Start the bot by run bot.py!

Dependencies

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.

Dockerfile

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.

Have suggestions or need more help?

Join the support discord!

track_old's People

Contributors

chemputer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.