Commit Graph

4640 Commits

Author SHA1 Message Date
Joonas Rikkonen
41800aff77 Cherry-picked d0b61b3 from dev. 2018-07-18 11:50:09 +03:00
Joonas Rikkonen
e0455caaaa Cherry-picked 869b725 from dev 2018-07-18 11:49:36 +03:00
Joonas Rikkonen
982f1ba6f1 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-07-18 11:41:55 +03:00
Joonas Rikkonen
afb420810e Fixed dedicated server stopping GameAnalytics and never restarting it when the "restart" console command is used. + Fixed typo in GameAnalyticsManager. Closes #492 2018-07-18 11:41:39 +03:00
Joonas Rikkonen
1ef2cb7500 Fixed crashing if the Use method of a wire is triggered by a StatusEffect 2018-07-18 11:24:56 +03:00
Blue
981c6fe2a2 Merge pull request #3 from BlueTheKing/patch-2
Patch 2
2018-07-18 00:26:06 +02:00
Blue
b34a98d760 Merge branch 'master' into patch-2 2018-07-18 00:25:54 +02:00
Blue
47e64b9c18 Update oxygengenerator.xml 2018-07-18 00:21:51 +02:00
Blue
660f75bb10 Merge pull request #2 from Regalis11/master
Updated to last original master commits
2018-07-17 22:33:16 +02:00
Joonas Rikkonen
e0fd39fa57 v0.8.1.5 2018-07-17 21:37:59 +03:00
Joonas Rikkonen
d831654690 Fixed linux build 2018-07-17 21:37:44 +03:00
Joonas Rikkonen
23e0a76f37 Character head & gender settings are saved. Closes #474 2018-07-17 13:38:21 +03:00
Joonas Rikkonen
88abbe28e3 Fixed entity IDs getting messed up and causing desync because of purchased items in multiplayer campaign. The server created cargo items first and then mission-related entities, while the clients only spawned mission entities and relied on the server to spawn the cargo, which caused mission entities to have wrong IDs. Closes #484 2018-07-17 12:50:04 +03:00
Joonas Rikkonen
dcb48e56d4 Added the DebugConsole.SpawnItem command from the dev branch (spawning items in the inventory of a character other than the controlled one works now). 2018-07-16 21:38:34 +03:00
Joonas Rikkonen
b61898b16f Fixed clients assigning a wrong name to submarines with dots in their name (e.g. Sub Mk.Iv), because the part after the dots was considered a file extension and stripped out in the submarine constructor. Closes #472 2018-07-16 21:09:01 +03:00
Joonas Rikkonen
5d342e24ef Clients are allowed to vote to end the round if they have spawned at some point during the round, even if the character they controlled doesn't exist anymore (huskified or eaten). Closes #483 2018-07-16 16:27:13 +03:00
Joonas Rikkonen
89b26008a6 Projectile damage range is set to the radius of the item's collider if the range is not given in the xml. Structure.AddDamage uses the edges of the sections to calculate the distance to a damage source, i.e. the damage area only has to "touch" the section to do damage. Closes #479 2018-07-16 15:44:26 +03:00
Joonas Rikkonen
01c3d20a0c Fire can only explode oxygen tanks that are >25% full (otherwise the condition of the tank just drops to 0). Prevents infinite explosions when an oxygen generator is on fire with oxygen tanks inside. Closes #470
+ Made oxygen generators fill oxygen tanks faster.
2018-07-16 14:59:01 +03:00
Joonas Rikkonen
a436eb27c1 Fixed explosion with an EMP value only damaging reactors (when they should only ignore reactors). Closes #473 2018-07-16 13:50:31 +03:00
Joonas Rikkonen
10ad78d607 Console command fixes. Closes #482
- Banip, banid & kickid can be used by clients.
- "Spawnitem x inventory" spawns the item in the inventory of the client using the command instead of the host's inventory.
- Ragdoll and kill commands target the character of the client using the command when the name parameter is omitted.
- Added SpawnItem changes from the dev branch (items can be spawned in the inventory of a specific/random character).
2018-07-16 13:43:29 +03:00
Joonas Rikkonen
ac5bad3011 Dedicated server can give clients the permission to use commands that only exist in the client project (los, lights, control, etc). Closes #476 2018-07-16 11:43:50 +03:00
Joonas Rikkonen
734b86bfba Fixed clients being unable to give non-permanent or range bans. Closes #481 2018-07-16 11:24:24 +03:00
Joonas Rikkonen
ceae0bf94e Fixed oddities in traitor ratio/assignment logic. The TraitorUseRatio setting is used to determine the number of traitors, the minimum number of traitors is 1 instead of 2, the host is taken into account when determining the number of traitors. Closes #477 2018-07-16 11:05:10 +03:00
Blue
aa50ffecd0 Oxygen generator changed a bit
+ Can break if on fire for too long, explodes, stuns, etc
+ Can take oxygenite tanks in, but won't refill
+ Fixes the bug where oxygen tanks would explode indefinitely
(Most stuff taken from BTE)
2018-07-13 16:18:54 +02:00
Joonas Rikkonen
015eacbcb0 Fixed GameAnalytics thread becoming active despite user statistics being disabled, causing the game to stay active in the background when quitting. 2018-07-13 11:29:11 +03:00
Joonas Rikkonen
4f874a276b Fixed crashes caused by characters with no AI config due to missing SteeringManagers. Closes #469 2018-07-13 11:01:42 +03:00
Joonas Rikkonen
ce88519c13 Pump components with a physics body updates it hull when active (-> possible to make portable pump items). Closes #463 2018-07-11 10:59:40 +03:00
Joonas Rikkonen
1c358fc4c0 Disabled GameAnalytics debug logging in release builds 2018-07-11 10:57:59 +03:00
Joonas Rikkonen
809fc74ddd Merge branch 'analytics' 2018-07-11 10:37:33 +03:00
Joonas Rikkonen
b01826e4f8 Fixed crashing if LightManager.UpdateObstructVision is called before ViewTarget has been set. Closes #466 2018-07-11 10:34:53 +03:00
Joonas Rikkonen
04b420fc79 Dedicated server sends user stats when quitting 2018-07-10 16:14:21 +03:00
Joonas Rikkonen
c7e220d222 Collecting some more usage statistics: selected game mode, mission, submarine, content package, traitors on/off, kills 2018-07-10 15:49:08 +03:00
Joonas Rikkonen
51f2455ada Added GameAnalytics framework which can be used to collect usage statistics. When starting the game for the first time, the player can select whether they want to send usage data or not. Atm only used to collect crash reports. 2018-07-10 13:40:54 +03:00
Joonas Rikkonen
846291ff54 Sprites for some of the new logic components in #392, added a description to the adder component. 2018-07-09 15:46:39 +03:00
Roni Kovaniemi
c1cbde4288 Adder Signal Component
Added a Adder signal component, which adds values inputted together and outputs a sum.
2018-07-09 14:42:07 +03:00
Joonas Rikkonen
847078f1ec Added a filename case check to sprite loading 2018-07-08 19:48:47 +03:00
Joonas Rikkonen
59cfec90b6 v0.8.1.4 2018-07-08 19:32:32 +03:00
Joonas Rikkonen
86c4cd17d2 Fixed clients getting assigned random jobs regardless of job preferences. 2018-07-08 19:32:23 +03:00
Joonas Rikkonen
27b02e6957 v0.8.1.3 2018-07-06 21:01:47 +03:00
Joonas Rikkonen
9b07171ba8 Fixed case-sensitivity issues, part six quadrillion and two 2018-07-06 20:21:31 +03:00
Joonas Rikkonen
740d201fc3 Fixed server-side crashes during job assignment if a client hasn't sent any job preferences 2018-07-06 19:42:33 +03:00
Joonas Rikkonen
f684f76862 Merge pull request #456 from chesse20/doggy
(sometimes) Better Trained assisstants
2018-07-01 15:46:55 +03:00
chesse20
91331ed3ab Better Trained assisstants
increases chances of assistants having skill levels past certain thresholds needed for tasks
2018-06-30 15:15:24 -07:00
Joonas Rikkonen
df149dd0fa Option to make delay component reset (discarding previously received signals) when a new signal is received, fixed delay countdown running even when the game is paused. Closes #435 2018-06-10 23:51:26 +03:00
Joonas Rikkonen
917b869b92 Fixed exceptions in RespawnManager if the selected respawn shuttle doesn't have a nav terminal or any other item with a Steering component. Closes #438 2018-06-10 21:31:34 +03:00
juanjp600
f59db98188 Fixed case-sensitivity issues, part six quadrillion and one 2018-06-06 15:00:02 -03:00
juanjp600
e9374812a5 Fixed case-sensitivity issues, part six quadrillion 2018-06-06 14:59:32 -03:00
Joonas Rikkonen
1a84b6cae7 Fixed items not being placed in the same hull and sub as the item they're inside if the ItemContainer is not the first of the parent's ItemContainer components (e.g. fabricator output inventory). Closes #430 2018-05-30 19:15:55 +03:00
Joonas Rikkonen
d1ec246f28 Fixed motion sensors sending out signals even if the output is set to nothing. Closes #426 2018-05-30 18:36:44 +03:00
Joonas Rikkonen
af83665f26 Merge pull request #431 from BlueTheKing/patch-1
Added full paths for all items + an extra comment for tools.xml
2018-05-30 11:16:32 +03:00