Yet-another Multiplayer Demo

Show us your completed creations made in Construct 2

Post » Fri Dec 14, 2012 3:06 pm

Also found this, it seems that there was a bug in the socket.io version 0.9.5, which resulted in this delay:

http://stackoverflow.com/questions/12043893/socket-io-force-a-disconnect-over-xhr-polling/
Quote:
"Solved the issue, it turns out it was a bug introduced in socket.io 0.9.5. If you have this issue just update BOTH your server and client-side code to socket.io > 0.9.9 and set the socket.io client-side options sync disconnect on unload to true and you're all set.

Options are set this way:

var socket = io.connect('http://yourdomain.com', {'sync disconnect on unload' : true});
"xoros2012-12-14 15:07:35
B
42
S
11
G
4
Posts: 505
Reputation: 7,267

Post » Fri Dec 14, 2012 3:23 pm

@xoros

Thanks, I just found that heroku could not eat ["flashsocket"]
[code]io.set("transports", ["flashsocket"])[/code]

Ok, I will update my server and client to the newest version.rexrainbow2012-12-14 15:23:20
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri Dec 14, 2012 3:48 pm

Update plugin -
rex_bottleneck
rex_bottleneck_lobby
These are zip file.

The "left delay" at game lobby of Mini Town has gone.

Thanks @xoros , your solution is very perfect.rexrainbow2012-12-14 15:49:00
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri Dec 14, 2012 3:59 pm

Thanks to rexrainbow!
Should anything be updated in the server sources?
B
42
S
11
G
4
Posts: 505
Reputation: 7,267

Post » Fri Dec 14, 2012 4:05 pm

@xoros

Yes, you could try mini town demo to test "left delay".
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri Dec 14, 2012 4:11 pm

I'm running your node.js server on my local machine and it works like a charm right now, there's no delay.

I just wanted to know, whether you updated anything the server source code.xoros2012-12-14 16:15:58
B
42
S
11
G
4
Posts: 505
Reputation: 7,267

Post » Fri Dec 14, 2012 4:16 pm

@xoros

I update the version of socket.io server at heroku, update the socket.io client , and add
[code]'sync disconnect on unload' : true[/code]
in plugin.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Wed Dec 26, 2012 1:36 am

Some of the plugins need are unavailable. What do I do?
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Dec 26, 2012 1:42 am

@InvaderX

I have fixed these links. Or you could download them by this tool, Or find them at this link.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Wed Dec 26, 2012 1:50 am

Thanks!
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

PreviousNext

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 0 guests