[PAID] Multiple multiplayer objects

Post your work in progress addons and get feedback

Post » Mon May 12, 2014 2:49 am

I need someone to write a plugin that allows the injection of more than 1 multiplayer object.

This would allow connection to multiple hosts, solving my issue of multiple instances and dungeons, and global 'chat'.

Please reply or pm with $ rates. I can pay via PayPal.

Regards,
Tom
B
10
S
2
G
1
Posts: 92
Reputation: 926

Post » Wed May 14, 2014 7:30 am

I'm offering $500 AUD ~ 470 USD

Again PM or reply if your interested.
B
10
S
2
G
1
Posts: 92
Reputation: 926

Post » Thu May 15, 2014 6:05 pm

You could do this without multiple multiplayer objects/connection to multiple instances.
But it requires a "Bit" of work.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Thu May 15, 2014 6:44 pm

It sounds like your problem is you hard coded a single room name in your game and all game instances end up in that room? So what your asking for is a method for detecting when X number of players have joined and place them in their own room so they don't interfere with other player games? You could create an dictionary of lets say 100 room names. when a player connects they always try connecting to the first one.. if it comes back full move on to then next. You specify how many peers per room you want.
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Sat May 17, 2014 2:45 am

troublesum wrote:It sounds like your problem is you hard coded a single room name in your game and all game instances end up in that room? So what your asking for is a method for detecting when X number of players have joined and place them in their own room so they don't interfere with other player games? You could create an dictionary of lets say 100 room names. when a player connects they always try connecting to the first one.. if it comes back full move on to then next. You specify how many peers per room you want.



I think you misunderstand the functionality of 'multiple mulitplayer objects'.

Imagine a game with 1000 players playing at the same time. Obviously we cant have them all on the same layout or 'area' so instead we split the areas up at host them on separate tabs for example. But since each area is its own separate host, how can the players from one area communicate with another? You could use a websocket server for chat i suppose. OR you enable construct 2 to let people have multiple 'multiplayer' objects.

This allows Player Bob to connect to area 1 as a peer with multiplayer.connect. Then bob also joins the chat host at multiplayer2.connect.

This allows cross 'realm' or 'guild' chat. This also increases the functionality of the multiplayer feature, you could for example have a 'host' hold all the data about what items the player is holding, his/her xp, current quests, etc etc.

You then have your 'main' server not only be a host to connected players, but also connect as a peer to the 'info/stats' server.

:), someone has pm'd me and they are working on it.
B
10
S
2
G
1
Posts: 92
Reputation: 926

Post » Sat May 17, 2014 4:03 am

huh. I already got the solution to work. Without a plugin. But Plugins are nice to work with :)

I actually tried to voice this problem to Ashley, but he says it's ok to have 5000 players in one room... I disagree.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,028

Post » Sun May 18, 2014 11:11 am

Yes, it's a quite simple edit to get this to work. Testing it, and making sure that it actually works takes some time, and Ashley probably will not approve this kind of changes to official plugins.

Hopefully @tomsstudio will share his solution with us, the community is always happy to help with further testing!
Be nice until it's time to not be nice
B
36
S
10
G
9
Posts: 293
Reputation: 6,712


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests