SgtConti's Forum Posts

  • He just means, you shouldnt connect in the layer where your map is.

    Or he means that you shouldnt connect twice...

  • vladoss i replied to you in the other thread

    basicUser im sorry, you should create a new thread, im capable of using Socket.io but i don�t know anything about MySQL, php and AJAX, yet.

    You need someone other to help you out with that.

  • Im going to send your my skype name soon ok?

    Did you also checked the firewall of your router? Try to forward the port.

  • You need to open your ports in the firewall.

    http://windows.microsoft.com/en-us/windows7/open-a-port-in-windows-firewall

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As it looks ther eis a spelling mistake: ""95.73.64.177"

    There is a " too much in the beginning.

  • as i can see there, it starts the server and a client connects.

    It also sends correct informations and invalid,

    info - handshake authorized

    ^^ shows you a client connected

    debug - websocket writing 1::

    ^^ shows you a empty message has been sand, not good.

    debug - websocket writing 3:::you,myusername

    ^^ perfekt, it sended two values, you and myusername!

    So no, it doesnt cant connect, but some messages are maybe emitted/send/broadcasted wrong, or invalid.

    Maybe you should check the server if it handles the messages correct.

  • Np, one of the first things you learn as a coder is that 80% of your mistakes are spelling mistakes, its true :)

  • I would love testing the game, im currently myself developing a game, but if its not a problem, im your man.

    Ive been a beta/alpha testers in over 12 games so far.

    I would be able to test the game in this configurations:

    Ubuntu 12.04 LTS Virtual

    Changeable system specs

    Windows 8.1 Preview

    AMD 1090t X6 ,8GhZ

    8gb Corsair Ram

    990FX Chipset

    23" FullHD

    I also have a real 5.1 sound system if its important to test the sound.

  • If you could add:

    scirra.com/tutorials/571/modded-socketio

    To the multiplayer section of this thread, i would really appreciate it.

  • You wrote npm install soket.io

    The problem is soket.io, you forgot an c.

    It should be: npm install socket.io

    Hope i could help

    -Conti

  • Why do people like Steam?

    Its a great publishing platform for small and big studios.

    Its very cheap during sales.

    Its community is big and the social components of steam are good for gamers.

    Its the biggest distribution platform on pc.

    Thats why stesm is great, i own over 170 games there, and son also c2, you can share screenshots there, earn achievements, everything a true game needs.

    I dunno how the fees are, that only the publishers know, i only know its great ;)

    • Delted -
    • Delted -
  • I made a Tutorial for Socket.IO

    You can take a look at it here:

    scirra.com/tutorials/571/modded-socketio

    Hope you like it <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Ok i managed it to get the server running, and emitting data through.

    And making an Automatch system for 2 players.

    but now i have a problem, everytime im emitting a string form my text box through, then i get it back the first time right.

    Second time x 2

    3rd time x3

    4th time x 4...

    I have no idea why. Heres a part from my server code in case something is wrong with that:

    socket.on("message", function(data){

              socket.on("chatmessage", function(data2){

                   io.sockets.in(data).send("chatmessage," + data2);

              });

              socket.on("GameSettings", function(data2){

                   io.sockets.in(data).send("GameSettings," + data2);

              });

         });

    I know the post is old, but better keeping this alive then always making a new thread for almost the same topic...