zebp / csgo-heatmap-generator Goto Github PK
View Code? Open in Web Editor NEWA NodeJS program to generate heatmaps of kills and deaths from Counter-Strike: Global Offensive Demos
A NodeJS program to generate heatmaps of kills and deaths from Counter-Strike: Global Offensive Demos
Os: Ubuntu Ubuntu 18.04.4 LTS
Npm: 6.14.4
Node: v14.2.0
debug log: https://pastebin.com/KLr5vC6g
Let me know if you need the demos.
game@nodejs:~/csgo-heatmap-generator$ npm run start
> [email protected] start /home/game/csgo-heatmap-generator
> node ./build/index.js
Parsing de_dust2...
Parsing de_mirage...
Parsing de_dust2...
Parsing de_mirage...
Parsing de_mirage...
Parsing de_cache...
Parsing de_inferno...
Parsing de_mirage...
Parsing de_mirage...
Parsing de_overpass...
Parsing de_train...
Parsing de_overpass...
Parsing de_inferno...
Parsing de_overpass...
Parsing de_inferno...
Parsing de_inferno...
Parsing de_mirage...
Parsing de_train...
Parsing de_mirage...
Parsing de_mirage...
Parsing de_train...
/home/game/csgo-heatmap-generator/build/parser.js:97
var _a = player.position, x = _a.x, y = _a.y;
^
TypeError: Cannot read property 'position' of null
at pushDeathPoint (/home/game/csgo-heatmap-generator/build/parser.js:97:21)
at GameEvents.<anonymous> (/home/game/csgo-heatmap-generator/build/parser.js:65:13)
at GameEvents.emit (events.js:315:20)
at /home/game/csgo-heatmap-generator/node_modules/demofile/dist/gameevents.js:30:22
at Array.forEach (<anonymous>)
at DemoFile.<anonymous> (/home/game/csgo-heatmap-generator/node_modules/demofile/dist/gameevents.js:29:30)
at DemoFile.emit (events.js:327:22)
at DemoFile._parseRecurse (/home/game/csgo-heatmap-generator/node_modules/demofile/dist/demo.js:250:18)
at processImmediate (internal/timers.js:456:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node ./build/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/game/.npm/_logs/2020-05-14T19_13_25_941Z-debug.log
Hi,
I am trying to get this running on windows 10 pro with node version 10.15.3.
when i am doing a "npm install --only=dev" i get the following error:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] No repository field.
Would it be a better idea to run it on a linux dist? ubuntu or like?
Hi,
I am very interested in using your project but since I am new to JS, it would be very cool if you could update your README to explain more about how to use the project.
Thanks in advance,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.