Giter Club home page Giter Club logo

node-wargames's People

Contributors

mape avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-wargames's Issues

Failed update, username lacks coordinates

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!

Missing dependencies

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:

  • connect
  • connect-assetmanager
  • connect-assetmanager-handlers
  • express
  • ejs

Browser connection issues

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:

cannot find module 'connect'

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)' ]

TypeError Exception: createServer() has no method staticProvider

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:

  • connect
  • connect-assetmanager
  • connect-assetmanager-handlers
  • express

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

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.