Zack0Wack0's Recent Forum Activity

  • Thanks for testing it, I'll fix it when my internet is fixed (3 days). Also, it shouldn't be listening on different ports (accident on my part) so try changing it to 8001.

  • Bump! I updated the socket plugin with the latest socket.io release.

    I haven't actually tested it, but I'm 90% sure it'll work (I don't have Construct 2 on this computer, and because of a problem with my internet I am currently unable to download it). So if someone could give it a try (the cross browser version), that would be good.

    example_server.js inside the zip file contains a socket.io server. You will need to install node.js (and NPM - comes by default with node.js on the windows installer). Make a new .bat file, and put in:

    npm install socket.io
    node example_server.js
    

    And then it will be running, and the cap should connect to it. I will write the tutorial for it as soon as I can, I promise!

  • I will probably ditch the WebSocket version of it altogether, as the socket.io version is the best one.

  • No, there's no examples like that, sorry.

  • I put some variable into "" followed the minify rule.

    Now it can connect to server, but the custom event (emit) is not correct, my server say it lose a parameter. I can not understand the code after C2 minify. Maybe there still other errors.

    PS. I use Socket.IO.min.js build:0.8.7 in my plugin chat.

    It doesn't use 0.8 yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Zack0Wack0

    Thank you for your socket.io plugin ,and the python server. I ues it in my chat plugin. The only question is, I can not minify it in C2.

    OK, that's weird. I guess it doesn't like being minified twice. I guess the plugins are in need of a round of maintenance.

  • I will switch it to 0.8 as soon as I can. The main reason I didn't want to use the default node.js socket.io server is because it didn't work on windows, but now it does so it's fine.

    nice plugins :)

    can you make a tuto on how to set up a server for MMO games?

    I'm going to be completely honest here, if you can't work out how to setup MMO networking, then you shouldn't be making a MMO.

  • I already did in my socket plugin. I don't know if it still works though, it was a while ago so the plugin system might have changed.

  • Using socket.io you can basically target every browser ever made with a perfect WebSocket equivalent, it degrades gracefully.

  • How strange.. what browser do you use? I have a feeling this has something to do with the strict mode.

  • Fixed the assertions.. I forgot they were there. The assertions didn't show up for me when I was testing them, weird. Downloads updated.

    When exported the functions don't work. <img src="smileys/smiley19.gif" border="0" align="middle" />

    Are you using them correctly? They worked perfectly for me when I tested them <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Use the CSS tool, it's much easier to use and it supports a variety of formats, and it works right in the canvas! In my opinion, Construct should have support for this by default.

Zack0Wack0's avatar

Zack0Wack0

Member since 13 Mar, 2009

Twitter
Zack0Wack0 has 1 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies