GitXplorerGitXplorer
r

Wot-Replay-to-Json-PHP

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
5bd46b8d1e0834d7044668660d04de50e4543c46

Fix undefined index

committed 7 years ago
Unverified
34f8bef15403509b004ecaa35d06a3dda5fbcc21

Update to WoT 0.8.11 struct.

rrguedes committed 11 years ago
Unverified
d9e32fc3537476f245b9e0ac333dd5181a29f77c

Update readme

rrguedes committed 11 years ago
Unverified
acc008fd074ba74667f50c57a95cb71c1f00db29

Add files

rrguedes committed 11 years ago
Unverified
838858936975cc577a6a2663bf9833cf977fe6a5

Initial commit

rrguedes committed 11 years ago

README

The README file for this repository.

Wot-Replay-to-Json

Extract JSON data from Replays

Supported Versions

WoT 0.7.x and higher. Latest tested version: WoT 0.8.11.

Usage

parseWot - creates a text file with the name of the replay where the extension has been replaced by ".json" and returns array.

$wot = new parseWot($filepath); $wot->parse();

Usage

common[status] = "ok" or "error" common[message] = detailed error, otherwise "ok"

common[datablock_1] = Datablock 1 exists common[datablock_battle_result] = Battle Result exists

If the replay can be read, the file will contain additional blocks:

datablock_1 datablock_battle_result - available only for replays created by WoT 0.8.2 or higher Value of -1 is indicating a corrupt/wrong inserted Battle Result due to a bug in WoT

Credits

https://github.com/Phalynx/WoT-Replay-To-JSON