Yet-another Multiplayer Demo

Show us your completed creations made in Construct 2

Post » Fri Jun 01, 2012 5:39 am

thx for sharing...care to explain a bit about how to run ur own server? i tried to change the channel to http://localhost or 192.168.1.4 (the ip address on which the server is running)then on server.js change port to 8099 but it always says login failed or stuck on connecting..B10KILLER2012-06-01 06:09:36
B
1
Posts: 4
Reputation: 383

Post » Fri Jun 01, 2012 6:29 am

@B10KILLER

I guess, uh.
You might need assign server address to
[code]http://localhost/game:8099[/code] or
[code]http://localhost/lobby:8099[/code] depend on what plugin you use
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Fri Jun 01, 2012 8:09 am

thx!it was actually http://hostname:port/game or lobby
B
1
Posts: 4
Reputation: 383

Post » Mon Jul 02, 2012 3:32 am

I installed all plugins, compiled sucsesfully MiniTown.capx (channel in bottleneck was http://bottleneck.herokuapp.com/game), uploaded all files to hosting http://www.nqt.h2.pl/Mini%20Town/
and got err 'Login failed!'

What I missed?
B
3
Posts: 2
Reputation: 354

Post » Mon Jul 02, 2012 5:38 am

@zergqq

I re-export minitown.capx again. It could connect to server successfully(the server still alive). I'm not sure what happened.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Mon Jul 02, 2012 1:43 pm

I redownloaded everything, and its works now -.-zergqq2012-07-02 13:44:16
B
3
Posts: 2
Reputation: 354

Post » Thu Jul 26, 2012 11:24 pm

@rexrainbox how can i compile thios code so i can run it on my own server?
B
4
Posts: 11
Reputation: 372

Post » Fri Jul 27, 2012 12:22 am

@fixer368

The server code is running at node.js, so you need to install node.js on your server, them type
[code]node server.js[/code]
Google "node.js" to get more detail.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Tue Sep 04, 2012 10:45 am

can you explain in detail how to make a server on heroku with node.js. i see the lines that need to be modified but what do you have to do when creating an account on heroku and running the server like you did. I was able to get the capx project working off an ftp server with your server address. i installed the heroku toolbelt and am now struggling with the installation of node.js and npm. I assume i will work my way through but where do we put the server code that you posted? on heroku? is it a file upload area like ftp on godaddy?
the example you did is great and your help would be much appreciate
B
3
Posts: 3
Reputation: 381

Post » Wed Sep 05, 2012 6:24 am

@siki

Sorry, I don't have enough time to explain in detail.
The source code of server was shown in first post in this thread. For more detail, you might ask google.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

PreviousNext

Return to Completed Creations

Who is online

Users browsing this forum: webduck and 4 guests