[PAID] Multiple multiplayer objects

0 favourites
  • 7 posts
From the Asset Store
Now you can drop everything in your game with sound :)
  • 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

  • I'm offering $500 AUD ~ 470 USD

    Again PM or reply if your interested.

  • You could do this without multiple multiplayer objects/connection to multiple instances.

    But it requires a "Bit" of work.

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • 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!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)