Joonas Rikkonen
12d1692bb5
Wearables can attach lightsources to limbs
2018-03-02 11:13:11 +02:00
Joonas Rikkonen
cc41f0cd9e
Fixed items held in left hand taking the sprite depth from the left arm instead of the hand
2018-03-02 10:38:10 +02:00
Joonas Rikkonen
10189254b5
GrabLimb type is written in character network messages as byte instead of UInt16
2018-03-01 23:43:10 +02:00
Joonas Rikkonen
31ba9e20a2
Item description & tags are only included in spawn network message if they differ from the prefab.
2018-03-01 22:07:51 +02:00
Joonas Rikkonen
2b4c01d18b
Fixed debug assertion fail in World.Raycast if a limb is (almost) exactly at the position of a character's collider when calling TrySetLimbPosition.
2018-03-01 22:07:18 +02:00
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
Joonas Rikkonen
2880ca3adb
Contained items drawn by ItemContainer.Draw use the sprite color of the item. Closes #300
2018-03-01 15:57:57 +02:00
Joonas Rikkonen
1255b21853
Relay fix attempt number n + 1
2018-03-01 15:56:03 +02:00
Joonas Rikkonen
ab99aa9ac1
Relay fix attempt number n
2018-03-01 12:40:38 +02:00
Joonas Rikkonen
55a5e9e968
Syringes are recolored according to the color of the contained medical item. Closes #256
2018-03-01 11:26:04 +02:00
Joonas Rikkonen
9f6868eaaa
Fixed crashing when attempting to perform CPR _as_ a headless character.
2018-03-01 10:17:32 +02:00
Joonas Rikkonen
38e80be05d
Some more debug logging
2018-02-28 18:04:40 +02:00
Joonas Rikkonen
c803e23c50
Added checks for character removal to a bunch of places. Some of these may not necessary, but at least MeleeWeapon, Projectile and Controller still accessed the user after the user had been removed.
2018-02-28 17:37:20 +02:00
Joonas Rikkonen
e29655c81b
Fixed clients forcing remote players to pick an item when it's being selected, causing them to press buttons and start deattaching them when the player is actually just rewiring the button. Closes #251
2018-02-28 15:38:55 +02:00
Joonas Rikkonen
f5277ce661
Fixed clients being unable to crowbar doors due to OnPicked only being called on local players. Closes #297
2018-02-28 15:24:42 +02:00
Joonas Rikkonen
74ef5c6ea6
Fixed items attached mid-round by other clients or the host being impossible to interact with and occasionally being attached to an incorrect position. Closes #296
2018-02-28 14:01:38 +02:00
Joonas Rikkonen
2585cc9873
Fixed attachable objects being deattachable with the select key due to e6b7a0d3, fixed typo in ConvertInputType
2018-02-28 13:26:18 +02:00
Joonas Rikkonen
620a2bf374
Forgot to change dustparticle movement speed to normal after testing
2018-02-28 10:32:54 +02:00
Joonas Rikkonen
d867dd6c17
Diving suits are rendered in front of all items (diving masks, goggles, etc aren't drawn on top of the suit). Items that are being held take the depth of the wearable sprite on the hand into account. Closes #290
2018-02-27 23:04:54 +02:00
Joonas Rikkonen
9e298c98ab
Fixed dust particle texture "warping" when the movement offset wraps around
2018-02-27 20:16:12 +02:00
Joonas Rikkonen
0fa1ae6825
Fixed plasma cutters and welders not affecting hatches, alien doors/hatches or duct blocks. Closes #293
2018-02-27 15:17:58 +02:00
Joonas Rikkonen
795b2e4cad
Fixed crashing when attempting to perform CPR on a character with no head. Closes #294
2018-02-27 15:01:53 +02:00
Joonas Rikkonen
3564abf31b
Moved a bunch of hard-coded sound paths to the sound config file.
2018-02-26 22:31:07 +02:00
Joonas Rikkonen
77940fa992
Added some debug logging, Character.Revive removes the existing AITarget from the character before creating a new one
2018-02-26 18:05:03 +02:00
Joonas Rikkonen
1c68d5a4d7
- Fixed clients using character directories to count the number of disallowed monsters, which made it possible for them to disallow incorrect monsters.
...
- Fixed MonsterEvent checking if the name of the character directory contains the name of the disallowed character directory, which could for example cause them to disallow "someMonsterAlt" if "someMonster" is disallowed.
2018-02-26 16:53:22 +02:00
Joonas Rikkonen
7f740c2f67
Attempt to diagnose issues #278 , #284 and #291 . It appears that the game attempts to access the Limbs-field of a ragdoll after it's been set to null (which should only happen when the ragdoll is removed).
2018-02-26 15:06:00 +02:00
Joonas Rikkonen
064750d99f
Fixed missing RepairTool HitStructure particles & missing ancient weapon beam (+ added hit particles to ancient weapon). Closes #285
2018-02-25 22:43:06 +02:00
Joonas Rikkonen
cb25c0711f
v0.8.0.4
2018-02-25 22:41:23 +02:00
Joonas Rikkonen
0827c475ba
Fixed "an item with the same key has already been added" exceptions caused by humanhusk.xml being in the same folder as human.xml. Closes #283
2018-02-25 18:35:31 +02:00
Joonas Rikkonen
ff5afb7089
v0.8.0.3
2018-02-25 18:16:30 +02:00
Joonas Rikkonen
9df0f0a275
Invalid contentpackage content types don't crash the game
2018-02-25 17:46:04 +02:00
Joonas Rikkonen
9e2966e9cb
- Fixed creature disable list only taking config files in the Content/Characters folder into account (making it impossible to disable spawning of custom monsters outside the folder)
...
- Removed hard-coded ruin structure, particle & decal config paths and moved them to content package (custom ones can be added now without modifying the original files).
2018-02-25 15:03:29 +02:00
Joonas Rikkonen
e02a1dc6ae
Reverted the changes to power transfer logic in bb987676 because of the issues it caused with relay components. Signals are still passed using the cached recipient lists, but power is passed using the old recursive CheckJunctions method. Closes #282
2018-02-25 14:42:38 +02:00
Joonas Rikkonen
3faf774f3c
v0.8.0.2
2018-02-25 12:24:52 +02:00
Joonas Rikkonen
701e4553a2
Launcher waits for the window to be rendered before checking for updates, fixed error messagebox positioning in launcher
2018-02-24 22:18:25 +02:00
Joonas Rikkonen
48757618f6
Renamed the "file" attribute of hit sounds to "tag", replaced footstep sound paths in creature configs with tags.
2018-02-24 21:13:21 +02:00
Joonas Rikkonen
eaafc022f2
Fixed Ragdoll.ImpactProjSpecific attempting to play limb/wearable hitsounds even if the sound tag is empty, wearable items can cause hit sounds to be played even if the limb has no hit sound configured. Closes #280
2018-02-24 20:55:30 +02:00
Joonas Rikkonen
6fcf2f573b
Fixed relays burning out when connected to the main power grid. The changes in bb98767 caused relay components to be considered parts of whichever power grid they're connected to, causing their power and load to match the rest of the grid which usually causes them to go over the max power value. Closes #279
...
+ Fixed "powerConnections" field not being updated when creating PowerTransfer components mid-round, which made fabricated relays unusable for power transfer.
2018-02-24 20:46:28 +02:00
Joonas Rikkonen
127cc28af3
SoundPlayer.GetSound doesn't attempt to load the sound if a sound with a matching tag is not found, because otherwise configuring limb hit sounds and such with the file path instead of the tag will cause a new sound instance to be created every time the sound is played (and these instances are never freed). + Sound config files can be now configured in content packages.
2018-02-24 19:41:28 +02:00
Joonas Rikkonen
313fb35b4a
Reverted d36dab4 (XML files are calculated according to XML content). Caused content package hashes to differ between linux and windows versions. Closes #275
2018-02-24 18:39:47 +02:00
Joonas Rikkonen
af3edda188
Fixed incorrect text tag in fabricator UI. Closes #281
2018-02-24 17:41:21 +02:00
Joonas Rikkonen
233ee60eaf
Merge branch 'master' of https://github.com/Regalis11/Barotrauma
2018-02-24 17:28:56 +02:00
Joonas Rikkonen
f2f37b020e
Applied fire extinguisher changes from the command-improvement branch: the repair tool steps through the ray that's used to find firesources in range and collects all firesources along the way instead of just checking the start and end positions of the ray (-> fires are much easier to extinguish now). Closes #274
2018-02-24 17:28:52 +02:00
Juan Pablo Arce
5ec77c327d
Update README.md
2018-02-23 19:22:29 -03:00
Joonas Rikkonen
7044631901
Attempt to diagnose null reference exception during Ragdoll drawing (see #278 )
2018-02-23 11:09:17 +02:00
Joonas Rikkonen
8b07e91d2c
Added camera zoom value to debug hud
2018-02-23 10:33:59 +02:00
Joonas Rikkonen
19579f02ca
Doors can be opened with crowbars again. Closes #276
2018-02-23 10:23:58 +02:00
juanjp600
351a1a15fc
Fixed stack overflow when trying to store jumpsuits in themselves
2018-02-23 00:19:36 -03:00
Joonas Rikkonen
0669d9fd45
v0.8.0.1
2018-02-22 21:23:54 +02:00
Joonas Rikkonen
05408d5ec0
Fixed some items with a body disappearing when flipping a sub. Closes #273
2018-02-22 17:43:40 +02:00