This website requires JavaScript.
Explore
Help
Sign In
vlad.os
/
LuaCsForBarotraumaEP
Watch
0
Star
0
Fork
0
You've already forked LuaCsForBarotraumaEP
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
d81ee1a27e53f2ec631d92755fae047dee9fe8d3
LuaCsForBarotraumaEP
/
Barotrauma
/
BarotraumaShared
/
Source
/
Items
T
History
Joonas Rikkonen
d81ee1a27e
Added a bunch of checks to make sure a normalized zero vector (= NaN, NaN) is not used in any position/velocity/movement calculations. There were at least three places where it was causing problems according to error reports: when a character that can't enter a sub spawns at the center of a hull and when using an underwater scooter or throwing something while the cursor is at the position of the character, but there were tons of other places as well where it may have potentially caused physics errors.
2018-07-31 12:28:04 +03:00
..
Components
Added a bunch of checks to make sure a normalized zero vector (= NaN, NaN) is not used in any position/velocity/movement calculations. There were at least three places where it was causing problems according to error reports: when a character that can't enter a sub spawns at the center of a hull and when using an underwater scooter or throwing something while the cursor is at the position of the character, but there were tons of other places as well where it may have potentially caused physics errors.
2018-07-31 12:28:04 +03:00
CharacterInventory.cs
Fixed nullref exception in CharacterInvetory.UseItemOnSelf if the OnUse statuseffect removes the item.
Closes
#513
2018-07-22 17:58:52 +03:00
FixRequirement.cs
Converted the GetAttribute methods in the ToolBox class to extension methods
2017-10-04 18:38:40 +03:00
Inventory.cs
Inventory sync fix (component index included in events created when the server receives an inventory update from a client).
2018-07-30 14:28:04 +03:00
Item.cs
Fixed only the first inventory of an item being synced (e.g. clients wouldn't get notified when an item is contained in the "output inventory" of a fabricator or deconstructor).
2018-07-30 11:00:21 +03:00
ItemInventory.cs
Fixed only the first inventory of an item being synced (e.g. clients wouldn't get notified when an item is contained in the "output inventory" of a fabricator or deconstructor).
2018-07-30 11:00:21 +03:00
ItemPrefab.cs
All items and structures have to define a sourcerect for the sprite because otherwise the dedicated server won't know the size of the entity.
Closes
#321
2018-03-06 13:55:30 +02:00
RelatedItem.cs
Converted the GetAttribute methods in the ToolBox class to extension methods
2017-10-04 18:38:40 +03:00