/CoRT

Champions of Regnum trainer, war status, bosses respawn and bz countdown

Primary LanguageHTMLGNU Affero General Public License v3.0AGPL-3.0

Champions of Regnum trainer (and more)

Since the famous regnumsentinel trainer is dead, all is left are operating systems locked trainers, or the updated Inquisition trainer from the german Regnum forum (update: they ended up using this trainer instead) but it has some outdated mechanics.

This is a (simpler) knockoff of the regnumsentinel website trainer, this one will be alive as long as GitHub exists and is open source software. On top of that, there are countdown pages for bosses and BZ, WZ status and statistics.

The website just requires a webserver serving static files to run, everything is run client side, with the exception of the WZ status and statistics (see the warstatus directory) that can partly be replaced by a link to NGE's official page, and anonymous setup collection (see the collect directory) which by default only works for https://mascaldotfr.github.io and can be completely skipped.

About v2

CoRT v2 is an extended version of CoRT running NodeJs.

WZ Stats etc. are fetched from mascal's CoRT.

Nearly all additions use a MySQL Database, so the Stats part needs to be rewritten to work with MySQL. CoRT v2 is not made to store dynamic files.

Resources Paradise

Please refer to regnum-online-resources-crawler.

Example .env file (required)

You can copy the .env.example file to .env

NODE_ENV=development

API_PATH=/api/v1
PORT=8080
HOST=http://localhost
DB_HOST=localhost
DB_PORT=3306
DB_NAME=cort
DB_USER=cort
DB_PASS=cort

SMTP_HOST=mail.domain.com
SMTP_PORT=587
SMTP_USER=system@domain.com
SMTP_PASS=password
SMTP_FROM="CoRT <system@domain.com>"

SESSION_SECRET=supersecretrandomstring

Known issues

  • display on mobile devices is weird due to flex in the WM skill row. it's not easy to fix, as even regnumsentinel had the issue. Use your device in landscape mode if it really bothers you. This is fixed on most devices.
  • shared urls are long, this could be fixed by using an url shortener api, but free plans may be quickly limit rated and they're not permanent. I don't want to have a database server, since it then would require a separate server and a domain for such a feature, that could go down like regnumsentinel.

Setting a local webserver

If you want to make changes to CoRT or run it locally, you can use python to create a temporary local webserver.

Hidden pages

License

This repo is released under the terms of the GNU Affero General Public License v3.0. Some parts of the site are MIT licensed as exceptions, please see their header files.

External assets

The discipline/skill icons are the work of Nimble Giant Entertainement, and are used as fair use.

Chartist is dual licensed under MIT/WTFPL licenses terms.

Tippy, Popper and LZstring are MIT licensed.

The Game icons set is licensed under the CC-BY 3.0 license terms.

Credits

  • Xia and Edward "urkle" Rudd, who wrote the first Inquisition trainer. Anpu did a thing or two about it as well iirc.
  • Joshua2504 and Shaiko from https://cor-forum.de/ for keeping the spell database updated
  • Slartibartfast, the regnumsentinel.com creator, site that gave me big hints about the UI should be done.