Assistant for Summoners War players.

Keep tabs on your monsters, runes, inventory, teams, run logs, skills...
Get reports on which runes should be replaced, which monster to skill-up next, or victory rate on different areas.

Includes a plugin for sw-exporter to easily import your profile.
https://swdb.inigovalentin.com

Iñigo Valentin ec40acd22d Runs are now better parsed, all reward types are considered and filters are working now. The optimizer has been optimized, and a focus option has been added. Level 20 decorations data inserted and calculated. Silver and purple monsters are now ssen in the catalog. Several minor fixes. 5 vuotta sitten
application ec40acd22d Runs are now better parsed, all reward types are considered and filters are working now. The optimizer has been optimized, and a focus option has been added. Level 20 decorations data inserted and calculated. Silver and purple monsters are now ssen in the catalog. Several minor fixes. 5 vuotta sitten
data d60dfc7a12 Modified data directory 6 vuotta sitten
doc 7c8c532541 Version 2.1 6 vuotta sitten
install_data ec40acd22d Runs are now better parsed, all reward types are considered and filters are working now. The optimizer has been optimized, and a focus option has been added. Level 20 decorations data inserted and calculated. Silver and purple monsters are now ssen in the catalog. Several minor fixes. 5 vuotta sitten
parser 8f1d5cdc07 Code optimizations in pages and views. Proper encapsulation and documentation across all files. 5 vuotta sitten
public ec40acd22d Runs are now better parsed, all reward types are considered and filters are working now. The optimizer has been optimized, and a focus option has been added. Level 20 decorations data inserted and calculated. Silver and purple monsters are now ssen in the catalog. Several minor fixes. 5 vuotta sitten
swex-plugin 74803a2b4d Fusion section removed. API v1 and v2 removed, v3 renamed to v1. Bug fixes, lots of TODO still in code. 5 vuotta sitten
.gitignore 51f54d5169 User entities added separated from players. Website and API adapted to this change. Website is mostly functional, not fully tested. 5 vuotta sitten
LICENSE b3206b96d2 Added README and LICENSE 6 vuotta sitten
README.md b3206b96d2 Added README and LICENSE 6 vuotta sitten
config ff0b40388a Standalone server. Better installer. Searchable catalog. CSS fixes. 8 vuotta sitten
install b3206b96d2 Added README and LICENSE 6 vuotta sitten
start_server fa70db29a2 Major visual overhaul. 6 vuotta sitten
stop_server ff0b40388a Standalone server. Better installer. Searchable catalog. CSS fixes. 8 vuotta sitten

README.md

SWDB

Assistant for Summoners War players.

Keep tabs on your monsr, runes, inventory, teams, run logs, skillps... Get reports onwhich runes should be replaced, which monster to skillup next, or victory rate on different areas.

Includes a plugin for sw-wxporter to easily ipmort your profile.

Requeriments

  • PHP (version 7 recommended, not fuly tested on preious versions)
  • SQLite

Setting it up

  1. Install the basic data. Just run the install script. It will check all requeriments and initialize the databases.
  2. It is designed to run on the built-in PHP web server, but with a bit of work can be made to work on apache. By default, it runs on por 80, and it's publicly visible. Iy you want to change that, it's easy enough to edit the config file. To start it, just run the start_server script.
  3. Create an user. As of now, there is no frontend for doing so, so it must be inserted directly into the database:

    $ sqlite3 data/sw.sqlite
    sqlite> INSERT INTO player (uid, name, mail, password, api_key) VALUES('<com2us_id>', '<username>', '<email>', '<sha256sum-of-password>', '<api-key>');
    
    
  4. Open http://localhost/ on your browser and login.

Setting up the sw-exporter plugin

  1. Copy the plugin to the plugins directory of sw-exporter.
  2. In the configuration page, set the host and the port (usually localhost and 80) and the API key you just inserted.
  3. Enable an many options as you like.
  4. For more information about configuring sw-exporter, please, refer to the sw-wxporter project

Authors

License

This project is licensed under the GPLv3 - see the LICENSE file for details

Acknowledgments