9 years ago by Kurath
I've tried to make a little game server on my raspberry pi.
For this i used this project:
Game: http://commins.ca/gib/
Source: https://github.com/Joncom/gib
But i've got a few problem with the project i've got diffrent nodejs/socket.io based games on the raspberry pi and they all worked but this one didn't.
At the moment i got everything installed an i got this folder structur on my server:
tools
node_modules
-socket.io
-node-uuid
-canvas
media
lib
*start.js
*socket.io.1.0.6.js
*README.md
*package.json
*jquery-1.10.2.min.js
*index.html
*config.js
When i start the server with node start.js i've got this response:
$0: /usr/local/bin/node
$1: /home/pi/gib/start.js
$2016-05-31T22:17:20.888Z Socket server listening on port 3000.
So the server should be running, right?
http://192.168.1.111:3000/ would be the host and the port number of the server and if i go to that i got not any error instead i see the game without my own player its just the blank map and in the corner i get the message:
FPS:15
Entities count: 11
Living players:
Sockets:0
Named Clients:0
Dead:0
i don't see any error but it doesnt work at all...
Hopefully someone can help me.
For this i used this project:
Game: http://commins.ca/gib/
Source: https://github.com/Joncom/gib
But i've got a few problem with the project i've got diffrent nodejs/socket.io based games on the raspberry pi and they all worked but this one didn't.
At the moment i got everything installed an i got this folder structur on my server:
tools
node_modules
-socket.io
-node-uuid
-canvas
media
lib
*start.js
*socket.io.1.0.6.js
*README.md
*package.json
*jquery-1.10.2.min.js
*index.html
*config.js
When i start the server with node start.js i've got this response:
$0: /usr/local/bin/node
$1: /home/pi/gib/start.js
$2016-05-31T22:17:20.888Z Socket server listening on port 3000.
So the server should be running, right?
http://192.168.1.111:3000/ would be the host and the port number of the server and if i go to that i got not any error instead i see the game without my own player its just the blank map and in the corner i get the message:
FPS:15
Entities count: 11
Living players:
Sockets:0
Named Clients:0
Dead:0
i don't see any error but it doesnt work at all...
Hopefully someone can help me.