Multiplayer Mod

User avatar
juanjpro
Barotrauma Developer
Posts: 1158
Joined: Sun Dec 16, 2012 10:51 pm
Location: NaN

Re: Multiplayer Mod

Postby juanjpro » Tue May 10, 2016 7:54 pm

Mr. Guy wrote:Question: Why did you not use TCP? Is it more difficult or what?

TCP would've been easier to use (and in fact this project originally used TCP until I switched to UDP), but it is a very bad choice for most online games, since it sacrifices real-time responses for the sake of reliability and order.

UDP does not compensate for packet loss or disorganized data on its own, but I wrote the code in such a way that this doesn't matter much. Inputs are sent redundantly to the server, so if a packet is dropped, the same data will be sent in the next one. As for packets not arriving in the right order, the server will just discard any data that is not the most recent.
Currently working on PulseGun and Barotrauma's new netcode.

User avatar
Gamen1969
Class-D
Posts: 7
Joined: Mon Aug 08, 2016 5:21 pm

Re: Multiplayer Mod

Postby Gamen1969 » Mon Aug 08, 2016 5:47 pm

How do I join a server? This looks like a lot of fun.

TheWalkingFroggy
Class-D
Posts: 5
Joined: Tue Aug 30, 2016 5:05 pm

Re: Multiplayer Mod

Postby TheWalkingFroggy » Tue Aug 30, 2016 5:13 pm

How do I play this with a friend?
I mean, I tried with another PC in my house ( so we're under the same WiFi ) I put a IP then the same with the other PC we aren't able to connect. I tried opening 2 games in the same PC and it works, someone can tell me how to play this with a friend? Thank you!

Also, I wonder if there's a way that makes the controller of the monster to reproduce ambience sounds ( for example, you just go behind the Class D friend and reproduce " Behind you " ) or that is all automatic.

User avatar
juanjpro
Barotrauma Developer
Posts: 1158
Joined: Sun Dec 16, 2012 10:51 pm
Location: NaN

Re: Multiplayer Mod

Postby juanjpro » Tue Aug 30, 2016 5:15 pm

You'll need to go into your router's settings and open UDP port 8730.

As for ambient sounds, I never implemented a way to let players do that, sorry.
Currently working on PulseGun and Barotrauma's new netcode.

TheWalkingFroggy
Class-D
Posts: 5
Joined: Tue Aug 30, 2016 5:05 pm

Re: Multiplayer Mod

Postby TheWalkingFroggy » Tue Aug 30, 2016 6:11 pm

Hey juanpro,
Thank you! It finally worked! I scared my brother :106:

Is there a way to make different appearences if you're the monster? I mean, for example when Mental appears three times in a row while coming closer to you.
Also, if you can add the thing that makes you visible with the red monster, and then the " Don't look at me " thing, I think it would be awesome!
Btw, this is really great thank you for your work, I'm gonna play this with my friends

nevoh72@gmail.com
Class-D
Posts: 3
Joined: Sat Oct 01, 2016 9:50 pm

Re: Multiplayer Mod

Postby nevoh72@gmail.com » Sat Oct 01, 2016 9:55 pm

I need help, So i've seen that a bot can be added to the game? so both players can be personnal D and one scp 087 (bot)
is that possible :D ? If it is, how can i add the bot to be the scp- 087

User avatar
AgentParadox
MTF
Posts: 703
Joined: Fri Jul 04, 2014 2:33 pm
Location: Over there.

Re: Multiplayer Mod

Postby AgentParadox » Sun Oct 02, 2016 3:22 pm

nevoh72 wrote:I need help, So i've seen that a bot can be added to the game? so both players can be personnal D and one scp 087 (bot)
is that possible :D ? If it is, how can i add the bot to be the scp- 087


First off, putting your email as your username is incredibly poor security measures.
Secondly, the thread hasn't been touched in a while, and while reviving dead threads is not a huge crime like most people assume, you might want to ask the OP as nobody has played this mod in a long time (at least to my remembering.)
You cannot grasp ████'s true form


Return to “SCP-087-B”

Who is online

Users browsing this forum: No registered users and 2 guests