I just started to learn noobhub… and do you have any sample code or documentation about lobby/matchmaking/dynamic rooms, etc.?
It seems hard to understand for me now. All I know is that the client can subscribe to certain channels and send/receive notifications. But how is this subscribe/notification method applied for these multiplayer features?
I’m using noobHub with corona sdk on my local server and it works fine,
but when I put the server online (to my free openshift account) I can’t connect the client application to it.
On the server side I have to set up the ip and port like this:
var port = process.env.OPENSHIFT_NODEJS_PORT || 1337;
var ip = process.env.OPENSHIFT_NODEJS_IP || 0;
server.listen(port, ip);
I tried several options in my corona application, but no luck:
You need to find out contents of process.env.OPENSHIFT_NODEJS_PORT and process.env.OPENSHIFT_NODEJS_IP
and connect client to those.
My friend had success with Noobhub and similar cloud environment (cloud9 to be specific). So you beter consult with Openshift documentation or ask support.
I want to create a chat app and i am wondering how to connect to more then 1 channel at the same time?
For example let’s say i am connected to the main-lobby channel and i can chat with everyone but what if at the same time i want to be able to chat with indvidual players as well by creating and connecting to private channels while keeping the connection to the main-lobby channel?
I just started to learn noobhub… and do you have any sample code or documentation about lobby/matchmaking/dynamic rooms, etc.?
It seems hard to understand for me now. All I know is that the client can subscribe to certain channels and send/receive notifications. But how is this subscribe/notification method applied for these multiplayer features?
I’m using noobHub with corona sdk on my local server and it works fine,
but when I put the server online (to my free openshift account) I can’t connect the client application to it.
On the server side I have to set up the ip and port like this:
var port = process.env.OPENSHIFT_NODEJS_PORT || 1337;
var ip = process.env.OPENSHIFT_NODEJS_IP || 0;
server.listen(port, ip);
I tried several options in my corona application, but no luck:
You need to find out contents of process.env.OPENSHIFT_NODEJS_PORT and process.env.OPENSHIFT_NODEJS_IP
and connect client to those.
My friend had success with Noobhub and similar cloud environment (cloud9 to be specific). So you beter consult with Openshift documentation or ask support.