Commit Graph

221 Commits

Author SHA1 Message Date
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 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 a92e01b6af (1256d7edc) Fixed servers using a local campaign save path sent by the client setupping the campaign. Closes #1564 2019-06-12 16:45:44 +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 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 128473b952 (0347b34f5) Reduce server CPU usage 2019-06-11 21:43:45 +03:00
Joonas Rikkonen dd92074f48 (f63e4c47c) Spectators can hear the living players' voice chat (TODO: don't send voice data to spectators whose camera is too far from the speaker?) 2019-06-09 23:05:16 +03:00
Joonas Rikkonen 44653940f0 (e8a04e9d9) Fixed BanList.BanPlayer failing to ban clients based on Steam ID 2019-06-09 20:57:53 +03:00
Joonas Rikkonen 3514cbb077 (b810940d9) Allow server owner to join the server even if not whitelisted 2019-06-09 17:45:50 +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 771f8d7286 (30e7a1617) Added an error check & exception handling to DebugConsole.RewriteInputToCommandLine (cherry-picked from respawn-overhaul, accidentally commited in the wrong branch) 2019-06-09 17:38:40 +03:00
Joonas Rikkonen a70319bbd2 (97e5bb5d1) Don't show the "kick / vote to kick" buttons when inspecting the owner of the server, or display the "x voted to kick" message if someone tries to vote kick the owner. 2019-06-09 17:38:20 +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 aefa46eaa5 (7754ad698) Fixed scooters occasionally flicking around in the multiplayer. I think the issue was that clients/server would set the cursor position 60 units away from aim ref position (= upper part of the collider), but due to the inaccuracy of the ragdoll syncing, the aim ref pos is not always where the shoulder of the character is, which in laggy situations could cause the cursor position to be at the wrong side of the ragdoll. 2019-06-04 16:52:43 +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 d60fd839c7 (a207445eb) Show the traitor greeting message before the code word message (saw one streamer read the code words out loud before realizing he was a traitor and that it was secret information). 2019-06-04 16:42:38 +03:00
Joonas Rikkonen bea7b58ff3 (a410fd46c) Trying to help the merge script through a jungle of merges 2019-06-04 16:37:31 +03:00
Joonas Rikkonen 81dd2f3202 (0c86b4b28) Revert "Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging)." 2019-06-04 16:02:25 +03:00
Joonas Rikkonen edccfe223d (9a7d83a40) Fullscreen bug workarounds 2019-06-04 16:00:38 +03:00
Joonas Rikkonen e592c49fa8 (221f9f2a6) Merge branch 'dev' into capitalizationfixes 2019-06-04 15:38:31 +03:00
Joonas Rikkonen f797235bfd (38d8117f7) Added: More routing of TextManager.Get().Replace -> TextManager.GetWithVariable(s), missing workshop-related localization tags to englishvanilla 2019-06-04 15:38:12 +03:00
Joonas Rikkonen 82dee0ffd7 (7f0150165) Fixed exception in SteamManager.RefreshServerDetails when not connected to Steam. 2019-06-04 15:36:40 +03:00
Joonas Rikkonen f6e6218bb1 (6736960da) Fixes to name-based item checks that wouldn't work correctly if playing in a language other than English: - Fixed Item.ReadSpawnData failing to find the correct prefab if the client is using a different language than the server, a couple of fixes to name-based item checks. - Fixed extra cargo spawning. - Fixed clients not getting correct ID card tags for the respawn shuttle. 2019-06-04 15:36:21 +03:00
Joonas Rikkonen 04f69dbe63 (b3c71807f) Updated to the latest version of GameAnalytics 2019-06-04 15:33:38 +03:00
Joonas Rikkonen a3e67dd40a (7163b300e) Added: Way for capitalizing / lowercasing replaced variables depending on the position in the sentence & some implementations 2019-06-04 15:32:59 +03:00
Joonas Rikkonen c6f2125b4f (85a4d4243) Fixed Steam servers never refreshing their info on the master server (game started, settings, etc), report the currently selected sub to Steam. Closes #1489 2019-05-23 15:18:13 +03:00
Joonas Rikkonen 5c06210265 (c01fdfc22) Attempt to fix items dropping out of the inventory in multiplayer, part 527: Inventory.ServerRead first drops all items that are in incorrect slots from the inventory, and then places the current items into correct slots. I think the problem was that the items were not necessarily dropped at the exact position of the character, because the physics update is run between the item position update and reading the network event. This occasionally caused the item to end up in a position where the character can't pick it again when placing the items into correct slots. Now the position of the item is forced to the position of the character during the dropping, and the CanClientAccess check is not done on items that were already in the character's inventory. 2019-05-23 15:17:55 +03:00
Joonas Rikkonen 65eb8f35c9 (7e8f246d2) Fixed clients not seeing turrets rotating at their end when another client is operating the turret. Happened because the cursor position was only synced when the aim key was pressed, and aiming is not required anymore when using turrets. 2019-05-23 15:16:42 +03:00
Joonas Rikkonen 7c67b1f164 (57c46943d) Quick fix watchman graphics (not quite right yet, but better). Re-enable the variant 2. 2019-05-20 21:00:11 +03:00
Joonas Rikkonen b71adc7589 (2e0e45e1f) Updated: Localization 2019-05-20 20:46:21 +03:00
Joonas Rikkonen e5379257f4 (e731bd4ae) Fixed dedicated server overwriting existing crash reports 2019-05-18 17:44:33 +03:00
Joonas Rikkonen 78b67de866 (e9f10995d) Merge branch 'bugreporterUI' into dev 2019-05-18 17:43:00 +03:00
Joonas Rikkonen 3a2310e547 (3ac5065f5) Fixed: Rendering order for Bugreporter window, OK button position 2019-05-18 17:42:41 +03:00
Joonas Rikkonen f1d794cb39 (86c9256b3) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-18 17:35:10 +03:00
Joonas Rikkonen 65a914e5ed (0b29f1236) Added: Scaling to mouse cursor size 2019-05-18 17:34:53 +03:00
Joonas Rikkonen 9155b404ea (078e3646e) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-18 17:31:02 +03:00
Joonas Rikkonen 9521f0ae2f (17fdbc9de) New path is also needed if the old becomes unreachable. Ignore the new path if it's unreachable. 2019-05-18 17:29:40 +03:00
Joonas Rikkonen 75640a321f (f4acd46ef) Don't enable the "report leaks" button inside ruins 2019-05-18 17:29:24 +03:00
Joonas Rikkonen d84832296c (cd17ab725) Cleanup. 2019-05-18 17:28:18 +03:00
Joonas Rikkonen c7ceed07c7 (7a7e715ad) Fixed report messages not going through to some clients when there are multiple clients on the server. Happened because the server would reuse the same OrderChatMessage instance for all clients, and it would get assigned the chat message ID according to the last recipient, which may not be the correct ID for other clients. 2019-05-18 17:28:01 +03:00
Joonas Rikkonen f605651966 (683b11c00) High-res shuttle preview images + merge fix 2019-05-16 08:49:01 +03:00
Joonas Rikkonen e367f900b8 (2a4bd39c2) Merge branch 'dev' into human-ai 2019-05-16 05:33:13 +03:00
Joonas Rikkonen 3d7a113d75 (048b753e6) Merge branch 'dev' into human-ai 2019-05-16 05:20:29 +03:00
Joonas Rikkonen 82d74f7481 (a1ebc2642) Use lazy loading to ensure that the list is assigned when it's needed. Fixes null reference exceptions when pumping water or charging batteries. 2019-05-16 05:15:34 +03:00
Joonas Rikkonen 108e42edb0 (b5250291f) Merge branch 'dev' into human-ai 2019-05-16 05:15:16 +03:00