URGENT HELP WEBSOCKET

0 favourites
  • 14 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hello.

    I need urgent help, because I do not understand how to create a websocket on my web server.

    I have a free server in miarroba.com.

    Perimite FTP Server and MySQL.

    How I can install a server websocket on this server miarroba?

    Are there any online server with websocket installed?

    Please, help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Please Can you help me create a websocket on my FTP server?

    I need to use this in my application of Construct2.

  • In this tutorial is created a Local Server.

    What I want, is create a server online, not on my pc.

    How I can do THIS?

  • Not if I explain well.

    Me not know Websocket about. I read many tutorials, but all create a local server on the pc. I want to use an online server,as for the one I have now miarroba.com.

    How to install, or as I believe, a websocket on my server online?

  • Not if I explain well.

    Me not know Websocket about. I read many tutorials, but all create a local server on the pc. I want to use an online server,as for the one I have now miarroba.com.

    How to install, or as I believe, a websocket on my server online?

  • Construct 2 doesn't do server websockets. C2 Websockers are for client side.

    As I understand C2 won't ever have official server support. Though Ashley will be doing a P2P based connections. But there is little right now.

  • websocket Server

    Hosting your own websocket server is complicated.

    Check out the ajax tutorials - it is easier, but depends on what you trying to do.

    But C2 isn't geared for multiple user at the moment. And takes a lot to get it to talk to 3rd party environments.

  • Try the ws module for node.js. If you know javascript it's an easy way to set up a websocket server.

  • Ashley. The link you sent. How i do to install these libraries on my server 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.

  • Please ashley helpme

  • 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

    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

    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 C2

  • amariscal

    How to install

    Install

    If that doesn't make sense then perhaps you better hire someone.

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)