Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsgo doesn't work with new demos? #8

Closed
Majiick opened this issue Sep 19, 2015 · 10 comments
Closed

jsgo doesn't work with new demos? #8

Majiick opened this issue Sep 19, 2015 · 10 comments

Comments

@Majiick
Copy link

Majiick commented Sep 19, 2015

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.

@taylorfinnell
Copy link

I think the latest update broke the PacketEntity parsing. Specifically I think it is this line in the official parser https://github.com/csgo-data/demoinfogo-mirror/blob/2c8134c474fe7f3e02688b30249fe3cdc107ebc1/demofilepropdecode.cpp#L62 that is not implemented correctly in jsgo.

@evilnes
Copy link

evilnes commented Sep 19, 2015

The feedback node gives me is

   } while (b & 0x80);
              ^
TypeError: undefined is not a function

which makes me guess there's static location being used somewhere, that has been offset by the recent addition of several new tables and variables.

@moritzuehling
Copy link
Contributor

https://github.com/csgo-data/demoinfogo-mirror/blob/2c8134c474fe7f3e02688b30249fe3cdc107ebc1/demofilepropdecode.cpp#L51

This line also gives problems.

The other method looks like it would give wrong results, but not like it would break the parser. Have you had a look at my pull-request #9 ? What does it fix? What doesn't work?

@ghost
Copy link

ghost commented Sep 27, 2015

Any fix?

@moritzuehling
Copy link
Contributor

@nahtnam -have you tried #9?

@HarasimowiczKamil
Copy link

@moritzuehling I tried this does not solve all the problems.

@moritzuehling
Copy link
Contributor

@HarasimowiczKamil What doesn't it solve? Sorry, I have no node-environment set up.

@fredricbohlin
Copy link

@moritzuehling I still get "cant find entity 3" etc with newer demos.

@itotallyrock
Copy link

Hope this gets fixed/updated/pr'd I'm really interested in using this, but I'm too scared to start if there are too many issues with it being outdated.

@saul
Copy link

saul commented Jul 3, 2016

If you're looking to parser newer demos, take a look at my saul/demofile repo.

@Majiick Majiick closed this as completed Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants