wotreplay-parser
wotreplay-parser copied to clipboard
cannot parse replays in ubuntu build
Hi, I have compiled the project on Ubuntu successfully but the parser does not seem to work.
I tried parsing several replay files:
./wotreplay-parser --parse --root ./ --type json --input file.wotreplay --output test.json
And I always get this error:
wotreplay-parser: <repository_path>/wotreplay-parser/src/packet.h:148: const U& wotreplay::get_field(T, T, size_t) [with U = short unsigned int; T = __gnu_cxx::__normal_iterator<unsigned char*, std::vector
>; size_t = long unsigned int]: Assertion `(offset + sizeof(U)) <= std::distance(begin, end)' failed. Aborted (core dumped)
can you help?
You can comment out assertion macro, at your own risk.