Page 2 of 4

Re: [plugin] socket.io 1.x

PostPosted: Sat Nov 08, 2014 9:15 am
by Index
I used this plugin in the past.

Adding that alongside yours - then using yours to connect to anything caused an error. Though maybe I modified the older one at some point so that could be an issue too *shrugs*

Re: [plugin] socket.io 1.x

PostPosted: Sat Nov 08, 2014 6:47 pm
by JohnnySheffield
Index wrote:I used this plugin in the past.

Adding that alongside yours - then using yours to connect to anything caused an error. Though maybe I modified the older one at some point so that could be an issue too *shrugs*


Hmm, there's no need to use that version, it's outdated, buggy and based on old socket.io library which is deprecated now. I'll edit the old post to reflect the changes.

Re: [plugin] socket.io 1.x

PostPosted: Sat Nov 08, 2014 9:17 pm
by Index
Ya, I know. I just still had it in the project and added yours in- which is why both were in at the same time.



The plugin works fine over non-ssl. However, when I attempt to use Socket.IO 1.0 with SSL the client says "ERR_CONNECTION_CLOSED" and "Transport Error" - So I'll keep trying to figure it out and report back when I've found something.

Edit: Figured it out. Accidentally removed server.listen(port); when changing the code over. ;)

Re: [plugin] socket.io 1.x

PostPosted: Mon Nov 10, 2014 10:26 am
by JohnnySheffield
Index wrote:Edit: Figured it out. Accidentally removed server.listen(port); when changing the code over. ;)


If you've got time, it would be cool and really helpful if you could try to transfer some binary data over the socket. You could try with Constructs (set bit) action to set a binry value, and then try to send value of that variable over the socket and report what did arrive at the server. :)

Re: [plugin] socket.io 1.x

PostPosted: Tue Nov 11, 2014 12:03 am
by Index
Alright. I'll try that.

Also just bought spriter. So I might try using both this plugin and that plugin/program =].

Edit: Cannot send any events at all. They just never appear on the server. So I'm trying to figure out the problem.

Re: [plugin] socket.io 1.x

PostPosted: Sun Nov 16, 2014 8:42 pm
by Cybergod
Just to help someone else out that may be stuck on this.

Download Node.js from http://nodejs.org/
After you have done this, check C:\Users\YOURCOMPUTERNAME\AppData\Roaming for a directory called npm
If it does NOT exist, make the directory and call it npm
Then start a command prompt, see to it that you use RUN AS ADMINISTRATOR, go into the directory whereever you uncompressed the socket.io file and go to the server directory
Now type npm install. It should find all the dependencies correctly.

If you get npm ERR! or ENOENT, open xxxxxx this means usually that the directory npm is not created. Also check your PATH and see that the npm is in your path.

Re: [plugin] socket.io 1.x

PostPosted: Wed Nov 19, 2014 11:59 am
by JohnnySheffield
@Cybergod

Thanks for testing this plugin and providing useful info! If you've got any feedback on this plugin i hope you'll post it here...

Cheers!

Re: [plugin] socket.io 1.x

PostPosted: Sat Nov 22, 2014 8:45 pm
by Index
@JohnnySheffield 1.2.1 was released yesterday.

Re: [plugin] socket.io 1.x

PostPosted: Fri Dec 05, 2014 12:52 pm
by JohnnySheffield
@Index

I've updated the plugin to 1.2.1 version, tests are ok. Please test and redownload. The .c2addon file is also updated!

Cheers!

Re: [plugin] socket.io 1.x

PostPosted: Mon Dec 29, 2014 9:06 pm
by DatapawWolf
@JohnnySheffield, are you gonna be setting up another place to host the repository for your plugin? I may wind up using it for a school project, and I don't wanna see it cast into oblivion. :)
This service will die on 31.12.2014. Run for your lives. See you on git.nodepie.ninja