Multiplayer Dedicated Server?

Get help using Construct 2

Post » Thu Feb 04, 2016 4:06 pm

Hey guys,

I wanted to test out multiplayer functions on a dedicated server, does anybody know which website is the most compatible with Construct 2?

Thanks!!
B
11
S
3
Posts: 75
Reputation: 1,460

Post » Mon Feb 08, 2016 6:49 pm

There are none. You have to custom build the server to match with your client via whatever API you choose.

And besides, the official Multiplayer plugin will not work with a dedicated server, since it is designed as a peer-to-peer platform.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,317
Reputation: 4,628

Post » Tue Feb 09, 2016 1:12 am

Ok so,
Correct me if I am wrong on this, but, setting up a dedicated server is possible with the layout on multiplayer if you have purchased the multiplayer coding. Yes it is peer to peer and that is the reason why Scirra or C2 offers to let everyone use their servers is because of the low server usage being that it is peer to peer. It is explained how to use multiplayer on a dedicated sever and the various usages on it. As far as what website that is going to be limited to your knowledge on how to set up the multiplayer on the server itself. If you are just starting up on coding and putting games out that will all be using multiplayer then until you have the knowledge or that many games or programs that rely on multiplayer its best to use the default multiplayer connection that scirra has been generous enough to let us all use. (meaning that they are letting us all use their servers to host our games and or apps on. Peer to peer uses basically no resources mainly because the information is going from one client to another and then transferred back with no usage on the server except to transfer that information. Higher games say for example a high 3d game will use a lot more resources and will use more bandwidth on the server. For simple 2d games or chat apps there is very little load or resources being used because it is transferred person to person.
B
79
S
8
G
1
Posts: 30
Reputation: 3,741

Post » Tue Feb 09, 2016 2:13 am

Think about it this way.

Personal licence of Construct 2 comes with multiplayer features. Computers are initially connected to each other via Scirras signal server. Once computers are connected the signal server is not used for anything else.

2 computers are connected to each other via the signal server = peer to peer (although technically one computer will actually be the host/server and the other will be the peer).

2 computers are connected via the signal server to a 3rd computer = set up as a server. What makes this host/server special? Nothing. A server can simply be any computer that is used to launch the game first and that the other players join. A dedicated server on the other hand is just a computer that is dedicated to hosting your game at all times (literally a computer that is always on and running your game through a web page).

Bandwidth is based on how much is happening. Its not to do with the graphics it is about the multiplayer messages and syncing. Are you constantly sending messages to update movement? = More bandwidth.
ImageImage
B
96
S
19
G
6
Posts: 1,054
Reputation: 11,457

Post » Tue Feb 09, 2016 3:21 am

Hey GenkiGenga, your Card Game Template Demo looks amazing by the way! So I guess that would be "Peer to Peer" / LAN setup? Would dedicated servers be like playing WoW, where the map is always running 24/7 and larger amount of players join in?

Anyways, as for the server provider, I read somewhere that Photon Cloud is good for C2?
viewtopic.php?f=153&t=125222
B
11
S
3
Posts: 75
Reputation: 1,460

Post » Wed Feb 10, 2016 4:00 pm

cgsammu wrote:Hey GenkiGenga, your Card Game Template Demo looks amazing by the way! So I guess that would be "Peer to Peer" / LAN setup? Would dedicated servers be like playing WoW, where the map is always running 24/7 and larger amount of players join in?

Anyways, as for the server provider, I read somewhere that Photon Cloud is good for C2?
viewtopic.php?f=153&t=125222


You are exactly correct in your understanding. Peer-to-peer is session based, while dedicated servers are generally live all of the time.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,317
Reputation: 4,628


Return to How do I....?

Who is online

Users browsing this forum: Iftikhar555, mohamed hagras, oddreal, RetroSpock and 3 guests