mape / node-wargames Goto Github PK
View Code? Open in Web Editor NEWVisualization of an IRC channel in a wargame theme.
Home Page: http://wargamez.mape.me/
License: MIT License
Visualization of an IRC channel in a wargame theme.
Home Page: http://wargamez.mape.me/
License: MIT License
Hi Mape, really cool app. I'm playing around with it to learn node and ec2-webapp. I've got it up and running on an AWS instance, but it seems it can't get any coordinates from any of the users in #node.js on irc.freenode.net, so nothing is getting displayed on the map, just the chat log in the top right corner.
My google-fu is failing me at the moment. Is there something else I need to do to get those coordinates, or is that something that each irc user has to enable for their account? If the latter, is there a better irc server/room I should try, where users might be more likely to have coordinates enabled?
Thanks!
Please add the required dependencies to the readme file, or add a package.json file.
Just cloning the git repo and adding the dependencies in the readme didn't work.
I had to add additional dependencies:
Doesn't seem to work, I can see the world map but nothing's happening even though there is activity on the channel. :(
Firefox reports:
GET http://lifetimeblood.info:5656/socket.io/xhr-multipart/
200 OK 26ms
client.js (line 659)
Firefox can't establish a connection to the server at ws://lifetimeblood.info:5656/socket.io/websocket.
Server console:
~/checkouts/node-wargames$ node server.js
info - socket.io started
info - unhandled socket.io url
warn - unknown transport: "undefined"
- 200 GET /
- 200 GET /static/css/1335958979046/style.css
- 200 GET /static/js/1335958979136/client.js
- 200 GET /fonts/codenamecoderfree4f-bold-webfont.woff
- 200 GET /favicon.ico
warn - unknown transport: "undefined"
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
info - unhandled socket.io url
~~ repeating ~~
Node Version:
$ node --version
v0.6.16
NPM Packages:
$ npm list
/home/blood/checkouts/node-wargames
+-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
+-- [email protected]
¦ +-- [email protected]
+-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
+-- [email protected]
+-- [email protected]
¦ +-- [email protected]
¦ ¦ +-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
¦ +-- [email protected]
+-- [email protected]
+-- [email protected]
¦ +-- [email protected]
¦ +-- [email protected]
+-- [email protected]
is this a dependency? i installed it as well via npm but still get the error.
$ node server.js
Caught exception: Error: Cannot find module 'connect'
[ 'Error: Cannot find module \'connect\'',
' at Function._resolveFilename (module.js:320:11)',
' at Function._load (module.js:266:25)',
' at require (module.js:348:19)',
' at Object.<anonymous> (/Users/sirkitree/node/node-wargames/server.js:6:15)',
' at Module._compile (module.js:404:26)',
' at Object..js (module.js:410:10)',
' at Module.load (module.js:336:31)',
' at Function._load (module.js:297:12)',
' at Array.<anonymous> (module.js:423:10)',
' at EventEmitter._tickCallback (node.js:126:26)' ]
This project looks like a lot of fun, but I can't seem to make it work.
After installing the modules listed in the README file, I found the following modules had to be npm installed as well:
Running node server.js emits the following exception and hangs:
Caught exception: TypeError: Object function createServer() {
if ('object' == typeof arguments[0]) {
return new HTTPSServer(arguments[0], Array.prototype.slice.call(arguments, 1));
} else {
return new HTTPServer(Array.prototype.slice.call(arguments));
}
} has no method 'staticProvider'
[ 'TypeError: Object function createServer() {',
' if (\'object\' == typeof arguments[0]) {',
' return new HTTPSServer(arguments[0], Array.prototype.slice.call(arguments, 1));',
' } else {',
' return new HTTPServer(Array.prototype.slice.call(arguments));',
' }',
'} has no method \'staticProvider\'',
' at HTTPServer.<anonymous> (/home/psema4/devel/node/node-wargames/server.js:54:18)',
' at HTTPServer.configure (/home/psema4/devel/node/node-wargames/node_modules/express/lib/http.js:484:52)',
' at Object.<anonymous> (/home/psema4/devel/node/node-wargames/server.js:51:5)',
' at Module._compile (module.js:404:26)',
' at Object..js (module.js:410:10)',
' at Module.load (module.js:336:31)',
' at Function._load (module.js:297:12)',
' at Array.<anonymous> (module.js:423:10)',
' at EventEmitter._tickCallback (node.js:126:26)' ]
^C
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.