Commit Graph

1911 Commits

Author SHA1 Message Date
Joonas Rikkonen b70bfcfba4 (681c8f119) Don't allow putting toolboxes inside toolboxes or doctor's clothes. Closes #1616 2019-06-13 11:47:04 +03:00
Joonas Rikkonen 16359ea873 (537240172) Fixed RuinGenerator using unsynced random when doing connections between ruin entities. I don't think there are any assemblies atm that use this type of connections, but if there were, the connections might've differed between clients/server. 2019-06-13 11:46:43 +03:00
Joonas Rikkonen 2b5e828716 (afc093585) Removed leftover debug message from whitelist 2019-06-13 11:46:23 +03:00
Joonas Rikkonen 40aac0de8f (49d6e0ff6) Fixed an ID mismatch problem that occasionally caused clients to get kicked out in the multiplayer campaign. Closes #1603, closes #1562 2019-06-13 11:46:03 +03:00
Joonas Rikkonen cdb2476d51 (e3d158689) Fixed server not saving debug console logs when savedebugconsolelogs is set to true 2019-06-13 11:45:41 +03:00
Joonas Rikkonen f8405fedb4 (ce6f2672e) Additional verbose logging 2019-06-13 11:45:20 +03:00
Joonas Rikkonen 45bce243bf (f6e171bd5) Fixed: Server not buildable in DebugMac configuration 2019-06-13 11:44:59 +03:00
Joonas Rikkonen a34a6bf1db (31379c825) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-13 11:44:39 +03:00
Joonas Rikkonen bd5c18aea2 (eeeb15d3d) Added: Platform collision for items 2019-06-13 11:44:18 +03:00
Joonas Rikkonen 1fc6492506 (387dc7b04) Fixed incorrect physicorium shell description. Closes #1613 2019-06-13 11:43:57 +03:00
Joonas Rikkonen 122be7783b (8cc6af65f) Fixed Character.GetConfigFile searching for the character file from all available content packages, not just the ones that are currently selected. Caused modded character files to affect the game even when the mod is not enabled. An easy way to reproduce the issue was to install BTE but not select it, which caused "damagedsprite not found" errors because the vanilla game would attempt to use the BTE human file (which still has the damagedsprite configured even though the texture has been removed). 2019-06-13 11:43:36 +03:00
Joonas Rikkonen adab8589da (f87bfac85) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-12 16:45:24 +03:00
Joonas Rikkonen dce98349ea (23df6915f) Added: Possibility of having a status effect trigger if a requiredItem is missing 2019-06-12 16:45:02 +03:00
Joonas Rikkonen b598459179 (65e2b5073) Fixed crashing when an item that requires aim to use is used by something else than a character. Not sure if there are any vanilla items that can cause this error, but can be reproduced for example by creating a projectile that RequiresAimToUse and triggers the Use method when it hits something. Closes #1602 2019-06-12 16:44:18 +03:00
Joonas Rikkonen e3ca616fff (869ac975f) Merge branch 'master' into dev 2019-06-12 16:43:56 +03:00
Joonas Rikkonen eaf4f6afb8 (face37755) Fixed clients timing out when trying to connect to a server that has banned someone. Closes #1568 2019-06-12 16:43:34 +03:00
Joonas Rikkonen cd5f8735e7 (d2accb97f) Restrict server name length to 60 characters, prevent long server names from overflowing in the "host server" menu & server lobby 2019-06-12 16:42:33 +03:00
Joonas Rikkonen 39d182c352 (0ee266e33) Use the collider position as the reference point when deciding whether or not a platform should be ignored while checking the floor y. Fixes bots being unable to exit ladders if some part of their body is below the platform (#1589). TODO: test for negative implications. 2019-06-11 21:50:19 +03:00
Joonas Rikkonen b14abc0cb0 (684b4ac74) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-11 21:48:29 +03:00
Joonas Rikkonen d8e7c79a21 (74c45abbe) Fixed: GUIDropdown parent returning a null GUIComponent when opening CharacterEditor & promptly crashing after 2019-06-11 21:48:10 +03:00
Joonas Rikkonen ae145b8044 (06b73fccd) Added a note about the "clientlist" command to the help texts of "kickid" and "banid". 2019-06-11 21:47:52 +03:00
Joonas Rikkonen e9c8103be4 (5a6865d0f) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-11 21:46:57 +03:00
Joonas Rikkonen c30f1de8f3 (8814bcb6b) Null checks on GUIStyle fonts 2019-06-11 21:46:39 +03:00
Joonas Rikkonen 5f497543a4 (1986bc0d3) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-11 21:46:21 +03:00
Joonas Rikkonen dd1ce8bf2f (df244251c) Fixed: Electric devices that are underwater and are broken by flooding being repairable forever, due to condition never staying at full condition for long enough for the repairing to stop 2019-06-11 21:46:02 +03:00
Joonas Rikkonen 7dfa6e89fe (ffa166343) Workshop fixes: - Refresh content package file in the staging folder when adding/removing files, not just when publishing. - Allow multiselecting files in the "add files" dialog. - Fixed autoupdating workshop files not working because Workshop.GetItem doesn't query the time the item was modified. - Some extra exception handling. 2019-06-11 21:45:01 +03:00
Joonas Rikkonen a4875cfeb3 (776291eb7) Create linked gaps when the door is selected. Move the gaps with the doors. 2019-06-11 21:44:32 +03:00
Joonas Rikkonen 4a401c865d (4d56b6900) Fixed ability to drop items into secure lockers (or other containers that require specific items) without having access to it. Closes #1559 2019-06-11 21:43:02 +03:00
Joonas Rikkonen fa5b6ea654 (209f4ee22) Replace backslashes with slashes in content package file paths on Linux 2019-06-10 17:53:25 +03:00
Joonas Rikkonen 3f03bdb9dc (d4b786b03) Fixed welding tools & plasma cutters doing damage to each limb the ray hits, causing them to do excessive damage to characters. Also reduced the damage by 50% because it was still a tad too high. 2019-06-10 17:52:42 +03:00
Joonas Rikkonen 8e0a2d712a (b6640125e) Save before committing 2019-06-09 17:44:56 +03:00
Joonas Rikkonen 3cfef3c5fc (d17d1b1c0) Workaround to save path issues on Windows Server: allow configuring save paths in config_player.xml 2019-06-09 17:44:38 +03:00
Joonas Rikkonen 81b6d2199f (c35335f47) Fixed CharacterInfo.IncreaseSkillLevel crashing if the character has been removed, steering component stops giving xp to the user if the user is removed. Closes #1553 2019-06-09 17:44:02 +03:00
Joonas Rikkonen fdd6850743 (090ca8617) Fixed AIObjectiveFindSafety crashing when inside a hull that doesn't belong to any sub (e.g. in ruins). Closes #1542 2019-06-09 17:43:44 +03:00
Joonas Rikkonen f96008fc2e (7e2b368ce) Add a null check and change the SelectedContentPackages collection readonly. Should fix the null reference mentioned in a comment of #1513, when starting a Dedicated Server. Does not fix the crash, though. 2019-06-09 17:41:20 +03:00
Joonas Rikkonen 8e65bd62b9 (7df498c13) Fixed: Doors being weldable in the tutorial with no access to crowbar or info on how to open shut doors, thus causing the player to get stuck 2019-06-09 17:40:45 +03:00
Joonas Rikkonen 942b8a8588 (2be015bd1) Added: Code hardening due to a crash where the item was null 2019-06-09 17:38:57 +03:00
Joonas Rikkonen 77926908fc (be1093d88) Allow to edit the door closing and opening speed. Increase the default speed from 2 to 3. 2019-06-09 17:38:01 +03:00
Joonas Rikkonen effcbd93c6 (ea3b77d8a) Fixed servers not sending a hull update when the last fire source in the hull is put out. Caused the fire not to disappear client-side until the water/oxygen in the hull changes enough for a network event to be created. 2019-06-09 17:37:07 +03:00
Joonas Rikkonen 85d19d7f3c (53c44ee8a) Disallow shooting and attacking when hovering over a GUIComponent + added guimessagebox command 2019-06-09 17:36:48 +03:00
Joonas Rikkonen cdc58316ed (f2cce83a3) AI combat improvements: - Bots now find weapons that are inside the equipped containers (tool boxes). - Bots can now use any item as a weapon as long as there's a combat priority defined for the items. - Adjust the combat priorities a bit; the bots now prioritize welding tool and plasma cutter over wrench or toolbox. 2019-06-04 16:52:24 +03:00
Joonas Rikkonen a127edca80 (292692029) Nerfed plasma cutters, reduced alien wall healths, modified oxygen generation levels to suit new exponential model 2019-06-04 16:50:40 +03:00
Joonas Rikkonen 40890a7754 (1cdaf2ba2) Make oxygen generator output decrease exponentially to make it easier to tune the output so there's enough oxygen regardless of the crew size when the generator is in a good condition, but not enough when it's damaged. Generator outputs should be adjusted a little higher now, for example multiplying them by 4 would mean the generator provides 100%-400% of the previous output when above 50% condition, and below that the output starts rapidly dropping. 2019-06-04 16:44:44 +03:00
Joonas Rikkonen 7056cbdeb3 (d34672075) Fixed items not being positioned correctly in itemcontainers that are rotated. Closes #1511 2019-06-04 16:44:27 +03:00
Joonas Rikkonen 2b7649bd2b (44694344e) Don't allow deleting vanilla subs in the sub editor 2019-06-04 16:44:10 +03:00
Joonas Rikkonen 43dcc98b8e (9adead624) Add source rect nudging in the sprite editor (move the source rect position with the arrows). 2019-06-04 16:43:52 +03:00
Joonas Rikkonen 53ff77d428 (953c0c5de) Forgot to commit this 2019-06-04 16:43:34 +03:00
Joonas Rikkonen 808fcdcb75 (6b47d1ebc) Fixed inability to spawn items in characters' inventories and simplified the spawnitem command (multi-word item/character names must be surrounded with quotation marks now, so we don't have to guess which words belong to the item name and which to the character name). + added "startwhenclientsready" console command 2019-06-04 16:43:16 +03:00
Joonas Rikkonen 3bc52e2d95 (b4fd73057) Reset item position update interval when a client fails to pick it up due to it being accessible (should cause the position of the item to be corrected if the client failed to pick it up due to the position not matching the server position). 2019-06-04 16:42:57 +03:00
Joonas Rikkonen 3393cb7a1b (4ca1f10d7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-04 16:41:59 +03:00