DataMiner

From OuroDev
Revision as of 01:08, 30 September 2019 by Pazaz (talk | contribs) (Created page with "== DataMiner == === Purpose === Aggregates in-game actions to monitor shards for overall activity. Includes some helper functions that can aide development; there's a seconds...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DataMiner

Purpose

Aggregates in-game actions to monitor shards for overall activity. Includes some helper functions that can aide development; there's a seconds-since-2000 converter, as well as a def + pstring parser and lookup.

Original development by Cryptic/Paragon/NCSoft.

TODO: Preview screenshots here

Installation

Prerequisites

  • Need a working CoX shard (or multiple)
  • Your choice of web server with a PHP version greater than 5.4/5.5. Preferably 7+.
  • PHP support for the sqlsrv extension is necessary, as well as the extension itself.

Downloading

  • Download the Source repository from git.ourodev.com.
  • Navigate to the Utilities/DataMiner directory.
  • Copy the contents to a directory your web server is serving.
  • Open config.php:
 * Change config_urlroot to the root URI you're serving.
 * Change all config_mssql variables to connect to your DataMiner database. This can be hosted on the same instance as your CoX server.

Database Setup

TODO: I made a compatible schema and it'll be pushed to the repository when I get a chance. Wiki updates will happen simultaneously.

Notes

  • DataMiner connects directly to `cohdb` databases and is intended to be used to manage a group of servers.
  • The original code uses the mssql driver, which was removed after PHP 5.6. Windows doesn't have a driver past 5.2