Yet-another Multiplayer Demo

Show us your completed creations made in Construct 2

Post » Mon Apr 01, 2013 1:25 am

Was able to host a server successfully but when I clicked game start, I got this error

B
20
S
2
Posts: 70
Reputation: 1,466

Post » Mon Apr 01, 2013 4:16 am

@suntank

Call "Action: Setup Sync Function" before using Sync-Function plugin.
I will add some alert message for this error.
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Mon Apr 01, 2013 4:49 am

I forgot to have the preload layout selected when I pressed play



still learning C2...
B
20
S
2
Posts: 70
Reputation: 1,466

Post » Thu Apr 25, 2013 8:54 am

A quick question @ rexrainbow:

I made a real time multiplayer game using your plugins, a kind of "bust a move" clone for two players. Sometimes I experience a weird behavior, when one function is called by both players at the same time, there's a tiny async, when it happens and the game breaks. I don't know may be my code is buggy or it is the the way a sync-function plugin is implemented. I assume it is implemented like a queue. Does it make sense if I make two separate functions for each player, in order to solve this?     
B
45
S
11
G
4
Posts: 517
Reputation: 7,393

Post » Thu Apr 25, 2013 10:04 am

@xoros

I'm not sure, in "real time" case, it might have bug at server or client code. It's hard to reproduce the situation. Sorry I could not help you. (This is used queue to sync function, you are right.)
The server is wrote by myself and it might be not stable (buggy) at some corner case.

I might try to use pomelo game server to replace current server. But I'm not sure it could be used at Heroku.rexrainbow2013-04-25 10:05:49
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Thu Apr 25, 2013 10:10 am

Heroku is not a problem, I'm running your js-server it on a local machine.
B
45
S
11
G
4
Posts: 517
Reputation: 7,393

Post » Thu Apr 25, 2013 10:13 am

@xoros

Okey, I need 2 or 3 months to finish supporting save/load system. Now I had more than 50 plugin to be updated.rexrainbow2013-04-25 10:14:35
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Thu Apr 25, 2013 10:22 am

wow, that's a lot of work. Without your plugin's it would not be possible to do a lot of things, especially multiplayer.
B
45
S
11
G
4
Posts: 517
Reputation: 7,393

Post » Thu Apr 25, 2013 10:25 am

@xoros

@Velojet had made another multiplaye plugin + server for real time, you might try it.
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Thu Apr 25, 2013 10:42 am

I'll take a look.
B
45
S
11
G
4
Posts: 517
Reputation: 7,393

PreviousNext

Return to Completed Creations

Who is online

Users browsing this forum: paradine and 2 guests