URGENT HELP WEBSOCKET

Discussion and feedback on Construct 2

Post » Tue Nov 19, 2013 7:58 pm

Ashley. The link you sent. How i do to install these libraries on my server www.miarroba.com?

I do not understand, I have really wanted to learn to use it, but do not understand.

What should I do?

Help please.
B
10
S
2
Posts: 205
Reputation: 1,619

Post » Tue Nov 19, 2013 8:17 pm

Please ashley helpme
B
10
S
2
Posts: 205
Reputation: 1,619

Post » Wed Nov 20, 2013 2:15 am

Setup a server using node.js (coding it) , and then connect C2 to that server and send messages between the two ...

I will quote this excellent post from mars , he helped me shed light on my ignorance xD

[Quote=mars1985]
Let me help you understand and setup a basic home server
running node.js.

FYI: I would recommend that you DON'T do this on your primary home computer - try setting this on on a old computer if you have one. You don't want to mess up your primary computer.

Or you could eventually set one up as a virtual machine using VMWare Workstation but that's a whole other topic.

Anyways: Follow these steps and you should understand what Node.js is and how to setup a simple home web server. Please watch these in order and entirety.

1. What Node.js is:
http://www.youtube.com/watch?v=jo_B4LTHi3I


2. How to install Apache Web Server on Windows:
http://www.youtube.com/watch?v=8tBkEWPOqqk


**If you have a domain name then you can use it instead of localhost and simple go to your domain registrar and create an A Record that points to your home computers IP address:
http://whatismyipaddress.com *If its static and your internet provider allows it.

Download Apache Latest Stable Version:
http://httpd.apache.org/download.cgi

3. How to install node.js on Windows with Apache already installed - and setup a simple chat application
http://www.youtube.com/watch?v=hrdSN9ezDl0


Download and install the latest node.js for windows:

http://code.google.com/p/nodejs-win

This isn't the easiest thing in the world to do - if you get stuck - remember to Google or YouTube it first - there is a lot of good information out there.


*Updated Broken Links
[/Quote]

Finally , here's a home-made tutorial from one of the members
Tutorial

Basically , if you want a server , you'll have to code it using javascript , and run it from a computer , it can be a vps (a private server , google it) , and you need to connect C2 to that server , and then , you can exchange messages between the server and the client , that's multiplayer in a nutshell ...

If you don't want to learn javascript , you'll have to wait for project bubble , that let's you code a server FROM C2Whiteclaws2013-11-20 02:16:40
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Wed Nov 20, 2013 6:41 am

@amariscal
How to install
Install
If that doesn't make sense then perhaps you better hire someone.DUTOIT2013-11-20 06:49:34
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Wed Nov 20, 2013 1:39 pm

Setting up a server is a complicated technical matter which is somewhat outside the scope of this forum. You'd probably have more luck asking on a site like StackOverflow.com. If you have never done this before the learning curve may be steep.
Scirra Founder
B
397
S
236
G
88
Posts: 24,428
Reputation: 194,570

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests