Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared
Joonas Rikkonen cd6fc87eb4 Fixed object header issues and "trying to read past the buffer size" errors caused by NetEntityEvents for removed entities.
EntityEventManager sends an empty event with an ID of 0 if the entity doesn't exist anymore when writing the event. The recipient should simply skip over these messages and read the next one, but clients only did so if the event is the next unreceived one, causing the rest of the messages to be read incorrectly (which could lead to various sorts of problems in addition to the header and buffer size errors). The server didn't deal with the empty events correctly either, it increased the last received ID even if the received event was not the one the server is waiting for, potentially causing other non-empty events to be ignored.

+ Added an error message if the size of an NetEntityEvent is larger than 255 bytes. Not only is that excessively large for an event, but the length of the event is written as a byte and larger ones may again cause messages to be read incorrectly. Most events should be nowhere near 255 bytes, but now that the descriptions and tags of a spawned item are included in the item spawn messages there's the possibility that some events are too large.
2018-03-01 19:30:27 +02:00
..
2018-02-25 22:41:23 +02:00
2018-02-25 12:24:52 +02:00

BAROTRAUMA

www.undertowgames.com/barotrauma
Copyright © Undertow Games 2017-2018

Default controls:
WASD		- move
Shift		- run
E		- use/activate items and devices
Right click	- aim with equipped item
Left click	- use equipped item
C		- open the crew command menu
Left control	- crouch
Tab		- select/deselect the chat box in multiplayer mode
Tilde		- select the chat box in multiplayer mode and set 
		  the message to be sent through the radio
Space		- hold to stay in ragdoll mode
F3		- open/close the debug console

See the wiki for more detailed info and instructions:
http://barotrauma.gamepedia.com

------------------------------------------------------------------------

Port forwarding:
You may try to forward ports on your router using UPnP (Universal Plug and 
Play) port forwarding by selecting "Attempt UPnP port forwarding" in the
"Host Server" menu. 

However, UPnP isn't supported by all routers, so you may need to setup port 
forwards manually. The exact steps for forwarding a port depend on your
router's model, but you may be able to find a port forwarding guide for 
your particular router/application on portforward.com or by practicing 
your google-fu skills.

These are the values that you should use when forwarding a port to your
Barotrauma server:

Service/Application: barotrauma
External Port: The port you have selected for your server (14242 by default)
Internal Port: The port you have selected for your server (14242 by default)
Protocol: UDP


------------------------------------------------------------------------
------------------------------------------------------------------------
Credits:
------------------------------------------------------------------------

Programming, graphics, sounds, game design	- Joonas Rikkonen ("Regalis")
Graphics					- James Bear ("Moonsaber99")
Programming					- Sebastian Broberg
Programming					- Juan Pablo Arce ("juanjp600")

------------------------------------------------------------------------

"The Descent", "Enter the Maze", "Road to Hell", "Simplex", "Unseen Horrors"
Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/

------------------------------------------------------------------------

Lidgren.Network networking library - Michael Lidgren

------------------------------------------------------------------------

Sound effects:
	metal whining and screeching - ScottFerguson1
	metal gate 10 - thencamenow
	foil_expanding_multiple - markb
	Bug Zapper_Many medium zaps - CGEffex
	
------------------------------------------------------------------------

Textures from the PK01, PK02 and Ancient Collection Texture packages by Philip Klevestav are used in some of the sprites in the game. 
The texture packages are licensed under a Creative Commons Attribution 3.0 Unported License (https://creativecommons.org/licenses/by/3.0/).