Giter Club home page Giter Club logo

jsgo's Issues

JSGO Browser Examples not working

When attempting to run either browser examples the browser console will return Buffer is not defined. Wondering if their is any easy solution?

[Bug] Used undefined method `signedVarInt32`

Somewhere disappeared method signedVarInt32

/project/node_modules/jsgo/lib/jsgo.js:1209
                return stream.signedVarInt32();
                              ^
TypeError: Object #<BitStream> 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 Demo.parsePacket (/project/node_modules/jsgo/lib/jsgo.js:1768:30)
    at Demo.parse (/project/node_modules/jsgo/lib/jsgo.js:1634:26)
    at new CSGOParser (/project/parser/csgo.js:42:15)
    at parse (/project/index.js:40:22)
    at /project/index.js:102:13
    at fs.js:272:14
    at Object.oncomplete (fs.js:108:15)

Parsing is not terminating

I've found a problem with some demos:
After parsing 447 to 449 ticks, the parser while hang.

fs.readFile(args[0], function(err, data) {
    var demo = new jsgo.Demo();
    var tick_count = 0;
    demo.on('tick', function() {
        console.log(tick_count++);
    });
    demo,parse(data);
});

The parsing never finishes and the application just hangs.

jsgo doesn't work with new demos?

I installed it and tried running it on a few of my demos that I recorded today, but all it's logging is "cant find entity 4" or "cant find entity 7" etc. However, jsgo works perfectly fine with the .dem that's included in the npm package. Yes, I made sure that I have the latest jsgo.

I used the round scores example.

How to get informatin about hits and damage per weapon?

Hi,
I know exist event on fire and death. I find in player.getData() information about damage per player m_iMatchStats_Damage. But i can't find informations about hits and damage per weapon. How to get this informations?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.