LimonSpace's Forum Posts

  • now i try with port 80 the port is forwarded but the same thing happens.

    the client connect to the server but ship don't appare if u give me the code of index.html maybe i understand something.

  • and when i try to connect by proxy to the html file hosted on my apache web server the node.js server responce

    send I ,0, 500 ,500

    but ship nothing

    null i can't forward 443 i dunno how do that.

    that's my skype simone.comellato84 if you wanna tell me....

  • yes is all open but when i try pfportcheker he said me that 443 is not open i dunno why, i set all like port 8000 and with 800 is forwarded with 443 no me damn wanna u my skype?

  • I dunno how you managed to make it work.....on 843 is the same of 8000

    the the server responce but the ship don' compare and i don't know how can i work with 443 port

    how do you modiefed your html file can you show me?

  • lonehangman

    I think I love you!!!!!!

    thanks soooooo much very much now i try your solution and if it work I will marry you,

    But another think can you show me the right way cause when i start my server on port 443 he don't start:

    warn - error raised: Error: listen EADDRINUSE

    what kind of application use this port I understand that there's some application that lock this port i try with pfporthCheker and he said me:

    pleace close all the application use this port for testing

  • but when the people try to connect to my server my server serponce to all request the only thing is that the ship don't appare on the screen but if i see my server i note that he responce.

  • I modified the index in this way.

    <script src="http://localhost:8080/socket.io/socket.io.js"></script>

          <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>

          

    <script>

            var name = '';

            var socket = io.connect('http://localhost:8080');

    </script>     

    because the server and the file html is hosted on my apache server and when the people write my public ip in this case 93.145.238.228 can access to my html file and for now he work,

    with this modification i access to my html file with a proxy and i see that my js server sends data but in the screen don't compare the player schip

    SORRY FOR MY ORRIBLE ENGLISH

  • LimonSpace

    Is your own server publicly available through the DNS? Assuming it is, then in your index.html you simply reference the appropriate URL to access your server. (But I hope you're taking all the necessary security precautions!)

    how can do that?

    can you show me an example?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • nobody can help me?

  • hi all,

    how can i connect the index file hosted on altervista to the server hosted on my pc?

    when i try the example in localhost everything gonna right and the server answers correctly but from altervista i can write every ip and compare always the sprite and the arrows but there are no connections to the server why?

    can anyone show me the right way?

    PS and the sprite don't move

  • LimonSpace

    How did you do it. I can't for the life of me figure it out according to the post above that some one wrote (Thanks for that btw, it got me thinking)

    I simply wrong to quote sorry <img src="smileys/smiley36.gif" border="0" align="middle" />

  • hi all,

    i've a problem i make a simple star's game with this tut and now i only wanna put this project online but when i try to connect to my game by internet he don't connect to my server what i can do?

    i put the client on apache in my pc and the people can visit the home of the game (made in construct) but don't connect on my server (always in my pc) i just do port forwarding and exections in firewall ecc but nothing.

    i try with your example but    <img src="smileys/smiley19.gif" border="0" align="middle" /> the same thing how can i solve? thanks simone

    PS with construct the connection is ok

  • > Use the socket.on disconnect function to broadcast it.

    I see how to do it, but I have no idea what to enter in after that.

    example_server.js

    socket.on (disconnect) {

    ??

    }

    solved thanks

  • LimonSpace : There is one event in the sample file that says "every 0.07", in the sample file it sends the position of the managed player to the server. What actions do you have there?

    i've the same your's.

  • hi i try this tut with my construct file a simple ship in a background but i dunno why when i connect my ship the count of ship go over 1000 he put on my background 1 ship every 0.07 second why?