jsgo
jsgo copied to clipboard
A javascript library for reading CS:GO demo files
The first example in the readme file is outdated, the Player class now has a getPosition() method instead of a getPos() one.
Somewhere disappeared method `signedVarInt32` ``` js /project/node_modules/jsgo/lib/jsgo.js:1209 return stream.signedVarInt32(); ^ TypeError: Object # has no method 'signedVarInt32' at Entity.decodeInt (/project/node_modules/jsgo/lib/jsgo.js:1209:31) at Entity.decodeProperty (/project/node_modules/jsgo/lib/jsgo.js:1164:60) at Entity.readFromStream (/project/node_modules/jsgo/lib/jsgo.js:1115:39) at Demo.handlePacketEntities (/project/node_modules/jsgo/lib/jsgo.js:1843:48) at...
Hi, I tried to use 'npm i' to install the package, unfortunately, it is not up to date.
When attempting to run either browser examples the browser console will return Buffer is not defined. Wondering if their is any easy solution?