[tool] wows-stats: A XVM like stats table for current match
I accidentally figured out how to get current match information from World of Warships, and there you go:
wows-stats: A XVM like stats table for your current match.
But don’t get too excited yet. This is not a mod (yet), but an external tool which launches a web page to show you that information.
1.Download and unzip http://uploadas.com/npcg7tnd09g3/wows-stats-master.zip.html and clone that repository to your computer.
2.Make sure you have Node.js installed, and you have restarted your computer if you just ran the installation.
3.Make sure you have replay enabled in World of Warships. (Instruction here: http://forum.worldofwarships.com/index.php?/topic/16351-wows-replays/)
5.Edit .env in the open Notepad application, and:
Change the value after WOWS_PATH= to where you installed World of Warships, it is usually the default value: C:\Games\World_of_Warships.
Get an Application ID from http://na.wargaming.net/developers/ at your region.
Note: You can skip this step and the demo key will be used, where Wargaming has a limit on how many times you can hit their API in a certain period of time. I recommend you go ahead and follow the steps, it takes less than a minute and it is totally free.
Create an application on https://na.wargaming.net/developers/applications/ page in http://na.wargaming.net/developers/ at your region and copy the newly generated Application ID.
Add WOWS_API_KEY=your_api_key after WOWS_PATH in a new line, and replace your_api_key with the Application ID you copied.
Change WOWS_API_URL to the url of World of Warships API at your region. (Without the trailing slash)(For example, http://api.worldofwarships.com/ for NA, http://api.worldofwarships.eu/ for EU)
Save the change.
1.Run run.bat to start the app.
2.You should see a web page on http://localhost:8080, make sure only one web page to that address is open at all time.
1.Feel free to use the issue tracking feature on GitHub to create tickets if you find any bug or have any suggestion.
2.Feel free to fork and send me pull requests if you want to help me improve this tool.
3.This tool was built with extensibility in mind, as the Node.js portion of the tool serves as a local api endpoint where any other application or mod can tap into. Feel free to poke around in the web app portion to see how the local api is used, and I will update documentation soon on GitHub.